[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
kocienda
kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:44:36 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit dd31b62061103925177213c7b1ac62a219797142
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Sep 10 16:15:57 2001 +0000
Touched other files, annotating and formatting classes
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQCompletion.h b/WebCore/kwq/KWQCompletion.h
index cb289b0..cac7c1c 100644
--- a/WebCore/kwq/KWQCompletion.h
+++ b/WebCore/kwq/KWQCompletion.h
@@ -29,16 +29,72 @@
#include <qobject.h>
#include <qstringlist.h>
+// class QCompletion ===========================================================
+
class QCompletion : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
QCompletion();
+
+ ~QCompletion();
+
+ // member functions --------------------------------------------------------
+
void setItems(const QStringList &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QCompletion(const QCompletion &);
+ QCompletion &operator=(const QCompletion &);
+
+}; // class QCompletion ========================================================
+
+
+// class QCompletionBase =======================================================
class QCompletionBase {
public:
- QCompletionBase();
- QCompletion *completionObject(bool hsig = true);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QCompletionBase();
+
+ ~QCompletionBase();
+
+ // member functions --------------------------------------------------------
+
+ QCompletion *completionObject(bool hsig = true);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QCompletionBase(const QCompletionBase &);
+ QCompletionBase &operator=(const QCompletionBase &);
+
+}; // class QCompletionBase ====================================================
+
#endif
diff --git a/WebCore/kwq/KWQDCOPClient.h b/WebCore/kwq/KWQDCOPClient.h
index a98fd6d..e8a7d24 100644
--- a/WebCore/kwq/KWQDCOPClient.h
+++ b/WebCore/kwq/KWQDCOPClient.h
@@ -26,21 +26,52 @@
#ifndef DCOPCLIENT_H_
#define DCOPCLIENT_H_
+#include <qobject.h>
#include <qcstring.h>
-// KApplication needs this
-class DCOPClient {
+// class DCOPClient ============================================================
+
+class DCOPClient : public QObject {
public:
- bool call(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool call(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool send(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data, bool fast=false);
- bool send(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- bool fast=false);
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ DCOPClient();
+
+ virtual ~DCOPClient();
+
+ // member functions --------------------------------------------------------
+
+ bool call(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, QCString& replyType, QByteArray &replyData,
+ bool useEventLoop=false, bool fast=false);
+
+ bool call(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, QCString& replyType,
+ QByteArray &replyData, bool useEventLoop=false, bool fast=false);
+
+ bool send(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, bool fast=false);
+
+ bool send(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, bool fast=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+private:
+ // no copying or assignment
+ DCOPClient(const DCOPClient &);
+ DCOPClient &operator=(const DCOPClient &);
-};
+}; // class DCOPClient =========================================================
#endif
diff --git a/WebCore/kwq/KWQDataStream.h b/WebCore/kwq/KWQDataStream.h
index 4b16351..be0dded 100644
--- a/WebCore/kwq/KWQDataStream.h
+++ b/WebCore/kwq/KWQDataStream.h
@@ -38,16 +38,40 @@
#define IO_Translate 0x0010 // translate CR+LF
#define IO_ModeMask 0x00ff
+// class QDataStream ===========================================================
+
class QDataStream {
public:
- QDataStream( QByteArray, int mode );
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QDataStream(QByteArray, int);
virtual ~QDataStream();
+ // member functions --------------------------------------------------------
+
+ // operators ---------------------------------------------------------------
+
QDataStream &operator<<(long int);
QDataStream &operator<<(const char *);
QDataStream &operator<<(const QString &);
QDataStream &operator<<(const QCString &);
QDataStream &operator>>(const QString &);
-};
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QDataStream(const QDataStream &);
+ QDataStream &operator=(const QDataStream &);
+
+}; // class QDataStream ========================================================
#endif
diff --git a/WebCore/kwq/KWQIcon.h b/WebCore/kwq/KWQIcon.h
index c1453ca..42bfe25 100644
--- a/WebCore/kwq/KWQIcon.h
+++ b/WebCore/kwq/KWQIcon.h
@@ -26,10 +26,38 @@
#ifndef KWQICON_H_
#define KWQICON_H_
+// class KIcon =================================================================
+
class KIcon {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum States { DefaultState, ActiveState, DisabledState, LastState };
-};
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIcon();
+
+ ~KIcon();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIcon(const KIcon &);
+ KIcon &operator=(const KIcon &);
+
+}; // class KIcon ==============================================================
#endif
diff --git a/WebCore/kwq/KWQKCharsets.h b/WebCore/kwq/KWQKCharsets.h
index 1d3f791..4dc04f5 100644
--- a/WebCore/kwq/KWQKCharsets.h
+++ b/WebCore/kwq/KWQKCharsets.h
@@ -31,15 +31,43 @@
class QString;
class QTextCodec;
+// class KCharsets =============================================================
+
class KCharsets {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCharsets();
+
+ ~KCharsets();
+
+ // member functions --------------------------------------------------------
+
QTextCodec *codecForName(const QString &) const;
QTextCodec *codecForName(const QString &, bool &) const;
- void setQFont(QFont &, QFont::CharSet charset = QFont::Unicode) const;
+ void setQFont(QFont &, QFont::CharSet charset=QFont::Unicode) const;
void setQFont(QFont &, QString) const;
QString name(QFont::CharSet);
QString xCharsetName(QFont::CharSet) const;
bool supportsScript(const QFont &, QFont::CharSet);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCharsets(const KCharsets &);
+ KCharsets &operator=(const KCharsets &);
+
+}; // class KCharsets ==========================================================
#endif
diff --git a/WebCore/kwq/KWQKComboBox.h b/WebCore/kwq/KWQKComboBox.h
index 86ab211..c3d3816 100644
--- a/WebCore/kwq/KWQKComboBox.h
+++ b/WebCore/kwq/KWQKComboBox.h
@@ -30,10 +30,33 @@
#include <KWQCompletion.h>
+// class KComboBox =============================================================
+
class KComboBox : public QComboBox, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KComboBox(QWidget *parent=0, const char *name=0);
KComboBox(bool rw, QWidget *parent=0, const char *name=0);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KComboBox(const KComboBox &);
+ KComboBox &operator=(const KComboBox &);
+
+}; // class KComboBox ==========================================================
#endif
diff --git a/WebCore/kwq/KWQKCompletionBox.h b/WebCore/kwq/KWQKCompletionBox.h
index 9a99895..ac4bad4 100644
--- a/WebCore/kwq/KWQKCompletionBox.h
+++ b/WebCore/kwq/KWQKCompletionBox.h
@@ -28,7 +28,34 @@
#include "klistbox.h"
+// class KCompletionBox ========================================================
+
class KCompletionBox : public KListBox {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCompletionBox();
+
+ ~KCompletionBox();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCompletionBox(const KCompletionBox &);
+ KCompletionBox &operator=(const KCompletionBox &);
+
+}; // class KCompletionBox =====================================================
#endif
diff --git a/WebCore/kwq/KWQKConfigBase.h b/WebCore/kwq/KWQKConfigBase.h
index 23ca873..9a9dc94 100644
--- a/WebCore/kwq/KWQKConfigBase.h
+++ b/WebCore/kwq/KWQKConfigBase.h
@@ -37,19 +37,80 @@
#include <qcolor.h>
#include <KWQStrList.h>
+// class KConfigBase ===========================================================
+
class KConfigBase {
public:
- void setGroup(const QString& pGroup);
- QString readEntry(const char *pKey, const QString& aDefault = QString::null) const;
- int readNumEntry(const char *pKey, int nDefault = 0) const;
- unsigned int readUnsignedNumEntry(const char *pKey, unsigned int nDefault = 0) const;
- bool readBoolEntry(const char *pKey, bool nDefault = 0) const;
- QColor readColorEntry(const char *pKey, const QColor* pDefault = 0L) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KConfigBase();
+
+ ~KConfigBase();
+
+ // member functions --------------------------------------------------------
+
+ void setGroup(const QString &pGroup);
+
+ QString readEntry(const char *pKey,
+ const QString& aDefault=QString::null) const;
+
+ int readNumEntry(const char *pKey, int nDefault=0) const;
+
+ unsigned int readUnsignedNumEntry(const char *pKey,
+ unsigned int nDefault=0) const;
+
+ bool readBoolEntry(const char *pKey, bool nDefault=0) const;
+
+ QColor readColorEntry(const char *pKey, const QColor *pDefault=0L) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfigBase(const KConfigBase &);
+ KConfigBase &operator=(const KConfigBase &);
+
+}; // class KConfigBase ========================================================
+
+
+// class KConfig ===============================================================
class KConfig : public KConfigBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KConfig(const QString &, bool bReadOnly=false);
-};
-#endif
+ ~KConfig();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfig(const KConfig &);
+ KConfig &operator=(const KConfig &);
+
+}; // class KConfig ============================================================
+
+#endif
\ No newline at end of file
diff --git a/WebCore/kwq/KWQKCursor.h b/WebCore/kwq/KWQKCursor.h
index f93484a..c9ac35f 100644
--- a/WebCore/kwq/KWQKCursor.h
+++ b/WebCore/kwq/KWQKCursor.h
@@ -28,11 +28,37 @@
#include <qwidget.h>
+// class KCursor ===============================================================
+
class KCursor {
public:
- KCursor();
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
static void setAutoHideCursor(QWidget *w, bool enable);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCursor();
+
+ ~KCursor();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCursor(const KCursor &);
+ KCursor &operator=(const KCursor &);
+
+}; // class KCursor ============================================================
#endif
diff --git a/WebCore/kwq/KWQKDebug.h b/WebCore/kwq/KWQKDebug.h
index a230c3d..ddc597e 100644
--- a/WebCore/kwq/KWQKDebug.h
+++ b/WebCore/kwq/KWQKDebug.h
@@ -29,19 +29,47 @@
#include <qstring.h>
class kdbgstream;
+
typedef kdbgstream & (*KDBGFUNC)(kdbgstream &);
+// class kdbgstream ============================================================
+
class kdbgstream {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ kdbgstream(unsigned int area, unsigned int level, bool print=true);
+
+ ~kdbgstream();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
kdbgstream &operator<<(int);
kdbgstream &operator<<(const char *);
kdbgstream &operator<<(const void *);
- kdbgstream &operator<<(const QString&);
- kdbgstream &operator<<(const QCString&);
+ kdbgstream &operator<<(const QString &);
+ kdbgstream &operator<<(const QCString &);
kdbgstream &operator<<(KDBGFUNC);
-};
-inline kdbgstream &endl( kdbgstream &s) { s << "\n"; return s; }
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ kdbgstream(const kdbgstream &);
+ kdbgstream &operator=(const kdbgstream &);
+
+}; // class kdbgstream =========================================================
+
+inline kdbgstream &endl(kdbgstream &s) { s << "\n"; return s; }
kdbgstream kdDebug(int area = 0);
kdbgstream kdWarning(int area = 0);
diff --git a/WebCore/kwq/KWQKFileDialog.h b/WebCore/kwq/KWQKFileDialog.h
index 07b11e6..2bb00c1 100644
--- a/WebCore/kwq/KWQKFileDialog.h
+++ b/WebCore/kwq/KWQKFileDialog.h
@@ -29,10 +29,39 @@
#include <qstring.h>
#include <qwidget.h>
+// class KFileDialog ===========================================================
+
class KFileDialog {
public:
- static QString getOpenFileName(const QString& startDir= QString::null, const QString& filter= QString::null,
- QWidget *parent= 0, const QString& caption = QString::null);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QString getOpenFileName(const QString &startDir=QString::null,
+ const QString &filter=QString::null, QWidget *parent=0,
+ const QString &caption=QString::null);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileDialog();
+
+ ~KFileDialog();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileDialog(const KFileDialog &);
+ KFileDialog &operator=(const KFileDialog &);
+
+}; // class KFileDialog ========================================================
#endif
diff --git a/WebCore/kwq/KWQKFileItem.h b/WebCore/kwq/KWQKFileItem.h
index 20abe2b..e749c3e 100644
--- a/WebCore/kwq/KWQKFileItem.h
+++ b/WebCore/kwq/KWQKFileItem.h
@@ -28,11 +28,36 @@
#include <netaccess.h>
+// class KFileItem =============================================================
+
class KFileItem {
public:
- KFileItem(const KIO::UDSEntry &, const KURL &, bool foo = false, bool bar =
- false);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileItem(const KIO::UDSEntry &, const KURL &, bool foo=false,
+ bool bar=false);
+
+ // member functions --------------------------------------------------------
+
bool isDir() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileItem(const KFileItem &);
+ KFileItem &operator=(const KFileItem &);
+
+}; // class KFileItem ==========================================================
#endif
diff --git a/WebCore/kwq/KWQKGlobal.h b/WebCore/kwq/KWQKGlobal.h
index 3c3dfaa..0d25c19 100644
--- a/WebCore/kwq/KWQKGlobal.h
+++ b/WebCore/kwq/KWQKGlobal.h
@@ -37,8 +37,18 @@ class KConfig;
#define kMin(a, b) ((a) < (b) ? (a) : (b))
#define kMax(a, b) ((a) > (b) ? (a) : (b))
+// class KGlobal ===============================================================
+
class KGlobal {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static KInstance *instance();
static KCharsets *charsets();
static KLocale *locale();
@@ -46,6 +56,24 @@ public:
static KConfig *config();
static const QString &staticQString(const QString &);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobal();
+
+ ~KGlobal();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobal(const KGlobal &);
+ KGlobal &operator=(const KGlobal &);
+
+}; // class KGlobal ============================================================
#endif
diff --git a/WebCore/kwq/KWQKGlobalSettings.h b/WebCore/kwq/KWQKGlobalSettings.h
index 34b3626..0e27710 100644
--- a/WebCore/kwq/KWQKGlobalSettings.h
+++ b/WebCore/kwq/KWQKGlobalSettings.h
@@ -28,13 +28,41 @@
class QFont;
+// class KGlobalSettings =======================================================
+
class KGlobalSettings {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QFont generalFont();
static QFont windowTitleFont();
static QFont menuFont();
static int contrast();
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobalSettings();
+
+ ~KGlobalSettings();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobalSettings(const KGlobalSettings &);
+ KGlobalSettings &operator=(const KGlobalSettings &);
+
+}; // class KGlobalSettings ====================================================
#endif
diff --git a/WebCore/kwq/KWQKIONetAccess.h b/WebCore/kwq/KWQKIONetAccess.h
index b270e47..c663cad 100644
--- a/WebCore/kwq/KWQKIONetAccess.h
+++ b/WebCore/kwq/KWQKIONetAccess.h
@@ -31,19 +31,79 @@
namespace KIO {
-class UDSAtom {
-};
+class UDSAtom;
typedef QValueList<UDSAtom> UDSEntry;
+
+// class UDSAtom ===============================================================
+
+class UDSAtom {
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ UDSAtom();
+
+ ~UDSAtom();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ UDSAtom(const UDSAtom &);
+ UDSAtom &operator=(const UDSAtom &);
+
+}; // class UDSAtom ============================================================
+
+
+// class NetAccess =============================================================
+
class NetAccess {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static bool stat(const KURL &, KIO::UDSEntry &);
static QString lastErrorString();
static bool download(const KURL &, QString &);
static void removeTempFile(const QString &);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ NetAccess();
+
+ ~NetAccess();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ NetAccess(const NetAccess &);
+ NetAccess &operator=(const NetAccess &);
+
+}; // class NetAccess ==========================================================
+
+
+} // namespace KIO
#endif
diff --git a/WebCore/kwq/KWQKIconLoader.h b/WebCore/kwq/KWQKIconLoader.h
index 394fb37..a342a74 100644
--- a/WebCore/kwq/KWQKIconLoader.h
+++ b/WebCore/kwq/KWQKIconLoader.h
@@ -30,16 +30,75 @@
#include <qstring.h>
#include <kinstance.h>
+// class KIcon =================================================================
+
class KIcon {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum States { DefaultState, ActiveState, DisabledState, LastState };
-};
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIcon();
+
+ ~KIcon();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIcon(const KIcon &);
+ KIcon &operator=(const KIcon &);
+
+}; // class KIcon ==============================================================
+
+
+// class KIconLoader ===========================================================
class KIconLoader {
public:
- QPixmap loadIcon(const QString &name, int group, int size=0, int state=KIcon::DefaultState,
- QString *path_store=0L, bool canReturnNull=false) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIconLoader();
+
+ ~KIconLoader();
+
+ // member functions --------------------------------------------------------
+
+ QPixmap loadIcon(const QString &name, int group, int size=0,
+ int state=KIcon::DefaultState, QString *path_store=0L,
+ bool canReturnNull=false) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIconLoader(const KIconLoader &);
+ KIconLoader &operator=(const KIconLoader &);
+
+}; // class KIconLoader ========================================================
#endif
diff --git a/WebCore/kwq/KWQKImageIO.h b/WebCore/kwq/KWQKImageIO.h
index 6bcab4f..d428a01 100644
--- a/WebCore/kwq/KWQKImageIO.h
+++ b/WebCore/kwq/KWQKImageIO.h
@@ -28,11 +28,41 @@
#include <qstringlist.h>
+// class KImageIO ==============================================================
+
class KImageIO {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Mode { Reading, Writing };
- static QStringList mimeTypes(Mode _mode = Writing);
-};
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QStringList mimeTypes(Mode mode=Writing);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KImageIO();
+
+ ~KImageIO();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KImageIO(const KImageIO &);
+ KImageIO &operator=(const KImageIO &);
+
+}; // class KImageIO ===========================================================
#endif
diff --git a/WebCore/kwq/KWQKInstance.h b/WebCore/kwq/KWQKInstance.h
index 5e93d92..5c216a0 100644
--- a/WebCore/kwq/KWQKInstance.h
+++ b/WebCore/kwq/KWQKInstance.h
@@ -26,11 +26,40 @@
#ifndef KINSTANCE_H_
#define KINSTANCE_H_
+#include <qcstring.h>
+
class KIconLoader;
+// class KInstance =============================================================
+
class KInstance {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KInstance(const QCString &);
+
+ virtual ~KInstance();
+
+ // member functions --------------------------------------------------------
+
KIconLoader *iconLoader() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KInstance(const KInstance &);
+ KInstance &operator=(const KInstance &);
+
+}; // class KInstance ==========================================================
#endif
diff --git a/WebCore/kwq/KWQKJob.h b/WebCore/kwq/KWQKJob.h
index f15f47a..4c04a54 100644
--- a/WebCore/kwq/KWQKJob.h
+++ b/WebCore/kwq/KWQKJob.h
@@ -35,8 +35,10 @@
// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
-SimpleJob *http_update_cache(const KURL& url, bool no_cache, time_t expireDate);
-TransferJob *get(const KURL& url, bool reload=false, bool showProgressInfo = true);
+SimpleJob *http_update_cache(const KURL &, bool, time_t);
+
+TransferJob *get(const KURL &url, bool reload=false,
+ bool showProgressInfo=true);
} // namespace KIO
diff --git a/WebCore/kwq/KWQKJobClasses.h b/WebCore/kwq/KWQKJobClasses.h
index 4faf865..94dbf1c 100644
--- a/WebCore/kwq/KWQKJobClasses.h
+++ b/WebCore/kwq/KWQKJobClasses.h
@@ -31,22 +31,107 @@
namespace KIO {
+// class Job ===================================================================
+
class Job : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ Job();
+
+ virtual ~Job();
+
+ // member functions --------------------------------------------------------
+
int error();
const QString & errorText();
QString errorString();
virtual void kill(bool quietly = true);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Job(const Job &);
+ Job &operator=(const Job &);
+
+}; // class Job ================================================================
+
+
+// class SimpleJob =============================================================
class SimpleJob : public KIO::Job {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ SimpleJob();
+
+ virtual ~SimpleJob();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ SimpleJob(const SimpleJob &);
+ SimpleJob &operator=(const SimpleJob &);
+
+}; // class SimpleJob ==========================================================
+
+
+// class TransferJob ===========================================================
class TransferJob : public SimpleJob {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ TransferJob();
+
+ virtual ~TransferJob();
+
+ // member functions --------------------------------------------------------
+
bool isErrorPage() const;
void addMetaData(const QString &key, const QString &value);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ TransferJob(const TransferJob &);
+ TransferJob &operator=(const TransferJob &);
+
+}; // class TransferJob ========================================================
+
} // namespace KIO
diff --git a/WebCore/kwq/KWQKKAction.h b/WebCore/kwq/KWQKKAction.h
index 65636f3..aac8106 100644
--- a/WebCore/kwq/KWQKKAction.h
+++ b/WebCore/kwq/KWQKKAction.h
@@ -28,7 +28,34 @@
#include <qpopupmenu.h>
+// class KAction ===============================================================
+
class KAction {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KAction();
+
+ ~KAction();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KAction(const KAction &);
+ KAction &operator=(const KAction &);
+
+}; // class KAction ============================================================
#endif
diff --git a/WebCore/kwq/KWQKLineEdit.h b/WebCore/kwq/KWQKLineEdit.h
index 0771da2..d48868e 100644
--- a/WebCore/kwq/KWQKLineEdit.h
+++ b/WebCore/kwq/KWQKLineEdit.h
@@ -32,13 +32,39 @@
#include "kcompletionbox.h"
+// class __class_name__ ========================================================
+
class KLineEdit : public QLineEdit, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KLineEdit(QWidget *parent=0, const char *name=0);
+
+ ~KLineEdit();
+
+ // member functions --------------------------------------------------------
void setMouseTracking(bool);
virtual void setContextMenuEnabled(bool showMenu);
KCompletionBox *completionBox(bool create);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLineEdit(const KLineEdit &);
+ KLineEdit &operator=(const KLineEdit &);
+
+}; // class __class_name__ =====================================================
#endif
diff --git a/WebCore/kwq/KWQKListBox.h b/WebCore/kwq/KWQKListBox.h
index f90c719..fe29dc8 100644
--- a/WebCore/kwq/KWQKListBox.h
+++ b/WebCore/kwq/KWQKListBox.h
@@ -29,10 +29,33 @@
#include <KWQListBox.h>
#include <qwidget.h>
+// class KListBox ==============================================================
+
class KListBox : public QListBox {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KListBox();
KListBox(QWidget *);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KListBox(const KListBox &);
+ KListBox &operator=(const KListBox &);
+
+}; // class KListBox ===========================================================
#endif
diff --git a/WebCore/kwq/KWQKLocale.h b/WebCore/kwq/KWQKLocale.h
index dc62e2d..7c39380 100644
--- a/WebCore/kwq/KWQKLocale.h
+++ b/WebCore/kwq/KWQKLocale.h
@@ -30,9 +30,37 @@ class QString;
QString i18n(const char* text);
+// class KLocale ===============================================================
+
class KLocale {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KLocale();
+
+ ~KLocale();
+
+ // member functions --------------------------------------------------------
+
QString language() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLocale(const KLocale &);
+ KLocale &operator=(const KLocale &);
+
+}; // class KLocale ============================================================
#endif
diff --git a/WebCore/kwq/KWQKMimeType.h b/WebCore/kwq/KWQKMimeType.h
index 406444c..0b3f004 100644
--- a/WebCore/kwq/KWQKMimeType.h
+++ b/WebCore/kwq/KWQKMimeType.h
@@ -26,24 +26,83 @@
#ifndef KMIMETYPE_H_
#define KMIMETYPE_H_
-// FIXME: grotesque hack to get khtml/html/html_formimpl.cpp:198 to compile
#include <kdecore/kglobal.h>
#include <kdecore/kurl.h>
#include <sys/types.h>
#include <qstring.h>
-template<class T> class KSharedPtr
-{
+// class KSharedPtr ============================================================
+
+template<class T> class KSharedPtr {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KSharedPtr();
+
+ KSharedPtr(const KSharedPtr &);
+
+ virtual ~KSharedPtr();
+
+ // member functions --------------------------------------------------------
+
+ // operators ---------------------------------------------------------------
+
+ KSharedPtr &operator=(const KSharedPtr &);
T *operator->();
-};
+
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KSharedPtr =========================================================
+
+
+// class KMimeType =============================================================
class KMimeType {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
typedef KSharedPtr<KMimeType> Ptr;
- static Ptr findByURL(const KURL &, mode_t = 0, bool = false, bool = false);
+
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ static Ptr findByURL(const KURL &, mode_t=0, bool=false, bool=false);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KMimeType();
+
+ ~KMimeType();
+
+ // member functions --------------------------------------------------------
+
QString name() const;
-};
-#endif
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KMimeType(const KMimeType &);
+ KMimeType &operator=(const KMimeType &);
+
+}; // class KMimeType ==========================================================
+
+
+#endif
\ No newline at end of file
diff --git a/WebCore/kwq/KWQKPartsBrowserExtension.h b/WebCore/kwq/KWQKPartsBrowserExtension.h
index 97d9862..b90bff5 100644
--- a/WebCore/kwq/KWQKPartsBrowserExtension.h
+++ b/WebCore/kwq/KWQKPartsBrowserExtension.h
@@ -35,13 +35,39 @@
#include "part.h"
#include "browserinterface.h"
-// This is a bad hack to get some rendering code to work
+// class KXMLGUIClient =========================================================
+
class KXMLGUIClient {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KXMLGUIClient();
+
+ ~KXMLGUIClient();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KXMLGUIClient(const KXMLGUIClient &);
+ KXMLGUIClient &operator=(const KXMLGUIClient &);
+
+}; // class KXMLGUIClient ======================================================
+
namespace KParts {
-// Added for compilation of khtml/khtml_part.h:695
struct URLArgs {
QString frameName;
QString serviceType;
@@ -59,19 +85,79 @@ struct WindowArgs {
bool fullscreen;
};
+// class BrowserExtension ======================================================
+
class BrowserExtension {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserExtension();
+
+ ~BrowserExtension();
+
+ // member functions --------------------------------------------------------
+
BrowserInterface *browserInterface() const;
- void openURLRequest(const KURL &, const KParts::URLArgs &args =
- KParts::URLArgs());
+
+ void openURLRequest(const KURL &,
+ const KParts::URLArgs &args=KParts::URLArgs());
+
void createNewWindow(const KURL &);
- void createNewWindow(const KURL &, const KParts::URLArgs &, const
- KParts::WindowArgs &, KParts::ReadOnlyPart *&);
-};
+
+ void createNewWindow(const KURL &, const KParts::URLArgs &,
+ const KParts::WindowArgs &, KParts::ReadOnlyPart *&);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserExtension(const BrowserExtension &);
+ BrowserExtension &operator=(const BrowserExtension &);
+
+}; // class BrowserExtension ===================================================
+
+
+// class BrowserHostExtension ==================================================
class BrowserHostExtension {
-};
+public:
-}; // namespace KParts
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserHostExtension();
+ ~BrowserHostExtension();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserHostExtension(const BrowserHostExtension &);
+ BrowserHostExtension &operator=(const BrowserHostExtension &);
+
+}; // class BrowserHostExtension ===============================================
+
+} // namespace KParts
#endif
+
+
diff --git a/WebCore/kwq/KWQKPartsBrowserInterface.h b/WebCore/kwq/KWQKPartsBrowserInterface.h
index 07bf114..8e38a5d 100644
--- a/WebCore/kwq/KWQKPartsBrowserInterface.h
+++ b/WebCore/kwq/KWQKPartsBrowserInterface.h
@@ -33,9 +33,36 @@ namespace KParts {
class BrowserInterface : public QObject {
public:
+
+// class BrowserInterface ======================================================
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
BrowserInterface(QObject *parent, const char *name = 0);
+
+ ~BrowserInterface();
+
+ // member functions --------------------------------------------------------
+
void callMethod(const char *name, const QVariant &argument);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserInterface(const BrowserInterface &);
+ BrowserInterface &operator=(const BrowserInterface &);
+
+}; // class BrowserInterface ===================================================
} // namespace KParts
diff --git a/WebCore/kwq/KWQKPartsEvent.h b/WebCore/kwq/KWQKPartsEvent.h
index ca91b05..2ce1eeb 100644
--- a/WebCore/kwq/KWQKPartsEvent.h
+++ b/WebCore/kwq/KWQKPartsEvent.h
@@ -28,19 +28,43 @@
#include <qevent.h>
-// FIXME: pre-declare here for parse error workaround at line 129 of
-// khtml/khtml_events.h
class QPainter;
namespace KParts {
+// class Event =================================================================
+
class Event {
public:
- Event(const char *);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
static bool test(const QEvent *);
static bool test(const QEvent *, const char *);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ Event(const char *);
+
+ virtual ~Event();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Event(const Event &);
+ Event &operator=(const Event &);
+
+}; // class Event ==============================================================
+
+} // namespace KParts
#endif
diff --git a/WebCore/kwq/KWQKPartsFactory.h b/WebCore/kwq/KWQKPartsFactory.h
index ae230f4..c019da5 100644
--- a/WebCore/kwq/KWQKPartsFactory.h
+++ b/WebCore/kwq/KWQKPartsFactory.h
@@ -28,10 +28,39 @@
#include "part.h"
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+
+// class Factory ===============================================================
+
class Factory {
-};
-}
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Factory();
+
+ ~Factory();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Factory(const Factory &);
+ Factory &operator=(const Factory &);
+
+}; // class Factory ============================================================
+
+} // namespace KParts
#endif
+
diff --git a/WebCore/kwq/KWQKPartsHistoryProvider.h b/WebCore/kwq/KWQKPartsHistoryProvider.h
index 755ef56..edbcdb7 100644
--- a/WebCore/kwq/KWQKPartsHistoryProvider.h
+++ b/WebCore/kwq/KWQKPartsHistoryProvider.h
@@ -26,19 +26,50 @@
#ifndef HISTORYPROVIDER_H_
#define HISTORYPROVIDER_H_
-// FIXME: do we still need "part.h"?
-//#include "part.h"
#include <qobject.h>
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+// class HistoryProvider =======================================================
+
class HistoryProvider : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static HistoryProvider *self();
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ HistoryProvider();
+
+ ~HistoryProvider();
+
+ // member functions --------------------------------------------------------
+
bool contains(const QString &) const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ HistoryProvider(const HistoryProvider &);
+ HistoryProvider &operator=(const HistoryProvider &);
+
+}; // class HistoryProvider ====================================================
+
} // namespace KParts
#endif
+
+
+
diff --git a/WebCore/kwq/KWQKPartsPart.h b/WebCore/kwq/KWQKPartsPart.h
index b4cc3f5..52334b6 100644
--- a/WebCore/kwq/KWQKPartsPart.h
+++ b/WebCore/kwq/KWQKPartsPart.h
@@ -33,39 +33,116 @@
#include <qstringlist.h>
#include <qvaluelist.h>
-// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
class Job;
} // namespace KIO
-// forward declaration hack to help in compilation of khtml/khtml_part.h:166
class QWidget;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:552
class QCursor;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:631
class QDataStream;
-
-// forward declaration hack to help in compilation of khtml/ecma/kjs_binding.cpp:28
class QPainter;
namespace KParts {
+// class Part ==================================================================
+
class Part : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Part();
+
+ ~Part();
+
+ // member functions --------------------------------------------------------
+
QWidget *widget();
void setWindowCaption(const QString &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Part(const Part &);
+ Part &operator=(const Part &);
+
+}; // class Part ===============================================================
+
+
+// class ReadOnlyPart ==========================================================
class ReadOnlyPart : public Part {
public:
- virtual const KURL & url() const;
-};
-// hack to help in compilation of khtml/khtml_part.h:785
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ ReadOnlyPart();
+
+ ~ReadOnlyPart();
+
+ // member functions --------------------------------------------------------
+
+ virtual const KURL &url() const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ ReadOnlyPart(const ReadOnlyPart &);
+ ReadOnlyPart &operator=(const ReadOnlyPart &);
+
+}; // class ReadOnlyPart =======================================================
+
+
+// class GUIActivateEvent ======================================================
+
class GUIActivateEvent {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ GUIActivateEvent();
+
+ ~GUIActivateEvent();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ GUIActivateEvent(const GUIActivateEvent &);
+ GUIActivateEvent &operator=(const GUIActivateEvent &);
+
+}; // class GUIActivateEvent ===================================================
+
} // namespace KParts
diff --git a/WebCore/kwq/KWQKStandardDirs.h b/WebCore/kwq/KWQKStandardDirs.h
index 675cf9c..f11c8af 100644
--- a/WebCore/kwq/KWQKStandardDirs.h
+++ b/WebCore/kwq/KWQKStandardDirs.h
@@ -29,11 +29,41 @@
#include <qstring.h>
#include "kglobal.h"
+
+QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+
+
+// class KStandardDirs =========================================================
+
class KStandardDirs {
public:
- QString saveLocation(const char *, const QString &suffix = QString::null, bool create = true) const;
-};
-QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStandardDirs();
+
+ ~KStandardDirs();
+
+ // member functions --------------------------------------------------------
+
+ QString saveLocation(const char *, const QString &suffix = QString::null,
+ bool create = true) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStandardDirs(const KStandardDirs &);
+ KStandardDirs &operator=(const KStandardDirs &);
+
+}; // class KStandardDirs ======================================================
#endif
diff --git a/WebCore/kwq/KWQKStaticDeleter.h b/WebCore/kwq/KWQKStaticDeleter.h
index f8b45a3..8d715de 100644
--- a/WebCore/kwq/KWQKStaticDeleter.h
+++ b/WebCore/kwq/KWQKStaticDeleter.h
@@ -26,9 +26,37 @@
#ifndef KSTATICDELETER_H_
#define KSTATICDELETER_H_
+// class KStaticDeleter ========================================================
+
template <class T> class KStaticDeleter {
public:
- T *setObject(T *obj, bool isArray = false);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStaticDeleter();
+
+ ~KStaticDeleter();
+
+ // member functions --------------------------------------------------------
+
+ T *setObject(T *, bool isArray=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStaticDeleter(const KStaticDeleter &);
+ KStaticDeleter &operator=(const KStaticDeleter &);
+
+}; // class KStaticDeleter =====================================================
#endif
diff --git a/WebCore/kwq/KWQKStringHandler.h b/WebCore/kwq/KWQKStringHandler.h
index 6150191..1ce6ffa 100644
--- a/WebCore/kwq/KWQKStringHandler.h
+++ b/WebCore/kwq/KWQKStringHandler.h
@@ -28,9 +28,37 @@
#include <qstring.h>
+// class KStringHandler ========================================================
+
class KStringHandler {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QString csqueeze(const QString &, uint maxlen = 40);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStringHandler();
+
+ ~KStringHandler();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStringHandler(const KStringHandler &);
+ KStringHandler &operator=(const KStringHandler &);
+
+}; // class KStringHandler =====================================================
#endif
diff --git a/WebCore/kwq/KWQKURL.h b/WebCore/kwq/KWQKURL.h
index 3f19b48..34950dc 100644
--- a/WebCore/kwq/KWQKURL.h
+++ b/WebCore/kwq/KWQKURL.h
@@ -28,31 +28,59 @@
class QString;
+// class KURL ==================================================================
+
class KURL {
public:
- KURL();
- KURL(const char *url, int encoding_hint = 0);
- KURL(const KURL& url, const QString &);
- KURL(const QString& url, int encoding_hint = 0);
- bool hasPath() const;
- unsigned short int port() const;
- QString path() const;
- QString query() const;
- QString ref() const;
- QString user() const;
- QString pass() const;
- QString url() const;
- QString host() const;
- QString protocol() const;
- void setQuery(const QString& _txt, int encoding_hint = 0);
- void setProtocol(const QString&);
- void setHost(const QString&);
- void setRef(const QString& _txt);
- void setPath(const QString& path);
- void setPort(unsigned short int);
- bool isEmpty() const;
- bool isMalformed() const;
- QString prettyURL(int _trailing = 0) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KURL();
+ KURL(const char *url, int encoding_hint=0);
+ KURL(const KURL &, const QString &);
+ KURL(const QString &, int encoding_hint=0);
+ KURL(const KURL &);
+
+ ~KURL();
+
+ // member functions --------------------------------------------------------
+
+ bool isEmpty() const;
+ bool isMalformed() const;
+ bool hasPath() const;
+
+ QString url() const;
+ QString protocol() const;
+ QString host() const;
+ unsigned short int port() const;
+ QString pass() const;
+ QString user() const;
+ QString ref() const;
+ QString query() const;
+ QString path() const;
+
+ void setProtocol(const QString &);
+ void setHost(const QString &);
+ void setPort(unsigned short int);
+ void setRef(const QString &);
+ void setQuery(const QString &, int encoding_hint=0);
+ void setPath(const QString &);
+
+ QString prettyURL(int trailing=0) const;
+
+ // operators ---------------------------------------------------------------
+
+ KURL &operator=(const KURL &);
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KURL ===============================================================
#endif
diff --git a/WebCore/kwq/KWQKWin.h b/WebCore/kwq/KWQKWin.h
index 6d64693..02eb9ef 100644
--- a/WebCore/kwq/KWQKWin.h
+++ b/WebCore/kwq/KWQKWin.h
@@ -30,14 +30,39 @@
#include <qrect.h>
#include <qstring.h>
+// class KWin ==================================================================
+
class KWin {
public:
+
+ // structs -----------------------------------------------------------------
+
struct Info {
QRect geometry;
QString name;
QString visibleName;
};
+
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static Info info(int win);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWin(const KWin &);
+ KWin &operator=(const KWin &);
+
+}; // class KWin ===============================================================
#endif
diff --git a/WebCore/kwq/KWQKWinModule.h b/WebCore/kwq/KWQKWinModule.h
index ae95f51..16e6368 100644
--- a/WebCore/kwq/KWQKWinModule.h
+++ b/WebCore/kwq/KWQKWinModule.h
@@ -30,12 +30,36 @@
class QRect;
+// class KWinModule ============================================================
+
class KWinModule : public QObject {
public:
- KWinModule(QObject* parent = 0);
- QRect workArea(int desktop = - 1) const;
- void doNotManage(const QString&);
-};
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KWinModule(QObject* parent=0);
+
+ // member functions --------------------------------------------------------
+
+ QRect workArea(int desktop=-1) const;
+ void doNotManage(const QString &);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWinModule(const KWinModule &);
+ KWinModule &operator=(const KWinModule &);
+
+}; // class KWinModule =========================================================
#endif
diff --git a/WebCore/kwq/KWQListBox.h b/WebCore/kwq/KWQListBox.h
index b914571..b30eb6a 100644
--- a/WebCore/kwq/KWQListBox.h
+++ b/WebCore/kwq/KWQListBox.h
@@ -32,10 +32,29 @@
class QListBoxItem;
class QListBoxText;
+// class QListBox ==============================================================
+
class QListBox : public QScrollView {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum SelectionMode { Single, Multi, Extended, NoSelection };
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBox();
+
+ ~QListBox();
+
+ // member functions --------------------------------------------------------
+
uint count() const;
void clear();
virtual void setSelectionMode(SelectionMode);
@@ -45,21 +64,87 @@ public:
void insertItem(const QListBoxItem *, int index=-1);
void setSelected(int, bool);
bool isSelected(int);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBox(const QListBox &);
+ QListBox &operator=(const QListBox &);
+
+}; // class QListBox ===========================================================
+
+
+// class QListBoxItem ==========================================================
class QListBoxItem {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBoxItem();
+
+ ~QListBoxItem();
+
+ // member functions --------------------------------------------------------
+
void setSelectable(bool);
QListBox *listBox() const;
virtual int width(const QListBox *) const;
virtual int height(const QListBox *) const;
QListBoxItem *next() const;
QListBoxItem *prev() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBoxItem(const QListBoxItem &);
+ QListBoxItem &operator=(const QListBoxItem &);
+
+}; // class QListBoxItem =======================================================
+
+
+// class QListBoxText ==========================================================
class QListBoxText : public QListBoxItem {
public:
- QListBoxText(const QString & text=QString::null);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBoxText(const QString & text=QString::null);
+
+ ~QListBoxText();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBoxText(const QListBoxText &);
+ QListBoxText &operator=(const QListBoxText &);
+
+}; // class QListBoxText =======================================================
#endif
diff --git a/WebCore/kwq/KWQScrollBar.h b/WebCore/kwq/KWQScrollBar.h
index 1f79c8c..e3c8c92 100644
--- a/WebCore/kwq/KWQScrollBar.h
+++ b/WebCore/kwq/KWQScrollBar.h
@@ -29,9 +29,37 @@
#include <qwidget.h>
#include <qpalette.h>
+// class QScrollBar ============================================================
+
class QScrollBar : public QWidget {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QScrollBar();
+
+ ~QScrollBar();
+
+ // member functions --------------------------------------------------------
+
virtual void setPalette(const QPalette &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QScrollBar(const QScrollBar &);
+ QScrollBar &operator=(const QScrollBar &);
+
+}; // class QScrollBar =========================================================
#endif
diff --git a/WebCore/kwq/KWQStrList.h b/WebCore/kwq/KWQStrList.h
index f785f40..436f45d 100644
--- a/WebCore/kwq/KWQStrList.h
+++ b/WebCore/kwq/KWQStrList.h
@@ -29,8 +29,34 @@
#include <qstring.h>
#include <qlist.h>
+// class QStrList ==============================================================
+
class QStrList : public QList<char> {
public:
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QStrList();
+
+ ~QStrList();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QStrList(const QStrList &);
+ QStrList &operator=(const QStrList &);
+
+}; // class QStrList ===========================================================
#endif
diff --git a/WebCore/kwq/dcop/dcopclient.h b/WebCore/kwq/dcop/dcopclient.h
index a98fd6d..e8a7d24 100644
--- a/WebCore/kwq/dcop/dcopclient.h
+++ b/WebCore/kwq/dcop/dcopclient.h
@@ -26,21 +26,52 @@
#ifndef DCOPCLIENT_H_
#define DCOPCLIENT_H_
+#include <qobject.h>
#include <qcstring.h>
-// KApplication needs this
-class DCOPClient {
+// class DCOPClient ============================================================
+
+class DCOPClient : public QObject {
public:
- bool call(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool call(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool send(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data, bool fast=false);
- bool send(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- bool fast=false);
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ DCOPClient();
+
+ virtual ~DCOPClient();
+
+ // member functions --------------------------------------------------------
+
+ bool call(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, QCString& replyType, QByteArray &replyData,
+ bool useEventLoop=false, bool fast=false);
+
+ bool call(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, QCString& replyType,
+ QByteArray &replyData, bool useEventLoop=false, bool fast=false);
+
+ bool send(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, bool fast=false);
+
+ bool send(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, bool fast=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+private:
+ // no copying or assignment
+ DCOPClient(const DCOPClient &);
+ DCOPClient &operator=(const DCOPClient &);
-};
+}; // class DCOPClient =========================================================
#endif
diff --git a/WebCore/kwq/kdecore/kapp.h b/WebCore/kwq/kdecore/kapp.h
index 5620894..9386278 100644
--- a/WebCore/kwq/kdecore/kapp.h
+++ b/WebCore/kwq/kdecore/kapp.h
@@ -35,13 +35,44 @@
#define kapp KApplication::kApplication()
+// class KApplication ==========================================================
+
class KApplication : public QApplication {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static KApplication* kApplication() { return KApp; }
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KApplication();
+
+ ~KApplication();
+
+ // member functions --------------------------------------------------------
+
virtual DCOPClient *dcopClient();
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+
protected:
static KApplication *KApp;
-};
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KApplication(const KApplication &);
+ KApplication &operator=(const KApplication &);
+
+}; // class KApplication =======================================================
#endif
diff --git a/WebCore/kwq/kdecore/kcharsets.h b/WebCore/kwq/kdecore/kcharsets.h
index 1d3f791..4dc04f5 100644
--- a/WebCore/kwq/kdecore/kcharsets.h
+++ b/WebCore/kwq/kdecore/kcharsets.h
@@ -31,15 +31,43 @@
class QString;
class QTextCodec;
+// class KCharsets =============================================================
+
class KCharsets {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCharsets();
+
+ ~KCharsets();
+
+ // member functions --------------------------------------------------------
+
QTextCodec *codecForName(const QString &) const;
QTextCodec *codecForName(const QString &, bool &) const;
- void setQFont(QFont &, QFont::CharSet charset = QFont::Unicode) const;
+ void setQFont(QFont &, QFont::CharSet charset=QFont::Unicode) const;
void setQFont(QFont &, QString) const;
QString name(QFont::CharSet);
QString xCharsetName(QFont::CharSet) const;
bool supportsScript(const QFont &, QFont::CharSet);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCharsets(const KCharsets &);
+ KCharsets &operator=(const KCharsets &);
+
+}; // class KCharsets ==========================================================
#endif
diff --git a/WebCore/kwq/kdecore/kconfig.h b/WebCore/kwq/kdecore/kconfig.h
index 23ca873..9a9dc94 100644
--- a/WebCore/kwq/kdecore/kconfig.h
+++ b/WebCore/kwq/kdecore/kconfig.h
@@ -37,19 +37,80 @@
#include <qcolor.h>
#include <KWQStrList.h>
+// class KConfigBase ===========================================================
+
class KConfigBase {
public:
- void setGroup(const QString& pGroup);
- QString readEntry(const char *pKey, const QString& aDefault = QString::null) const;
- int readNumEntry(const char *pKey, int nDefault = 0) const;
- unsigned int readUnsignedNumEntry(const char *pKey, unsigned int nDefault = 0) const;
- bool readBoolEntry(const char *pKey, bool nDefault = 0) const;
- QColor readColorEntry(const char *pKey, const QColor* pDefault = 0L) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KConfigBase();
+
+ ~KConfigBase();
+
+ // member functions --------------------------------------------------------
+
+ void setGroup(const QString &pGroup);
+
+ QString readEntry(const char *pKey,
+ const QString& aDefault=QString::null) const;
+
+ int readNumEntry(const char *pKey, int nDefault=0) const;
+
+ unsigned int readUnsignedNumEntry(const char *pKey,
+ unsigned int nDefault=0) const;
+
+ bool readBoolEntry(const char *pKey, bool nDefault=0) const;
+
+ QColor readColorEntry(const char *pKey, const QColor *pDefault=0L) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfigBase(const KConfigBase &);
+ KConfigBase &operator=(const KConfigBase &);
+
+}; // class KConfigBase ========================================================
+
+
+// class KConfig ===============================================================
class KConfig : public KConfigBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KConfig(const QString &, bool bReadOnly=false);
-};
-#endif
+ ~KConfig();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfig(const KConfig &);
+ KConfig &operator=(const KConfig &);
+
+}; // class KConfig ============================================================
+
+#endif
\ No newline at end of file
diff --git a/WebCore/kwq/kdecore/kdebug.h b/WebCore/kwq/kdecore/kdebug.h
index a230c3d..ddc597e 100644
--- a/WebCore/kwq/kdecore/kdebug.h
+++ b/WebCore/kwq/kdecore/kdebug.h
@@ -29,19 +29,47 @@
#include <qstring.h>
class kdbgstream;
+
typedef kdbgstream & (*KDBGFUNC)(kdbgstream &);
+// class kdbgstream ============================================================
+
class kdbgstream {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ kdbgstream(unsigned int area, unsigned int level, bool print=true);
+
+ ~kdbgstream();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
kdbgstream &operator<<(int);
kdbgstream &operator<<(const char *);
kdbgstream &operator<<(const void *);
- kdbgstream &operator<<(const QString&);
- kdbgstream &operator<<(const QCString&);
+ kdbgstream &operator<<(const QString &);
+ kdbgstream &operator<<(const QCString &);
kdbgstream &operator<<(KDBGFUNC);
-};
-inline kdbgstream &endl( kdbgstream &s) { s << "\n"; return s; }
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ kdbgstream(const kdbgstream &);
+ kdbgstream &operator=(const kdbgstream &);
+
+}; // class kdbgstream =========================================================
+
+inline kdbgstream &endl(kdbgstream &s) { s << "\n"; return s; }
kdbgstream kdDebug(int area = 0);
kdbgstream kdWarning(int area = 0);
diff --git a/WebCore/kwq/kdecore/kglobal.h b/WebCore/kwq/kdecore/kglobal.h
index 3c3dfaa..0d25c19 100644
--- a/WebCore/kwq/kdecore/kglobal.h
+++ b/WebCore/kwq/kdecore/kglobal.h
@@ -37,8 +37,18 @@ class KConfig;
#define kMin(a, b) ((a) < (b) ? (a) : (b))
#define kMax(a, b) ((a) > (b) ? (a) : (b))
+// class KGlobal ===============================================================
+
class KGlobal {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static KInstance *instance();
static KCharsets *charsets();
static KLocale *locale();
@@ -46,6 +56,24 @@ public:
static KConfig *config();
static const QString &staticQString(const QString &);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobal();
+
+ ~KGlobal();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobal(const KGlobal &);
+ KGlobal &operator=(const KGlobal &);
+
+}; // class KGlobal ============================================================
#endif
diff --git a/WebCore/kwq/kdecore/kglobalsettings.h b/WebCore/kwq/kdecore/kglobalsettings.h
index 34b3626..0e27710 100644
--- a/WebCore/kwq/kdecore/kglobalsettings.h
+++ b/WebCore/kwq/kdecore/kglobalsettings.h
@@ -28,13 +28,41 @@
class QFont;
+// class KGlobalSettings =======================================================
+
class KGlobalSettings {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QFont generalFont();
static QFont windowTitleFont();
static QFont menuFont();
static int contrast();
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobalSettings();
+
+ ~KGlobalSettings();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobalSettings(const KGlobalSettings &);
+ KGlobalSettings &operator=(const KGlobalSettings &);
+
+}; // class KGlobalSettings ====================================================
#endif
diff --git a/WebCore/kwq/kdecore/kiconloader.h b/WebCore/kwq/kdecore/kiconloader.h
index 394fb37..a342a74 100644
--- a/WebCore/kwq/kdecore/kiconloader.h
+++ b/WebCore/kwq/kdecore/kiconloader.h
@@ -30,16 +30,75 @@
#include <qstring.h>
#include <kinstance.h>
+// class KIcon =================================================================
+
class KIcon {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum States { DefaultState, ActiveState, DisabledState, LastState };
-};
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIcon();
+
+ ~KIcon();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIcon(const KIcon &);
+ KIcon &operator=(const KIcon &);
+
+}; // class KIcon ==============================================================
+
+
+// class KIconLoader ===========================================================
class KIconLoader {
public:
- QPixmap loadIcon(const QString &name, int group, int size=0, int state=KIcon::DefaultState,
- QString *path_store=0L, bool canReturnNull=false) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIconLoader();
+
+ ~KIconLoader();
+
+ // member functions --------------------------------------------------------
+
+ QPixmap loadIcon(const QString &name, int group, int size=0,
+ int state=KIcon::DefaultState, QString *path_store=0L,
+ bool canReturnNull=false) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIconLoader(const KIconLoader &);
+ KIconLoader &operator=(const KIconLoader &);
+
+}; // class KIconLoader ========================================================
#endif
diff --git a/WebCore/kwq/kdecore/kinstance.h b/WebCore/kwq/kdecore/kinstance.h
index 5e93d92..5c216a0 100644
--- a/WebCore/kwq/kdecore/kinstance.h
+++ b/WebCore/kwq/kdecore/kinstance.h
@@ -26,11 +26,40 @@
#ifndef KINSTANCE_H_
#define KINSTANCE_H_
+#include <qcstring.h>
+
class KIconLoader;
+// class KInstance =============================================================
+
class KInstance {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KInstance(const QCString &);
+
+ virtual ~KInstance();
+
+ // member functions --------------------------------------------------------
+
KIconLoader *iconLoader() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KInstance(const KInstance &);
+ KInstance &operator=(const KInstance &);
+
+}; // class KInstance ==========================================================
#endif
diff --git a/WebCore/kwq/kdecore/klocale.h b/WebCore/kwq/kdecore/klocale.h
index dc62e2d..7c39380 100644
--- a/WebCore/kwq/kdecore/klocale.h
+++ b/WebCore/kwq/kdecore/klocale.h
@@ -30,9 +30,37 @@ class QString;
QString i18n(const char* text);
+// class KLocale ===============================================================
+
class KLocale {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KLocale();
+
+ ~KLocale();
+
+ // member functions --------------------------------------------------------
+
QString language() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLocale(const KLocale &);
+ KLocale &operator=(const KLocale &);
+
+}; // class KLocale ============================================================
#endif
diff --git a/WebCore/kwq/kdecore/kprocess.h b/WebCore/kwq/kdecore/kprocess.h
index 2b095cd..c8a48d3 100644
--- a/WebCore/kwq/kdecore/kprocess.h
+++ b/WebCore/kwq/kdecore/kprocess.h
@@ -32,19 +32,50 @@
#include <qstring.h>
#include <KWQStrList.h>
+// class KProcess ==============================================================
+
class KProcess : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
enum Communication { NoCommunication = 0, Stdin = 1, Stdout = 2, NoRead };
enum RunMode { DontCare, NotifyOnExit, Block };
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KProcess();
+
+ ~KProcess();
+
+ // member functions --------------------------------------------------------
+
QStrList *args();
bool isRunning() const;
bool writeStdin(const char *buffer, int buflen);
- virtual bool start(RunMode runmode = NotifyOnExit, Communication comm = NoCommunication);
- virtual bool kill(int signo = SIGTERM);
+ virtual bool start(RunMode runmode=NotifyOnExit,
+ Communication comm=NoCommunication);
+ virtual bool kill(int signo=SIGTERM);
void resume();
+ // operators ---------------------------------------------------------------
+
KProcess &operator<<(const QString& arg);
-};
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KProcess(const KProcess &);
+ KProcess &operator=(const KProcess &);
+
+}; // class KProcess ===========================================================
#endif
diff --git a/WebCore/kwq/kdecore/kstaticdeleter.h b/WebCore/kwq/kdecore/kstaticdeleter.h
index f8b45a3..8d715de 100644
--- a/WebCore/kwq/kdecore/kstaticdeleter.h
+++ b/WebCore/kwq/kdecore/kstaticdeleter.h
@@ -26,9 +26,37 @@
#ifndef KSTATICDELETER_H_
#define KSTATICDELETER_H_
+// class KStaticDeleter ========================================================
+
template <class T> class KStaticDeleter {
public:
- T *setObject(T *obj, bool isArray = false);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStaticDeleter();
+
+ ~KStaticDeleter();
+
+ // member functions --------------------------------------------------------
+
+ T *setObject(T *, bool isArray=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStaticDeleter(const KStaticDeleter &);
+ KStaticDeleter &operator=(const KStaticDeleter &);
+
+}; // class KStaticDeleter =====================================================
#endif
diff --git a/WebCore/kwq/kdecore/kstddirs.h b/WebCore/kwq/kdecore/kstddirs.h
index 675cf9c..f11c8af 100644
--- a/WebCore/kwq/kdecore/kstddirs.h
+++ b/WebCore/kwq/kdecore/kstddirs.h
@@ -29,11 +29,41 @@
#include <qstring.h>
#include "kglobal.h"
+
+QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+
+
+// class KStandardDirs =========================================================
+
class KStandardDirs {
public:
- QString saveLocation(const char *, const QString &suffix = QString::null, bool create = true) const;
-};
-QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStandardDirs();
+
+ ~KStandardDirs();
+
+ // member functions --------------------------------------------------------
+
+ QString saveLocation(const char *, const QString &suffix = QString::null,
+ bool create = true) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStandardDirs(const KStandardDirs &);
+ KStandardDirs &operator=(const KStandardDirs &);
+
+}; // class KStandardDirs ======================================================
#endif
diff --git a/WebCore/kwq/kdecore/kstringhandler.h b/WebCore/kwq/kdecore/kstringhandler.h
index 6150191..1ce6ffa 100644
--- a/WebCore/kwq/kdecore/kstringhandler.h
+++ b/WebCore/kwq/kdecore/kstringhandler.h
@@ -28,9 +28,37 @@
#include <qstring.h>
+// class KStringHandler ========================================================
+
class KStringHandler {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QString csqueeze(const QString &, uint maxlen = 40);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStringHandler();
+
+ ~KStringHandler();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStringHandler(const KStringHandler &);
+ KStringHandler &operator=(const KStringHandler &);
+
+}; // class KStringHandler =====================================================
#endif
diff --git a/WebCore/kwq/kdecore/kurl.h b/WebCore/kwq/kdecore/kurl.h
index 3f19b48..34950dc 100644
--- a/WebCore/kwq/kdecore/kurl.h
+++ b/WebCore/kwq/kdecore/kurl.h
@@ -28,31 +28,59 @@
class QString;
+// class KURL ==================================================================
+
class KURL {
public:
- KURL();
- KURL(const char *url, int encoding_hint = 0);
- KURL(const KURL& url, const QString &);
- KURL(const QString& url, int encoding_hint = 0);
- bool hasPath() const;
- unsigned short int port() const;
- QString path() const;
- QString query() const;
- QString ref() const;
- QString user() const;
- QString pass() const;
- QString url() const;
- QString host() const;
- QString protocol() const;
- void setQuery(const QString& _txt, int encoding_hint = 0);
- void setProtocol(const QString&);
- void setHost(const QString&);
- void setRef(const QString& _txt);
- void setPath(const QString& path);
- void setPort(unsigned short int);
- bool isEmpty() const;
- bool isMalformed() const;
- QString prettyURL(int _trailing = 0) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KURL();
+ KURL(const char *url, int encoding_hint=0);
+ KURL(const KURL &, const QString &);
+ KURL(const QString &, int encoding_hint=0);
+ KURL(const KURL &);
+
+ ~KURL();
+
+ // member functions --------------------------------------------------------
+
+ bool isEmpty() const;
+ bool isMalformed() const;
+ bool hasPath() const;
+
+ QString url() const;
+ QString protocol() const;
+ QString host() const;
+ unsigned short int port() const;
+ QString pass() const;
+ QString user() const;
+ QString ref() const;
+ QString query() const;
+ QString path() const;
+
+ void setProtocol(const QString &);
+ void setHost(const QString &);
+ void setPort(unsigned short int);
+ void setRef(const QString &);
+ void setQuery(const QString &, int encoding_hint=0);
+ void setPath(const QString &);
+
+ QString prettyURL(int trailing=0) const;
+
+ // operators ---------------------------------------------------------------
+
+ KURL &operator=(const KURL &);
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KURL ===============================================================
#endif
diff --git a/WebCore/kwq/kdecore/kwin.h b/WebCore/kwq/kdecore/kwin.h
index 6d64693..02eb9ef 100644
--- a/WebCore/kwq/kdecore/kwin.h
+++ b/WebCore/kwq/kdecore/kwin.h
@@ -30,14 +30,39 @@
#include <qrect.h>
#include <qstring.h>
+// class KWin ==================================================================
+
class KWin {
public:
+
+ // structs -----------------------------------------------------------------
+
struct Info {
QRect geometry;
QString name;
QString visibleName;
};
+
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static Info info(int win);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWin(const KWin &);
+ KWin &operator=(const KWin &);
+
+}; // class KWin ===============================================================
#endif
diff --git a/WebCore/kwq/kdecore/kwinmodule.h b/WebCore/kwq/kdecore/kwinmodule.h
index ae95f51..16e6368 100644
--- a/WebCore/kwq/kdecore/kwinmodule.h
+++ b/WebCore/kwq/kdecore/kwinmodule.h
@@ -30,12 +30,36 @@
class QRect;
+// class KWinModule ============================================================
+
class KWinModule : public QObject {
public:
- KWinModule(QObject* parent = 0);
- QRect workArea(int desktop = - 1) const;
- void doNotManage(const QString&);
-};
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KWinModule(QObject* parent=0);
+
+ // member functions --------------------------------------------------------
+
+ QRect workArea(int desktop=-1) const;
+ void doNotManage(const QString &);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWinModule(const KWinModule &);
+ KWinModule &operator=(const KWinModule &);
+
+}; // class KWinModule =========================================================
#endif
diff --git a/WebCore/kwq/kdeui/kaction.h b/WebCore/kwq/kdeui/kaction.h
index 65636f3..aac8106 100644
--- a/WebCore/kwq/kdeui/kaction.h
+++ b/WebCore/kwq/kdeui/kaction.h
@@ -28,7 +28,34 @@
#include <qpopupmenu.h>
+// class KAction ===============================================================
+
class KAction {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KAction();
+
+ ~KAction();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KAction(const KAction &);
+ KAction &operator=(const KAction &);
+
+}; // class KAction ============================================================
#endif
diff --git a/WebCore/kwq/kdeui/kcombobox.h b/WebCore/kwq/kdeui/kcombobox.h
index 86ab211..c3d3816 100644
--- a/WebCore/kwq/kdeui/kcombobox.h
+++ b/WebCore/kwq/kdeui/kcombobox.h
@@ -30,10 +30,33 @@
#include <KWQCompletion.h>
+// class KComboBox =============================================================
+
class KComboBox : public QComboBox, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KComboBox(QWidget *parent=0, const char *name=0);
KComboBox(bool rw, QWidget *parent=0, const char *name=0);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KComboBox(const KComboBox &);
+ KComboBox &operator=(const KComboBox &);
+
+}; // class KComboBox ==========================================================
#endif
diff --git a/WebCore/kwq/kdeui/kcompletionbox.h b/WebCore/kwq/kdeui/kcompletionbox.h
index 9a99895..ac4bad4 100644
--- a/WebCore/kwq/kdeui/kcompletionbox.h
+++ b/WebCore/kwq/kdeui/kcompletionbox.h
@@ -28,7 +28,34 @@
#include "klistbox.h"
+// class KCompletionBox ========================================================
+
class KCompletionBox : public KListBox {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCompletionBox();
+
+ ~KCompletionBox();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCompletionBox(const KCompletionBox &);
+ KCompletionBox &operator=(const KCompletionBox &);
+
+}; // class KCompletionBox =====================================================
#endif
diff --git a/WebCore/kwq/kdeui/kcursor.h b/WebCore/kwq/kdeui/kcursor.h
index f93484a..c9ac35f 100644
--- a/WebCore/kwq/kdeui/kcursor.h
+++ b/WebCore/kwq/kdeui/kcursor.h
@@ -28,11 +28,37 @@
#include <qwidget.h>
+// class KCursor ===============================================================
+
class KCursor {
public:
- KCursor();
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
static void setAutoHideCursor(QWidget *w, bool enable);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCursor();
+
+ ~KCursor();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCursor(const KCursor &);
+ KCursor &operator=(const KCursor &);
+
+}; // class KCursor ============================================================
#endif
diff --git a/WebCore/kwq/kdeui/keditcl.h b/WebCore/kwq/kdeui/keditcl.h
index 7b2cf6e..6f80853 100644
--- a/WebCore/kwq/kdeui/keditcl.h
+++ b/WebCore/kwq/kdeui/keditcl.h
@@ -31,25 +31,59 @@
#include <KWQScrollBar.h>
#include <qstring.h>
+
+const uint Tbl_vScrollBar = 0x00000001;
+const uint Tbl_hScrollBar = 0x00000002;
+const uint Tbl_autoVScrollBar = 0x00000004;
+const uint Tbl_autoHScrollBar = 0x00000008;
+const uint Tbl_autoScrollBars = 0x0000000C;
+
+
+// class QTableView ============================================================
+
class QTableView : public QFrame {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QTableView();
+
+ ~QTableView();
+
+ // member functions --------------------------------------------------------
+
QScrollBar *verticalScrollBar() const;
QScrollBar *horizontalScrollBar() const;
virtual void setTableFlags(uint);
void clearTableFlags(uint f = ~0);
-};
-const uint Tbl_vScrollBar = 0x00000001;
-const uint Tbl_hScrollBar = 0x00000002;
-const uint Tbl_autoVScrollBar = 0x00000004;
-const uint Tbl_autoHScrollBar = 0x00000008;
-const uint Tbl_autoScrollBars = 0x0000000C;
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+private:
+ // no copying or assignment
+ QTableView(const QTableView &);
+ QTableView &operator=(const QTableView &);
+
+}; // class QTableView =========================================================
+
+
+// class QMultiLineEdit ========================================================
class QMultiLineEdit : public QTableView {
public:
+ // structs -----------------------------------------------------------------
+
enum WordWrap {
NoWrap,
WidgetWidth,
@@ -57,6 +91,18 @@ public:
FixedColumnWidth
};
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ QMultiLineEdit();
+
+ ~QMultiLineEdit();
+
+ // member functions --------------------------------------------------------
+
void setWordWrap(WordWrap);
WordWrap wordWrap() const;
bool hasMarkedText() const;
@@ -69,13 +115,49 @@ public:
QString textLine(int line) const;
int numLines() const;
void selectAll();
-};
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QMultiLineEdit(const QMultiLineEdit &);
+ QMultiLineEdit &operator=(const QMultiLineEdit &);
+
+}; // class QMultiLineEdit =====================================================
+
+
+// class KEdit =================================================================
class KEdit : public QMultiLineEdit {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KEdit();
KEdit(QWidget *);
-};
-#endif
+ ~KEdit();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KEdit(const KEdit &);
+ KEdit &operator=(const KEdit &);
+
+}; // class KEdit ==============================================================
+
+#endif
\ No newline at end of file
diff --git a/WebCore/kwq/kdeui/klineedit.h b/WebCore/kwq/kdeui/klineedit.h
index 0771da2..d48868e 100644
--- a/WebCore/kwq/kdeui/klineedit.h
+++ b/WebCore/kwq/kdeui/klineedit.h
@@ -32,13 +32,39 @@
#include "kcompletionbox.h"
+// class __class_name__ ========================================================
+
class KLineEdit : public QLineEdit, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KLineEdit(QWidget *parent=0, const char *name=0);
+
+ ~KLineEdit();
+
+ // member functions --------------------------------------------------------
void setMouseTracking(bool);
virtual void setContextMenuEnabled(bool showMenu);
KCompletionBox *completionBox(bool create);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLineEdit(const KLineEdit &);
+ KLineEdit &operator=(const KLineEdit &);
+
+}; // class __class_name__ =====================================================
#endif
diff --git a/WebCore/kwq/kdeui/klistbox.h b/WebCore/kwq/kdeui/klistbox.h
index f90c719..fe29dc8 100644
--- a/WebCore/kwq/kdeui/klistbox.h
+++ b/WebCore/kwq/kdeui/klistbox.h
@@ -29,10 +29,33 @@
#include <KWQListBox.h>
#include <qwidget.h>
+// class KListBox ==============================================================
+
class KListBox : public QListBox {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KListBox();
KListBox(QWidget *);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KListBox(const KListBox &);
+ KListBox &operator=(const KListBox &);
+
+}; // class KListBox ===========================================================
#endif
diff --git a/WebCore/kwq/kdeui/kmessagebox.h b/WebCore/kwq/kdeui/kmessagebox.h
index 82b9507..5a8516d 100644
--- a/WebCore/kwq/kdeui/kmessagebox.h
+++ b/WebCore/kwq/kdeui/kmessagebox.h
@@ -29,19 +29,56 @@
#include <qwidget.h>
#include <qstring.h>
+// class KMessageBox ===========================================================
+
class KMessageBox {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum { Ok = 1, Cancel = 2, Yes = 3, No = 4, Continue = 5 };
- static void error(QWidget *, const QString &, const QString &caption =
- QString::null, bool notify = true);
- static int warningYesNo(QWidget *, const QString &, const QString &caption
- = QString::null, const QString &buttonYes = QString::null, const
- QString &buttonNo = QString::null, bool notify = true);
- static int questionYesNo(QWidget *, const QString &, const QString &caption
- = QString::null, const QString &buttonYes = QString::null, const
- QString &buttonNo = QString::null, bool notify = true);
- static void sorry(QWidget *, const QString &, const QString &caption =
- QString::null, bool notify = true);
-};
+
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static void error(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true);
+
+ static int warningYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null,
+ bool notify=true);
+
+ static int questionYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null, bool notify=true);
+
+ static void sorry(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KMessageBox();
+
+ ~KMessageBox();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KMessageBox(const KMessageBox &);
+ KMessageBox &operator=(const KMessageBox &);
+
+}; // class KMessageBox ========================================================
#endif
diff --git a/WebCore/kwq/kfile/kfiledialog.h b/WebCore/kwq/kfile/kfiledialog.h
index 07b11e6..2bb00c1 100644
--- a/WebCore/kwq/kfile/kfiledialog.h
+++ b/WebCore/kwq/kfile/kfiledialog.h
@@ -29,10 +29,39 @@
#include <qstring.h>
#include <qwidget.h>
+// class KFileDialog ===========================================================
+
class KFileDialog {
public:
- static QString getOpenFileName(const QString& startDir= QString::null, const QString& filter= QString::null,
- QWidget *parent= 0, const QString& caption = QString::null);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QString getOpenFileName(const QString &startDir=QString::null,
+ const QString &filter=QString::null, QWidget *parent=0,
+ const QString &caption=QString::null);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileDialog();
+
+ ~KFileDialog();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileDialog(const KFileDialog &);
+ KFileDialog &operator=(const KFileDialog &);
+
+}; // class KFileDialog ========================================================
#endif
diff --git a/WebCore/kwq/kio/job.h b/WebCore/kwq/kio/job.h
index f15f47a..4c04a54 100644
--- a/WebCore/kwq/kio/job.h
+++ b/WebCore/kwq/kio/job.h
@@ -35,8 +35,10 @@
// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
-SimpleJob *http_update_cache(const KURL& url, bool no_cache, time_t expireDate);
-TransferJob *get(const KURL& url, bool reload=false, bool showProgressInfo = true);
+SimpleJob *http_update_cache(const KURL &, bool, time_t);
+
+TransferJob *get(const KURL &url, bool reload=false,
+ bool showProgressInfo=true);
} // namespace KIO
diff --git a/WebCore/kwq/kio/jobclasses.h b/WebCore/kwq/kio/jobclasses.h
index 4faf865..94dbf1c 100644
--- a/WebCore/kwq/kio/jobclasses.h
+++ b/WebCore/kwq/kio/jobclasses.h
@@ -31,22 +31,107 @@
namespace KIO {
+// class Job ===================================================================
+
class Job : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ Job();
+
+ virtual ~Job();
+
+ // member functions --------------------------------------------------------
+
int error();
const QString & errorText();
QString errorString();
virtual void kill(bool quietly = true);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Job(const Job &);
+ Job &operator=(const Job &);
+
+}; // class Job ================================================================
+
+
+// class SimpleJob =============================================================
class SimpleJob : public KIO::Job {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ SimpleJob();
+
+ virtual ~SimpleJob();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ SimpleJob(const SimpleJob &);
+ SimpleJob &operator=(const SimpleJob &);
+
+}; // class SimpleJob ==========================================================
+
+
+// class TransferJob ===========================================================
class TransferJob : public SimpleJob {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ TransferJob();
+
+ virtual ~TransferJob();
+
+ // member functions --------------------------------------------------------
+
bool isErrorPage() const;
void addMetaData(const QString &key, const QString &value);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ TransferJob(const TransferJob &);
+ TransferJob &operator=(const TransferJob &);
+
+}; // class TransferJob ========================================================
+
} // namespace KIO
diff --git a/WebCore/kwq/kio/kfileitem.h b/WebCore/kwq/kio/kfileitem.h
index 20abe2b..e749c3e 100644
--- a/WebCore/kwq/kio/kfileitem.h
+++ b/WebCore/kwq/kio/kfileitem.h
@@ -28,11 +28,36 @@
#include <netaccess.h>
+// class KFileItem =============================================================
+
class KFileItem {
public:
- KFileItem(const KIO::UDSEntry &, const KURL &, bool foo = false, bool bar =
- false);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileItem(const KIO::UDSEntry &, const KURL &, bool foo=false,
+ bool bar=false);
+
+ // member functions --------------------------------------------------------
+
bool isDir() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileItem(const KFileItem &);
+ KFileItem &operator=(const KFileItem &);
+
+}; // class KFileItem ==========================================================
#endif
diff --git a/WebCore/kwq/kio/kimageio.h b/WebCore/kwq/kio/kimageio.h
index 6bcab4f..d428a01 100644
--- a/WebCore/kwq/kio/kimageio.h
+++ b/WebCore/kwq/kio/kimageio.h
@@ -28,11 +28,41 @@
#include <qstringlist.h>
+// class KImageIO ==============================================================
+
class KImageIO {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Mode { Reading, Writing };
- static QStringList mimeTypes(Mode _mode = Writing);
-};
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QStringList mimeTypes(Mode mode=Writing);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KImageIO();
+
+ ~KImageIO();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KImageIO(const KImageIO &);
+ KImageIO &operator=(const KImageIO &);
+
+}; // class KImageIO ===========================================================
#endif
diff --git a/WebCore/kwq/kio/kmimetype.h b/WebCore/kwq/kio/kmimetype.h
index 406444c..0b3f004 100644
--- a/WebCore/kwq/kio/kmimetype.h
+++ b/WebCore/kwq/kio/kmimetype.h
@@ -26,24 +26,83 @@
#ifndef KMIMETYPE_H_
#define KMIMETYPE_H_
-// FIXME: grotesque hack to get khtml/html/html_formimpl.cpp:198 to compile
#include <kdecore/kglobal.h>
#include <kdecore/kurl.h>
#include <sys/types.h>
#include <qstring.h>
-template<class T> class KSharedPtr
-{
+// class KSharedPtr ============================================================
+
+template<class T> class KSharedPtr {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KSharedPtr();
+
+ KSharedPtr(const KSharedPtr &);
+
+ virtual ~KSharedPtr();
+
+ // member functions --------------------------------------------------------
+
+ // operators ---------------------------------------------------------------
+
+ KSharedPtr &operator=(const KSharedPtr &);
T *operator->();
-};
+
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KSharedPtr =========================================================
+
+
+// class KMimeType =============================================================
class KMimeType {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
typedef KSharedPtr<KMimeType> Ptr;
- static Ptr findByURL(const KURL &, mode_t = 0, bool = false, bool = false);
+
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ static Ptr findByURL(const KURL &, mode_t=0, bool=false, bool=false);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KMimeType();
+
+ ~KMimeType();
+
+ // member functions --------------------------------------------------------
+
QString name() const;
-};
-#endif
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KMimeType(const KMimeType &);
+ KMimeType &operator=(const KMimeType &);
+
+}; // class KMimeType ==========================================================
+
+
+#endif
\ No newline at end of file
diff --git a/WebCore/kwq/kio/kprotocolmanager.h b/WebCore/kwq/kio/kprotocolmanager.h
index bcb6cf0..e0f81b6 100644
--- a/WebCore/kwq/kio/kprotocolmanager.h
+++ b/WebCore/kwq/kio/kprotocolmanager.h
@@ -28,11 +28,39 @@
class QString;
+// class KProtocolManager ======================================================
+
class KProtocolManager {
public:
- static QString userAgentForHost(const QString&);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QString userAgentForHost(const QString &);
static bool useProxy();
static QString httpProxy();
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KProtocolManager();
+
+ ~KProtocolManager();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KProtocolManager(const KProtocolManager &);
+ KProtocolManager &operator=(const KProtocolManager &);
+
+}; // class KProtocolManager ===================================================
#endif
diff --git a/WebCore/kwq/kio/netaccess.h b/WebCore/kwq/kio/netaccess.h
index b270e47..c663cad 100644
--- a/WebCore/kwq/kio/netaccess.h
+++ b/WebCore/kwq/kio/netaccess.h
@@ -31,19 +31,79 @@
namespace KIO {
-class UDSAtom {
-};
+class UDSAtom;
typedef QValueList<UDSAtom> UDSEntry;
+
+// class UDSAtom ===============================================================
+
+class UDSAtom {
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ UDSAtom();
+
+ ~UDSAtom();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ UDSAtom(const UDSAtom &);
+ UDSAtom &operator=(const UDSAtom &);
+
+}; // class UDSAtom ============================================================
+
+
+// class NetAccess =============================================================
+
class NetAccess {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static bool stat(const KURL &, KIO::UDSEntry &);
static QString lastErrorString();
static bool download(const KURL &, QString &);
static void removeTempFile(const QString &);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ NetAccess();
+
+ ~NetAccess();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ NetAccess(const NetAccess &);
+ NetAccess &operator=(const NetAccess &);
+
+}; // class NetAccess ==========================================================
+
+
+} // namespace KIO
#endif
diff --git a/WebCore/kwq/kio/scheduler.h b/WebCore/kwq/kio/scheduler.h
index 78dd266..f3e90b0 100644
--- a/WebCore/kwq/kio/scheduler.h
+++ b/WebCore/kwq/kio/scheduler.h
@@ -31,11 +31,41 @@
namespace KIO {
+// class Scheduler =============================================================
+
class Scheduler {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static void scheduleJob(SimpleJob *job);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Scheduler();
+
+ ~Scheduler();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Scheduler(const Scheduler &);
+ Scheduler &operator=(const Scheduler &);
+
+}; // class Scheduler ==========================================================
+
} // namespace KIO
#endif
+
diff --git a/WebCore/kwq/kparts/browserextension.h b/WebCore/kwq/kparts/browserextension.h
index 97d9862..b90bff5 100644
--- a/WebCore/kwq/kparts/browserextension.h
+++ b/WebCore/kwq/kparts/browserextension.h
@@ -35,13 +35,39 @@
#include "part.h"
#include "browserinterface.h"
-// This is a bad hack to get some rendering code to work
+// class KXMLGUIClient =========================================================
+
class KXMLGUIClient {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KXMLGUIClient();
+
+ ~KXMLGUIClient();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KXMLGUIClient(const KXMLGUIClient &);
+ KXMLGUIClient &operator=(const KXMLGUIClient &);
+
+}; // class KXMLGUIClient ======================================================
+
namespace KParts {
-// Added for compilation of khtml/khtml_part.h:695
struct URLArgs {
QString frameName;
QString serviceType;
@@ -59,19 +85,79 @@ struct WindowArgs {
bool fullscreen;
};
+// class BrowserExtension ======================================================
+
class BrowserExtension {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserExtension();
+
+ ~BrowserExtension();
+
+ // member functions --------------------------------------------------------
+
BrowserInterface *browserInterface() const;
- void openURLRequest(const KURL &, const KParts::URLArgs &args =
- KParts::URLArgs());
+
+ void openURLRequest(const KURL &,
+ const KParts::URLArgs &args=KParts::URLArgs());
+
void createNewWindow(const KURL &);
- void createNewWindow(const KURL &, const KParts::URLArgs &, const
- KParts::WindowArgs &, KParts::ReadOnlyPart *&);
-};
+
+ void createNewWindow(const KURL &, const KParts::URLArgs &,
+ const KParts::WindowArgs &, KParts::ReadOnlyPart *&);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserExtension(const BrowserExtension &);
+ BrowserExtension &operator=(const BrowserExtension &);
+
+}; // class BrowserExtension ===================================================
+
+
+// class BrowserHostExtension ==================================================
class BrowserHostExtension {
-};
+public:
-}; // namespace KParts
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserHostExtension();
+ ~BrowserHostExtension();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserHostExtension(const BrowserHostExtension &);
+ BrowserHostExtension &operator=(const BrowserHostExtension &);
+
+}; // class BrowserHostExtension ===============================================
+
+} // namespace KParts
#endif
+
+
diff --git a/WebCore/kwq/kparts/browserinterface.h b/WebCore/kwq/kparts/browserinterface.h
index 07bf114..8e38a5d 100644
--- a/WebCore/kwq/kparts/browserinterface.h
+++ b/WebCore/kwq/kparts/browserinterface.h
@@ -33,9 +33,36 @@ namespace KParts {
class BrowserInterface : public QObject {
public:
+
+// class BrowserInterface ======================================================
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
BrowserInterface(QObject *parent, const char *name = 0);
+
+ ~BrowserInterface();
+
+ // member functions --------------------------------------------------------
+
void callMethod(const char *name, const QVariant &argument);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserInterface(const BrowserInterface &);
+ BrowserInterface &operator=(const BrowserInterface &);
+
+}; // class BrowserInterface ===================================================
} // namespace KParts
diff --git a/WebCore/kwq/kparts/event.h b/WebCore/kwq/kparts/event.h
index ca91b05..2ce1eeb 100644
--- a/WebCore/kwq/kparts/event.h
+++ b/WebCore/kwq/kparts/event.h
@@ -28,19 +28,43 @@
#include <qevent.h>
-// FIXME: pre-declare here for parse error workaround at line 129 of
-// khtml/khtml_events.h
class QPainter;
namespace KParts {
+// class Event =================================================================
+
class Event {
public:
- Event(const char *);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
static bool test(const QEvent *);
static bool test(const QEvent *, const char *);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ Event(const char *);
+
+ virtual ~Event();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Event(const Event &);
+ Event &operator=(const Event &);
+
+}; // class Event ==============================================================
+
+} // namespace KParts
#endif
diff --git a/WebCore/kwq/kparts/factory.h b/WebCore/kwq/kparts/factory.h
index ae230f4..c019da5 100644
--- a/WebCore/kwq/kparts/factory.h
+++ b/WebCore/kwq/kparts/factory.h
@@ -28,10 +28,39 @@
#include "part.h"
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+
+// class Factory ===============================================================
+
class Factory {
-};
-}
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Factory();
+
+ ~Factory();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Factory(const Factory &);
+ Factory &operator=(const Factory &);
+
+}; // class Factory ============================================================
+
+} // namespace KParts
#endif
+
diff --git a/WebCore/kwq/kparts/historyprovider.h b/WebCore/kwq/kparts/historyprovider.h
index 755ef56..edbcdb7 100644
--- a/WebCore/kwq/kparts/historyprovider.h
+++ b/WebCore/kwq/kparts/historyprovider.h
@@ -26,19 +26,50 @@
#ifndef HISTORYPROVIDER_H_
#define HISTORYPROVIDER_H_
-// FIXME: do we still need "part.h"?
-//#include "part.h"
#include <qobject.h>
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+// class HistoryProvider =======================================================
+
class HistoryProvider : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static HistoryProvider *self();
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ HistoryProvider();
+
+ ~HistoryProvider();
+
+ // member functions --------------------------------------------------------
+
bool contains(const QString &) const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ HistoryProvider(const HistoryProvider &);
+ HistoryProvider &operator=(const HistoryProvider &);
+
+}; // class HistoryProvider ====================================================
+
} // namespace KParts
#endif
+
+
+
diff --git a/WebCore/kwq/kparts/part.h b/WebCore/kwq/kparts/part.h
index b4cc3f5..52334b6 100644
--- a/WebCore/kwq/kparts/part.h
+++ b/WebCore/kwq/kparts/part.h
@@ -33,39 +33,116 @@
#include <qstringlist.h>
#include <qvaluelist.h>
-// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
class Job;
} // namespace KIO
-// forward declaration hack to help in compilation of khtml/khtml_part.h:166
class QWidget;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:552
class QCursor;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:631
class QDataStream;
-
-// forward declaration hack to help in compilation of khtml/ecma/kjs_binding.cpp:28
class QPainter;
namespace KParts {
+// class Part ==================================================================
+
class Part : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Part();
+
+ ~Part();
+
+ // member functions --------------------------------------------------------
+
QWidget *widget();
void setWindowCaption(const QString &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Part(const Part &);
+ Part &operator=(const Part &);
+
+}; // class Part ===============================================================
+
+
+// class ReadOnlyPart ==========================================================
class ReadOnlyPart : public Part {
public:
- virtual const KURL & url() const;
-};
-// hack to help in compilation of khtml/khtml_part.h:785
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ ReadOnlyPart();
+
+ ~ReadOnlyPart();
+
+ // member functions --------------------------------------------------------
+
+ virtual const KURL &url() const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ ReadOnlyPart(const ReadOnlyPart &);
+ ReadOnlyPart &operator=(const ReadOnlyPart &);
+
+}; // class ReadOnlyPart =======================================================
+
+
+// class GUIActivateEvent ======================================================
+
class GUIActivateEvent {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ GUIActivateEvent();
+
+ ~GUIActivateEvent();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ GUIActivateEvent(const GUIActivateEvent &);
+ GUIActivateEvent &operator=(const GUIActivateEvent &);
+
+}; // class GUIActivateEvent ===================================================
+
} // namespace KParts
diff --git a/WebCore/src/kwq/KWQButton.h b/WebCore/src/kwq/KWQButton.h
index f6a6f0f..bfa649c 100644
--- a/WebCore/src/kwq/KWQButton.h
+++ b/WebCore/src/kwq/KWQButton.h
@@ -29,13 +29,39 @@
#include <qwidget.h>
#include <qstring.h>
+// class QButton ===============================================================
+
class QButton : public QWidget {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
QButton();
QButton(QWidget *);
+ ~QButton();
+
+ // member functions --------------------------------------------------------
+
virtual void setText(const QString &);
QString text() const;
-};
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QButton(const QButton &);
+ QButton &operator=(const QButton &);
+
+}; // class QButton ============================================================
+
#endif
diff --git a/WebCore/src/kwq/KWQCollection.h b/WebCore/src/kwq/KWQCollection.h
index 9a6c919..7f77895 100644
--- a/WebCore/src/kwq/KWQCollection.h
+++ b/WebCore/src/kwq/KWQCollection.h
@@ -26,12 +26,44 @@
#ifndef KWQCOLLECTION_H_
#define KWQCOLLECTION_H_
+// class QCollection ===========================================================
+
class QCollection {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
typedef void *Item;
+
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ QCollection();
+
+ ~QCollection();
+
+ // member functions --------------------------------------------------------
+
void setAutoDelete(bool);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+
protected:
virtual Item newItem(Item);
-};
+
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QCollection(const QCollection &);
+ QCollection &operator=(const QCollection &);
+
+}; // class QCollection ========================================================
#endif
diff --git a/WebCore/src/kwq/KWQCompletion.h b/WebCore/src/kwq/KWQCompletion.h
index cb289b0..cac7c1c 100644
--- a/WebCore/src/kwq/KWQCompletion.h
+++ b/WebCore/src/kwq/KWQCompletion.h
@@ -29,16 +29,72 @@
#include <qobject.h>
#include <qstringlist.h>
+// class QCompletion ===========================================================
+
class QCompletion : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
QCompletion();
+
+ ~QCompletion();
+
+ // member functions --------------------------------------------------------
+
void setItems(const QStringList &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QCompletion(const QCompletion &);
+ QCompletion &operator=(const QCompletion &);
+
+}; // class QCompletion ========================================================
+
+
+// class QCompletionBase =======================================================
class QCompletionBase {
public:
- QCompletionBase();
- QCompletion *completionObject(bool hsig = true);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QCompletionBase();
+
+ ~QCompletionBase();
+
+ // member functions --------------------------------------------------------
+
+ QCompletion *completionObject(bool hsig = true);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QCompletionBase(const QCompletionBase &);
+ QCompletionBase &operator=(const QCompletionBase &);
+
+}; // class QCompletionBase ====================================================
+
#endif
diff --git a/WebCore/src/kwq/KWQDataStream.h b/WebCore/src/kwq/KWQDataStream.h
index 4b16351..be0dded 100644
--- a/WebCore/src/kwq/KWQDataStream.h
+++ b/WebCore/src/kwq/KWQDataStream.h
@@ -38,16 +38,40 @@
#define IO_Translate 0x0010 // translate CR+LF
#define IO_ModeMask 0x00ff
+// class QDataStream ===========================================================
+
class QDataStream {
public:
- QDataStream( QByteArray, int mode );
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QDataStream(QByteArray, int);
virtual ~QDataStream();
+ // member functions --------------------------------------------------------
+
+ // operators ---------------------------------------------------------------
+
QDataStream &operator<<(long int);
QDataStream &operator<<(const char *);
QDataStream &operator<<(const QString &);
QDataStream &operator<<(const QCString &);
QDataStream &operator>>(const QString &);
-};
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QDataStream(const QDataStream &);
+ QDataStream &operator=(const QDataStream &);
+
+}; // class QDataStream ========================================================
#endif
diff --git a/WebCore/src/kwq/KWQFrame.h b/WebCore/src/kwq/KWQFrame.h
index 519a8e0..ec23f56 100644
--- a/WebCore/src/kwq/KWQFrame.h
+++ b/WebCore/src/kwq/KWQFrame.h
@@ -28,23 +28,42 @@
#include <qwidget.h>
+// class QFrame ================================================================
+
class QFrame : public QWidget {
public:
- enum Shape {
- NoFrame,
- Box,
- StyledPanel,
- };
- enum Shadow {
- Sunken,
- };
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
+ enum Shape { NoFrame, Box, StyledPanel };
+ enum Shadow { Sunken };
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
QFrame();
QFrame(QWidget *parent);
+ // member functions --------------------------------------------------------
+
virtual void setFrameStyle(int);
int frameWidth() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QFrame(const QFrame &);
+ QFrame &operator=(const QFrame &);
+
+}; // class QFrame =============================================================
#endif
diff --git a/WebCore/src/kwq/KWQIcon.h b/WebCore/src/kwq/KWQIcon.h
index c1453ca..42bfe25 100644
--- a/WebCore/src/kwq/KWQIcon.h
+++ b/WebCore/src/kwq/KWQIcon.h
@@ -26,10 +26,38 @@
#ifndef KWQICON_H_
#define KWQICON_H_
+// class KIcon =================================================================
+
class KIcon {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum States { DefaultState, ActiveState, DisabledState, LastState };
-};
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIcon();
+
+ ~KIcon();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIcon(const KIcon &);
+ KIcon &operator=(const KIcon &);
+
+}; // class KIcon ==============================================================
#endif
diff --git a/WebCore/src/kwq/KWQListBox.h b/WebCore/src/kwq/KWQListBox.h
index b914571..b30eb6a 100644
--- a/WebCore/src/kwq/KWQListBox.h
+++ b/WebCore/src/kwq/KWQListBox.h
@@ -32,10 +32,29 @@
class QListBoxItem;
class QListBoxText;
+// class QListBox ==============================================================
+
class QListBox : public QScrollView {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum SelectionMode { Single, Multi, Extended, NoSelection };
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBox();
+
+ ~QListBox();
+
+ // member functions --------------------------------------------------------
+
uint count() const;
void clear();
virtual void setSelectionMode(SelectionMode);
@@ -45,21 +64,87 @@ public:
void insertItem(const QListBoxItem *, int index=-1);
void setSelected(int, bool);
bool isSelected(int);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBox(const QListBox &);
+ QListBox &operator=(const QListBox &);
+
+}; // class QListBox ===========================================================
+
+
+// class QListBoxItem ==========================================================
class QListBoxItem {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBoxItem();
+
+ ~QListBoxItem();
+
+ // member functions --------------------------------------------------------
+
void setSelectable(bool);
QListBox *listBox() const;
virtual int width(const QListBox *) const;
virtual int height(const QListBox *) const;
QListBoxItem *next() const;
QListBoxItem *prev() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBoxItem(const QListBoxItem &);
+ QListBoxItem &operator=(const QListBoxItem &);
+
+}; // class QListBoxItem =======================================================
+
+
+// class QListBoxText ==========================================================
class QListBoxText : public QListBoxItem {
public:
- QListBoxText(const QString & text=QString::null);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QListBoxText(const QString & text=QString::null);
+
+ ~QListBoxText();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QListBoxText(const QListBoxText &);
+ QListBoxText &operator=(const QListBoxText &);
+
+}; // class QListBoxText =======================================================
#endif
diff --git a/WebCore/src/kwq/KWQScrollBar.h b/WebCore/src/kwq/KWQScrollBar.h
index 1f79c8c..e3c8c92 100644
--- a/WebCore/src/kwq/KWQScrollBar.h
+++ b/WebCore/src/kwq/KWQScrollBar.h
@@ -29,9 +29,37 @@
#include <qwidget.h>
#include <qpalette.h>
+// class QScrollBar ============================================================
+
class QScrollBar : public QWidget {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QScrollBar();
+
+ ~QScrollBar();
+
+ // member functions --------------------------------------------------------
+
virtual void setPalette(const QPalette &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QScrollBar(const QScrollBar &);
+ QScrollBar &operator=(const QScrollBar &);
+
+}; // class QScrollBar =========================================================
#endif
diff --git a/WebCore/src/kwq/KWQStrList.h b/WebCore/src/kwq/KWQStrList.h
index f785f40..436f45d 100644
--- a/WebCore/src/kwq/KWQStrList.h
+++ b/WebCore/src/kwq/KWQStrList.h
@@ -29,8 +29,34 @@
#include <qstring.h>
#include <qlist.h>
+// class QStrList ==============================================================
+
class QStrList : public QList<char> {
public:
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QStrList();
+
+ ~QStrList();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QStrList(const QStrList &);
+ QStrList &operator=(const QStrList &);
+
+}; // class QStrList ===========================================================
#endif
diff --git a/WebCore/src/kwq/KWQStyle.h b/WebCore/src/kwq/KWQStyle.h
index e4c6eab..2a14bb5 100644
--- a/WebCore/src/kwq/KWQStyle.h
+++ b/WebCore/src/kwq/KWQStyle.h
@@ -29,11 +29,38 @@
#include <qobject.h>
#include <qsize.h>
+// class QStyle ================================================================
+
class QStyle : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ QStyle();
+
+ ~QStyle();
+
+ // member functions --------------------------------------------------------
+
GUIStyle guiStyle() const;
virtual QSize indicatorSize() const = 0;
virtual QSize exclusiveIndicatorSize() const = 0;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QStyle(const QStyle &);
+ QStyle &operator=(const QStyle &);
+
+}; // class QStyle =============================================================
#endif
diff --git a/WebCore/src/kwq/dcop/dcopclient.h b/WebCore/src/kwq/dcop/dcopclient.h
index a98fd6d..e8a7d24 100644
--- a/WebCore/src/kwq/dcop/dcopclient.h
+++ b/WebCore/src/kwq/dcop/dcopclient.h
@@ -26,21 +26,52 @@
#ifndef DCOPCLIENT_H_
#define DCOPCLIENT_H_
+#include <qobject.h>
#include <qcstring.h>
-// KApplication needs this
-class DCOPClient {
+// class DCOPClient ============================================================
+
+class DCOPClient : public QObject {
public:
- bool call(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool call(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData, bool useEventLoop=false, bool fast=false);
- bool send(const char *remApp, const char *remObj, const char *remFun, const QByteArray &data, bool fast=false);
- bool send(const QCString &remApp, const QCString &remObj, const QCString &remFun, const QByteArray &data,
- bool fast=false);
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ DCOPClient();
+
+ virtual ~DCOPClient();
+
+ // member functions --------------------------------------------------------
+
+ bool call(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, QCString& replyType, QByteArray &replyData,
+ bool useEventLoop=false, bool fast=false);
+
+ bool call(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, QCString& replyType,
+ QByteArray &replyData, bool useEventLoop=false, bool fast=false);
+
+ bool send(const char *remApp, const char *remObj, const char *remFun,
+ const QByteArray &data, bool fast=false);
+
+ bool send(const QCString &remApp, const QCString &remObj,
+ const QCString &remFun, const QByteArray &data, bool fast=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+private:
+ // no copying or assignment
+ DCOPClient(const DCOPClient &);
+ DCOPClient &operator=(const DCOPClient &);
-};
+}; // class DCOPClient =========================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kapp.h b/WebCore/src/kwq/kdecore/kapp.h
index 5620894..9386278 100644
--- a/WebCore/src/kwq/kdecore/kapp.h
+++ b/WebCore/src/kwq/kdecore/kapp.h
@@ -35,13 +35,44 @@
#define kapp KApplication::kApplication()
+// class KApplication ==========================================================
+
class KApplication : public QApplication {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static KApplication* kApplication() { return KApp; }
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KApplication();
+
+ ~KApplication();
+
+ // member functions --------------------------------------------------------
+
virtual DCOPClient *dcopClient();
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+
protected:
static KApplication *KApp;
-};
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KApplication(const KApplication &);
+ KApplication &operator=(const KApplication &);
+
+}; // class KApplication =======================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kcharsets.h b/WebCore/src/kwq/kdecore/kcharsets.h
index 1d3f791..4dc04f5 100644
--- a/WebCore/src/kwq/kdecore/kcharsets.h
+++ b/WebCore/src/kwq/kdecore/kcharsets.h
@@ -31,15 +31,43 @@
class QString;
class QTextCodec;
+// class KCharsets =============================================================
+
class KCharsets {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCharsets();
+
+ ~KCharsets();
+
+ // member functions --------------------------------------------------------
+
QTextCodec *codecForName(const QString &) const;
QTextCodec *codecForName(const QString &, bool &) const;
- void setQFont(QFont &, QFont::CharSet charset = QFont::Unicode) const;
+ void setQFont(QFont &, QFont::CharSet charset=QFont::Unicode) const;
void setQFont(QFont &, QString) const;
QString name(QFont::CharSet);
QString xCharsetName(QFont::CharSet) const;
bool supportsScript(const QFont &, QFont::CharSet);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCharsets(const KCharsets &);
+ KCharsets &operator=(const KCharsets &);
+
+}; // class KCharsets ==========================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kconfig.h b/WebCore/src/kwq/kdecore/kconfig.h
index 23ca873..9a9dc94 100644
--- a/WebCore/src/kwq/kdecore/kconfig.h
+++ b/WebCore/src/kwq/kdecore/kconfig.h
@@ -37,19 +37,80 @@
#include <qcolor.h>
#include <KWQStrList.h>
+// class KConfigBase ===========================================================
+
class KConfigBase {
public:
- void setGroup(const QString& pGroup);
- QString readEntry(const char *pKey, const QString& aDefault = QString::null) const;
- int readNumEntry(const char *pKey, int nDefault = 0) const;
- unsigned int readUnsignedNumEntry(const char *pKey, unsigned int nDefault = 0) const;
- bool readBoolEntry(const char *pKey, bool nDefault = 0) const;
- QColor readColorEntry(const char *pKey, const QColor* pDefault = 0L) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KConfigBase();
+
+ ~KConfigBase();
+
+ // member functions --------------------------------------------------------
+
+ void setGroup(const QString &pGroup);
+
+ QString readEntry(const char *pKey,
+ const QString& aDefault=QString::null) const;
+
+ int readNumEntry(const char *pKey, int nDefault=0) const;
+
+ unsigned int readUnsignedNumEntry(const char *pKey,
+ unsigned int nDefault=0) const;
+
+ bool readBoolEntry(const char *pKey, bool nDefault=0) const;
+
+ QColor readColorEntry(const char *pKey, const QColor *pDefault=0L) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfigBase(const KConfigBase &);
+ KConfigBase &operator=(const KConfigBase &);
+
+}; // class KConfigBase ========================================================
+
+
+// class KConfig ===============================================================
class KConfig : public KConfigBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KConfig(const QString &, bool bReadOnly=false);
-};
-#endif
+ ~KConfig();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KConfig(const KConfig &);
+ KConfig &operator=(const KConfig &);
+
+}; // class KConfig ============================================================
+
+#endif
\ No newline at end of file
diff --git a/WebCore/src/kwq/kdecore/kdebug.h b/WebCore/src/kwq/kdecore/kdebug.h
index a230c3d..ddc597e 100644
--- a/WebCore/src/kwq/kdecore/kdebug.h
+++ b/WebCore/src/kwq/kdecore/kdebug.h
@@ -29,19 +29,47 @@
#include <qstring.h>
class kdbgstream;
+
typedef kdbgstream & (*KDBGFUNC)(kdbgstream &);
+// class kdbgstream ============================================================
+
class kdbgstream {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ kdbgstream(unsigned int area, unsigned int level, bool print=true);
+
+ ~kdbgstream();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
kdbgstream &operator<<(int);
kdbgstream &operator<<(const char *);
kdbgstream &operator<<(const void *);
- kdbgstream &operator<<(const QString&);
- kdbgstream &operator<<(const QCString&);
+ kdbgstream &operator<<(const QString &);
+ kdbgstream &operator<<(const QCString &);
kdbgstream &operator<<(KDBGFUNC);
-};
-inline kdbgstream &endl( kdbgstream &s) { s << "\n"; return s; }
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ kdbgstream(const kdbgstream &);
+ kdbgstream &operator=(const kdbgstream &);
+
+}; // class kdbgstream =========================================================
+
+inline kdbgstream &endl(kdbgstream &s) { s << "\n"; return s; }
kdbgstream kdDebug(int area = 0);
kdbgstream kdWarning(int area = 0);
diff --git a/WebCore/src/kwq/kdecore/kglobal.h b/WebCore/src/kwq/kdecore/kglobal.h
index 3c3dfaa..0d25c19 100644
--- a/WebCore/src/kwq/kdecore/kglobal.h
+++ b/WebCore/src/kwq/kdecore/kglobal.h
@@ -37,8 +37,18 @@ class KConfig;
#define kMin(a, b) ((a) < (b) ? (a) : (b))
#define kMax(a, b) ((a) > (b) ? (a) : (b))
+// class KGlobal ===============================================================
+
class KGlobal {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static KInstance *instance();
static KCharsets *charsets();
static KLocale *locale();
@@ -46,6 +56,24 @@ public:
static KConfig *config();
static const QString &staticQString(const QString &);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobal();
+
+ ~KGlobal();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobal(const KGlobal &);
+ KGlobal &operator=(const KGlobal &);
+
+}; // class KGlobal ============================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kglobalsettings.h b/WebCore/src/kwq/kdecore/kglobalsettings.h
index 34b3626..0e27710 100644
--- a/WebCore/src/kwq/kdecore/kglobalsettings.h
+++ b/WebCore/src/kwq/kdecore/kglobalsettings.h
@@ -28,13 +28,41 @@
class QFont;
+// class KGlobalSettings =======================================================
+
class KGlobalSettings {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QFont generalFont();
static QFont windowTitleFont();
static QFont menuFont();
static int contrast();
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KGlobalSettings();
+
+ ~KGlobalSettings();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KGlobalSettings(const KGlobalSettings &);
+ KGlobalSettings &operator=(const KGlobalSettings &);
+
+}; // class KGlobalSettings ====================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kiconloader.h b/WebCore/src/kwq/kdecore/kiconloader.h
index 394fb37..a342a74 100644
--- a/WebCore/src/kwq/kdecore/kiconloader.h
+++ b/WebCore/src/kwq/kdecore/kiconloader.h
@@ -30,16 +30,75 @@
#include <qstring.h>
#include <kinstance.h>
+// class KIcon =================================================================
+
class KIcon {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Context { Any, Action, Application, Device, FileSystem, MimeType };
enum States { DefaultState, ActiveState, DisabledState, LastState };
-};
+
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIcon();
+
+ ~KIcon();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIcon(const KIcon &);
+ KIcon &operator=(const KIcon &);
+
+}; // class KIcon ==============================================================
+
+
+// class KIconLoader ===========================================================
class KIconLoader {
public:
- QPixmap loadIcon(const QString &name, int group, int size=0, int state=KIcon::DefaultState,
- QString *path_store=0L, bool canReturnNull=false) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KIconLoader();
+
+ ~KIconLoader();
+
+ // member functions --------------------------------------------------------
+
+ QPixmap loadIcon(const QString &name, int group, int size=0,
+ int state=KIcon::DefaultState, QString *path_store=0L,
+ bool canReturnNull=false) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KIconLoader(const KIconLoader &);
+ KIconLoader &operator=(const KIconLoader &);
+
+}; // class KIconLoader ========================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kinstance.h b/WebCore/src/kwq/kdecore/kinstance.h
index 5e93d92..5c216a0 100644
--- a/WebCore/src/kwq/kdecore/kinstance.h
+++ b/WebCore/src/kwq/kdecore/kinstance.h
@@ -26,11 +26,40 @@
#ifndef KINSTANCE_H_
#define KINSTANCE_H_
+#include <qcstring.h>
+
class KIconLoader;
+// class KInstance =============================================================
+
class KInstance {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KInstance(const QCString &);
+
+ virtual ~KInstance();
+
+ // member functions --------------------------------------------------------
+
KIconLoader *iconLoader() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KInstance(const KInstance &);
+ KInstance &operator=(const KInstance &);
+
+}; // class KInstance ==========================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/klocale.h b/WebCore/src/kwq/kdecore/klocale.h
index dc62e2d..7c39380 100644
--- a/WebCore/src/kwq/kdecore/klocale.h
+++ b/WebCore/src/kwq/kdecore/klocale.h
@@ -30,9 +30,37 @@ class QString;
QString i18n(const char* text);
+// class KLocale ===============================================================
+
class KLocale {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KLocale();
+
+ ~KLocale();
+
+ // member functions --------------------------------------------------------
+
QString language() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLocale(const KLocale &);
+ KLocale &operator=(const KLocale &);
+
+}; // class KLocale ============================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kprocess.h b/WebCore/src/kwq/kdecore/kprocess.h
index 2b095cd..c8a48d3 100644
--- a/WebCore/src/kwq/kdecore/kprocess.h
+++ b/WebCore/src/kwq/kdecore/kprocess.h
@@ -32,19 +32,50 @@
#include <qstring.h>
#include <KWQStrList.h>
+// class KProcess ==============================================================
+
class KProcess : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
enum Communication { NoCommunication = 0, Stdin = 1, Stdout = 2, NoRead };
enum RunMode { DontCare, NotifyOnExit, Block };
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KProcess();
+
+ ~KProcess();
+
+ // member functions --------------------------------------------------------
+
QStrList *args();
bool isRunning() const;
bool writeStdin(const char *buffer, int buflen);
- virtual bool start(RunMode runmode = NotifyOnExit, Communication comm = NoCommunication);
- virtual bool kill(int signo = SIGTERM);
+ virtual bool start(RunMode runmode=NotifyOnExit,
+ Communication comm=NoCommunication);
+ virtual bool kill(int signo=SIGTERM);
void resume();
+ // operators ---------------------------------------------------------------
+
KProcess &operator<<(const QString& arg);
-};
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KProcess(const KProcess &);
+ KProcess &operator=(const KProcess &);
+
+}; // class KProcess ===========================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kstaticdeleter.h b/WebCore/src/kwq/kdecore/kstaticdeleter.h
index f8b45a3..8d715de 100644
--- a/WebCore/src/kwq/kdecore/kstaticdeleter.h
+++ b/WebCore/src/kwq/kdecore/kstaticdeleter.h
@@ -26,9 +26,37 @@
#ifndef KSTATICDELETER_H_
#define KSTATICDELETER_H_
+// class KStaticDeleter ========================================================
+
template <class T> class KStaticDeleter {
public:
- T *setObject(T *obj, bool isArray = false);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStaticDeleter();
+
+ ~KStaticDeleter();
+
+ // member functions --------------------------------------------------------
+
+ T *setObject(T *, bool isArray=false);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStaticDeleter(const KStaticDeleter &);
+ KStaticDeleter &operator=(const KStaticDeleter &);
+
+}; // class KStaticDeleter =====================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kstddirs.h b/WebCore/src/kwq/kdecore/kstddirs.h
index 675cf9c..f11c8af 100644
--- a/WebCore/src/kwq/kdecore/kstddirs.h
+++ b/WebCore/src/kwq/kdecore/kstddirs.h
@@ -29,11 +29,41 @@
#include <qstring.h>
#include "kglobal.h"
+
+QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+
+
+// class KStandardDirs =========================================================
+
class KStandardDirs {
public:
- QString saveLocation(const char *, const QString &suffix = QString::null, bool create = true) const;
-};
-QString locate(const char *type, const QString& filename, const KInstance* instance = KGlobal::instance());
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStandardDirs();
+
+ ~KStandardDirs();
+
+ // member functions --------------------------------------------------------
+
+ QString saveLocation(const char *, const QString &suffix = QString::null,
+ bool create = true) const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStandardDirs(const KStandardDirs &);
+ KStandardDirs &operator=(const KStandardDirs &);
+
+}; // class KStandardDirs ======================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kstringhandler.h b/WebCore/src/kwq/kdecore/kstringhandler.h
index 6150191..1ce6ffa 100644
--- a/WebCore/src/kwq/kdecore/kstringhandler.h
+++ b/WebCore/src/kwq/kdecore/kstringhandler.h
@@ -28,9 +28,37 @@
#include <qstring.h>
+// class KStringHandler ========================================================
+
class KStringHandler {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static QString csqueeze(const QString &, uint maxlen = 40);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KStringHandler();
+
+ ~KStringHandler();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KStringHandler(const KStringHandler &);
+ KStringHandler &operator=(const KStringHandler &);
+
+}; // class KStringHandler =====================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kurl.h b/WebCore/src/kwq/kdecore/kurl.h
index 3f19b48..34950dc 100644
--- a/WebCore/src/kwq/kdecore/kurl.h
+++ b/WebCore/src/kwq/kdecore/kurl.h
@@ -28,31 +28,59 @@
class QString;
+// class KURL ==================================================================
+
class KURL {
public:
- KURL();
- KURL(const char *url, int encoding_hint = 0);
- KURL(const KURL& url, const QString &);
- KURL(const QString& url, int encoding_hint = 0);
- bool hasPath() const;
- unsigned short int port() const;
- QString path() const;
- QString query() const;
- QString ref() const;
- QString user() const;
- QString pass() const;
- QString url() const;
- QString host() const;
- QString protocol() const;
- void setQuery(const QString& _txt, int encoding_hint = 0);
- void setProtocol(const QString&);
- void setHost(const QString&);
- void setRef(const QString& _txt);
- void setPath(const QString& path);
- void setPort(unsigned short int);
- bool isEmpty() const;
- bool isMalformed() const;
- QString prettyURL(int _trailing = 0) const;
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KURL();
+ KURL(const char *url, int encoding_hint=0);
+ KURL(const KURL &, const QString &);
+ KURL(const QString &, int encoding_hint=0);
+ KURL(const KURL &);
+
+ ~KURL();
+
+ // member functions --------------------------------------------------------
+
+ bool isEmpty() const;
+ bool isMalformed() const;
+ bool hasPath() const;
+
+ QString url() const;
+ QString protocol() const;
+ QString host() const;
+ unsigned short int port() const;
+ QString pass() const;
+ QString user() const;
+ QString ref() const;
+ QString query() const;
+ QString path() const;
+
+ void setProtocol(const QString &);
+ void setHost(const QString &);
+ void setPort(unsigned short int);
+ void setRef(const QString &);
+ void setQuery(const QString &, int encoding_hint=0);
+ void setPath(const QString &);
+
+ QString prettyURL(int trailing=0) const;
+
+ // operators ---------------------------------------------------------------
+
+ KURL &operator=(const KURL &);
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KURL ===============================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kwin.h b/WebCore/src/kwq/kdecore/kwin.h
index 6d64693..02eb9ef 100644
--- a/WebCore/src/kwq/kdecore/kwin.h
+++ b/WebCore/src/kwq/kdecore/kwin.h
@@ -30,14 +30,39 @@
#include <qrect.h>
#include <qstring.h>
+// class KWin ==================================================================
+
class KWin {
public:
+
+ // structs -----------------------------------------------------------------
+
struct Info {
QRect geometry;
QString name;
QString visibleName;
};
+
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static Info info(int win);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWin(const KWin &);
+ KWin &operator=(const KWin &);
+
+}; // class KWin ===============================================================
#endif
diff --git a/WebCore/src/kwq/kdecore/kwinmodule.h b/WebCore/src/kwq/kdecore/kwinmodule.h
index ae95f51..16e6368 100644
--- a/WebCore/src/kwq/kdecore/kwinmodule.h
+++ b/WebCore/src/kwq/kdecore/kwinmodule.h
@@ -30,12 +30,36 @@
class QRect;
+// class KWinModule ============================================================
+
class KWinModule : public QObject {
public:
- KWinModule(QObject* parent = 0);
- QRect workArea(int desktop = - 1) const;
- void doNotManage(const QString&);
-};
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KWinModule(QObject* parent=0);
+
+ // member functions --------------------------------------------------------
+
+ QRect workArea(int desktop=-1) const;
+ void doNotManage(const QString &);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KWinModule(const KWinModule &);
+ KWinModule &operator=(const KWinModule &);
+
+}; // class KWinModule =========================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/kaction.h b/WebCore/src/kwq/kdeui/kaction.h
index 65636f3..aac8106 100644
--- a/WebCore/src/kwq/kdeui/kaction.h
+++ b/WebCore/src/kwq/kdeui/kaction.h
@@ -28,7 +28,34 @@
#include <qpopupmenu.h>
+// class KAction ===============================================================
+
class KAction {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KAction();
+
+ ~KAction();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KAction(const KAction &);
+ KAction &operator=(const KAction &);
+
+}; // class KAction ============================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/kcombobox.h b/WebCore/src/kwq/kdeui/kcombobox.h
index 86ab211..c3d3816 100644
--- a/WebCore/src/kwq/kdeui/kcombobox.h
+++ b/WebCore/src/kwq/kdeui/kcombobox.h
@@ -30,10 +30,33 @@
#include <KWQCompletion.h>
+// class KComboBox =============================================================
+
class KComboBox : public QComboBox, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KComboBox(QWidget *parent=0, const char *name=0);
KComboBox(bool rw, QWidget *parent=0, const char *name=0);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KComboBox(const KComboBox &);
+ KComboBox &operator=(const KComboBox &);
+
+}; // class KComboBox ==========================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/kcompletionbox.h b/WebCore/src/kwq/kdeui/kcompletionbox.h
index 9a99895..ac4bad4 100644
--- a/WebCore/src/kwq/kdeui/kcompletionbox.h
+++ b/WebCore/src/kwq/kdeui/kcompletionbox.h
@@ -28,7 +28,34 @@
#include "klistbox.h"
+// class KCompletionBox ========================================================
+
class KCompletionBox : public KListBox {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCompletionBox();
+
+ ~KCompletionBox();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCompletionBox(const KCompletionBox &);
+ KCompletionBox &operator=(const KCompletionBox &);
+
+}; // class KCompletionBox =====================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/kcursor.h b/WebCore/src/kwq/kdeui/kcursor.h
index f93484a..c9ac35f 100644
--- a/WebCore/src/kwq/kdeui/kcursor.h
+++ b/WebCore/src/kwq/kdeui/kcursor.h
@@ -28,11 +28,37 @@
#include <qwidget.h>
+// class KCursor ===============================================================
+
class KCursor {
public:
- KCursor();
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
static void setAutoHideCursor(QWidget *w, bool enable);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KCursor();
+
+ ~KCursor();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KCursor(const KCursor &);
+ KCursor &operator=(const KCursor &);
+
+}; // class KCursor ============================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/keditcl.h b/WebCore/src/kwq/kdeui/keditcl.h
index 7b2cf6e..6f80853 100644
--- a/WebCore/src/kwq/kdeui/keditcl.h
+++ b/WebCore/src/kwq/kdeui/keditcl.h
@@ -31,25 +31,59 @@
#include <KWQScrollBar.h>
#include <qstring.h>
+
+const uint Tbl_vScrollBar = 0x00000001;
+const uint Tbl_hScrollBar = 0x00000002;
+const uint Tbl_autoVScrollBar = 0x00000004;
+const uint Tbl_autoHScrollBar = 0x00000008;
+const uint Tbl_autoScrollBars = 0x0000000C;
+
+
+// class QTableView ============================================================
+
class QTableView : public QFrame {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ QTableView();
+
+ ~QTableView();
+
+ // member functions --------------------------------------------------------
+
QScrollBar *verticalScrollBar() const;
QScrollBar *horizontalScrollBar() const;
virtual void setTableFlags(uint);
void clearTableFlags(uint f = ~0);
-};
-const uint Tbl_vScrollBar = 0x00000001;
-const uint Tbl_hScrollBar = 0x00000002;
-const uint Tbl_autoVScrollBar = 0x00000004;
-const uint Tbl_autoHScrollBar = 0x00000008;
-const uint Tbl_autoScrollBars = 0x0000000C;
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+private:
+ // no copying or assignment
+ QTableView(const QTableView &);
+ QTableView &operator=(const QTableView &);
+
+}; // class QTableView =========================================================
+
+
+// class QMultiLineEdit ========================================================
class QMultiLineEdit : public QTableView {
public:
+ // structs -----------------------------------------------------------------
+
enum WordWrap {
NoWrap,
WidgetWidth,
@@ -57,6 +91,18 @@ public:
FixedColumnWidth
};
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ QMultiLineEdit();
+
+ ~QMultiLineEdit();
+
+ // member functions --------------------------------------------------------
+
void setWordWrap(WordWrap);
WordWrap wordWrap() const;
bool hasMarkedText() const;
@@ -69,13 +115,49 @@ public:
QString textLine(int line) const;
int numLines() const;
void selectAll();
-};
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ QMultiLineEdit(const QMultiLineEdit &);
+ QMultiLineEdit &operator=(const QMultiLineEdit &);
+
+}; // class QMultiLineEdit =====================================================
+
+
+// class KEdit =================================================================
class KEdit : public QMultiLineEdit {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KEdit();
KEdit(QWidget *);
-};
-#endif
+ ~KEdit();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KEdit(const KEdit &);
+ KEdit &operator=(const KEdit &);
+
+}; // class KEdit ==============================================================
+
+#endif
\ No newline at end of file
diff --git a/WebCore/src/kwq/kdeui/klineedit.h b/WebCore/src/kwq/kdeui/klineedit.h
index 0771da2..d48868e 100644
--- a/WebCore/src/kwq/kdeui/klineedit.h
+++ b/WebCore/src/kwq/kdeui/klineedit.h
@@ -32,13 +32,39 @@
#include "kcompletionbox.h"
+// class __class_name__ ========================================================
+
class KLineEdit : public QLineEdit, public QCompletionBase {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KLineEdit(QWidget *parent=0, const char *name=0);
+
+ ~KLineEdit();
+
+ // member functions --------------------------------------------------------
void setMouseTracking(bool);
virtual void setContextMenuEnabled(bool showMenu);
KCompletionBox *completionBox(bool create);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KLineEdit(const KLineEdit &);
+ KLineEdit &operator=(const KLineEdit &);
+
+}; // class __class_name__ =====================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/klistbox.h b/WebCore/src/kwq/kdeui/klistbox.h
index f90c719..fe29dc8 100644
--- a/WebCore/src/kwq/kdeui/klistbox.h
+++ b/WebCore/src/kwq/kdeui/klistbox.h
@@ -29,10 +29,33 @@
#include <KWQListBox.h>
#include <qwidget.h>
+// class KListBox ==============================================================
+
class KListBox : public QListBox {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
KListBox();
KListBox(QWidget *);
-};
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KListBox(const KListBox &);
+ KListBox &operator=(const KListBox &);
+
+}; // class KListBox ===========================================================
#endif
diff --git a/WebCore/src/kwq/kdeui/kmessagebox.h b/WebCore/src/kwq/kdeui/kmessagebox.h
index 82b9507..5a8516d 100644
--- a/WebCore/src/kwq/kdeui/kmessagebox.h
+++ b/WebCore/src/kwq/kdeui/kmessagebox.h
@@ -29,19 +29,56 @@
#include <qwidget.h>
#include <qstring.h>
+// class KMessageBox ===========================================================
+
class KMessageBox {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum { Ok = 1, Cancel = 2, Yes = 3, No = 4, Continue = 5 };
- static void error(QWidget *, const QString &, const QString &caption =
- QString::null, bool notify = true);
- static int warningYesNo(QWidget *, const QString &, const QString &caption
- = QString::null, const QString &buttonYes = QString::null, const
- QString &buttonNo = QString::null, bool notify = true);
- static int questionYesNo(QWidget *, const QString &, const QString &caption
- = QString::null, const QString &buttonYes = QString::null, const
- QString &buttonNo = QString::null, bool notify = true);
- static void sorry(QWidget *, const QString &, const QString &caption =
- QString::null, bool notify = true);
-};
+
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static void error(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true);
+
+ static int warningYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null,
+ bool notify=true);
+
+ static int questionYesNo(QWidget *, const QString &,
+ const QString &caption=QString::null,
+ const QString &buttonYes=QString::null,
+ const QString &buttonNo=QString::null, bool notify=true);
+
+ static void sorry(QWidget *, const QString &,
+ const QString &caption=QString::null, bool notify=true);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KMessageBox();
+
+ ~KMessageBox();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KMessageBox(const KMessageBox &);
+ KMessageBox &operator=(const KMessageBox &);
+
+}; // class KMessageBox ========================================================
#endif
diff --git a/WebCore/src/kwq/kfile/kfiledialog.h b/WebCore/src/kwq/kfile/kfiledialog.h
index 07b11e6..2bb00c1 100644
--- a/WebCore/src/kwq/kfile/kfiledialog.h
+++ b/WebCore/src/kwq/kfile/kfiledialog.h
@@ -29,10 +29,39 @@
#include <qstring.h>
#include <qwidget.h>
+// class KFileDialog ===========================================================
+
class KFileDialog {
public:
- static QString getOpenFileName(const QString& startDir= QString::null, const QString& filter= QString::null,
- QWidget *parent= 0, const QString& caption = QString::null);
-};
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QString getOpenFileName(const QString &startDir=QString::null,
+ const QString &filter=QString::null, QWidget *parent=0,
+ const QString &caption=QString::null);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileDialog();
+
+ ~KFileDialog();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileDialog(const KFileDialog &);
+ KFileDialog &operator=(const KFileDialog &);
+
+}; // class KFileDialog ========================================================
#endif
diff --git a/WebCore/src/kwq/kio/job.h b/WebCore/src/kwq/kio/job.h
index f15f47a..4c04a54 100644
--- a/WebCore/src/kwq/kio/job.h
+++ b/WebCore/src/kwq/kio/job.h
@@ -35,8 +35,10 @@
// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
-SimpleJob *http_update_cache(const KURL& url, bool no_cache, time_t expireDate);
-TransferJob *get(const KURL& url, bool reload=false, bool showProgressInfo = true);
+SimpleJob *http_update_cache(const KURL &, bool, time_t);
+
+TransferJob *get(const KURL &url, bool reload=false,
+ bool showProgressInfo=true);
} // namespace KIO
diff --git a/WebCore/src/kwq/kio/jobclasses.h b/WebCore/src/kwq/kio/jobclasses.h
index 4faf865..94dbf1c 100644
--- a/WebCore/src/kwq/kio/jobclasses.h
+++ b/WebCore/src/kwq/kio/jobclasses.h
@@ -31,22 +31,107 @@
namespace KIO {
+// class Job ===================================================================
+
class Job : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+ // constructors, copy constructors, and destructors ------------------------
+
+ Job();
+
+ virtual ~Job();
+
+ // member functions --------------------------------------------------------
+
int error();
const QString & errorText();
QString errorString();
virtual void kill(bool quietly = true);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Job(const Job &);
+ Job &operator=(const Job &);
+
+}; // class Job ================================================================
+
+
+// class SimpleJob =============================================================
class SimpleJob : public KIO::Job {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ SimpleJob();
+
+ virtual ~SimpleJob();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ SimpleJob(const SimpleJob &);
+ SimpleJob &operator=(const SimpleJob &);
+
+}; // class SimpleJob ==========================================================
+
+
+// class TransferJob ===========================================================
class TransferJob : public SimpleJob {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ TransferJob();
+
+ virtual ~TransferJob();
+
+ // member functions --------------------------------------------------------
+
bool isErrorPage() const;
void addMetaData(const QString &key, const QString &value);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ TransferJob(const TransferJob &);
+ TransferJob &operator=(const TransferJob &);
+
+}; // class TransferJob ========================================================
+
} // namespace KIO
diff --git a/WebCore/src/kwq/kio/kfileitem.h b/WebCore/src/kwq/kio/kfileitem.h
index 20abe2b..e749c3e 100644
--- a/WebCore/src/kwq/kio/kfileitem.h
+++ b/WebCore/src/kwq/kio/kfileitem.h
@@ -28,11 +28,36 @@
#include <netaccess.h>
+// class KFileItem =============================================================
+
class KFileItem {
public:
- KFileItem(const KIO::UDSEntry &, const KURL &, bool foo = false, bool bar =
- false);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KFileItem(const KIO::UDSEntry &, const KURL &, bool foo=false,
+ bool bar=false);
+
+ // member functions --------------------------------------------------------
+
bool isDir() const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KFileItem(const KFileItem &);
+ KFileItem &operator=(const KFileItem &);
+
+}; // class KFileItem ==========================================================
#endif
diff --git a/WebCore/src/kwq/kio/kimageio.h b/WebCore/src/kwq/kio/kimageio.h
index 6bcab4f..d428a01 100644
--- a/WebCore/src/kwq/kio/kimageio.h
+++ b/WebCore/src/kwq/kio/kimageio.h
@@ -28,11 +28,41 @@
#include <qstringlist.h>
+// class KImageIO ==============================================================
+
class KImageIO {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+
+ // enums -------------------------------------------------------------------
+
enum Mode { Reading, Writing };
- static QStringList mimeTypes(Mode _mode = Writing);
-};
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QStringList mimeTypes(Mode mode=Writing);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KImageIO();
+
+ ~KImageIO();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KImageIO(const KImageIO &);
+ KImageIO &operator=(const KImageIO &);
+
+}; // class KImageIO ===========================================================
#endif
diff --git a/WebCore/src/kwq/kio/kmimetype.h b/WebCore/src/kwq/kio/kmimetype.h
index 406444c..0b3f004 100644
--- a/WebCore/src/kwq/kio/kmimetype.h
+++ b/WebCore/src/kwq/kio/kmimetype.h
@@ -26,24 +26,83 @@
#ifndef KMIMETYPE_H_
#define KMIMETYPE_H_
-// FIXME: grotesque hack to get khtml/html/html_formimpl.cpp:198 to compile
#include <kdecore/kglobal.h>
#include <kdecore/kurl.h>
#include <sys/types.h>
#include <qstring.h>
-template<class T> class KSharedPtr
-{
+// class KSharedPtr ============================================================
+
+template<class T> class KSharedPtr {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KSharedPtr();
+
+ KSharedPtr(const KSharedPtr &);
+
+ virtual ~KSharedPtr();
+
+ // member functions --------------------------------------------------------
+
+ // operators ---------------------------------------------------------------
+
+ KSharedPtr &operator=(const KSharedPtr &);
T *operator->();
-};
+
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+}; // class KSharedPtr =========================================================
+
+
+// class KMimeType =============================================================
class KMimeType {
public:
+
+ // structs -----------------------------------------------------------------
+
+ // typedefs ----------------------------------------------------------------
+
typedef KSharedPtr<KMimeType> Ptr;
- static Ptr findByURL(const KURL &, mode_t = 0, bool = false, bool = false);
+
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ static Ptr findByURL(const KURL &, mode_t=0, bool=false, bool=false);
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KMimeType();
+
+ ~KMimeType();
+
+ // member functions --------------------------------------------------------
+
QString name() const;
-};
-#endif
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KMimeType(const KMimeType &);
+ KMimeType &operator=(const KMimeType &);
+
+}; // class KMimeType ==========================================================
+
+
+#endif
\ No newline at end of file
diff --git a/WebCore/src/kwq/kio/kprotocolmanager.h b/WebCore/src/kwq/kio/kprotocolmanager.h
index bcb6cf0..e0f81b6 100644
--- a/WebCore/src/kwq/kio/kprotocolmanager.h
+++ b/WebCore/src/kwq/kio/kprotocolmanager.h
@@ -28,11 +28,39 @@
class QString;
+// class KProtocolManager ======================================================
+
class KProtocolManager {
public:
- static QString userAgentForHost(const QString&);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
+ static QString userAgentForHost(const QString &);
static bool useProxy();
static QString httpProxy();
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KProtocolManager();
+
+ ~KProtocolManager();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KProtocolManager(const KProtocolManager &);
+ KProtocolManager &operator=(const KProtocolManager &);
+
+}; // class KProtocolManager ===================================================
#endif
diff --git a/WebCore/src/kwq/kio/netaccess.h b/WebCore/src/kwq/kio/netaccess.h
index b270e47..c663cad 100644
--- a/WebCore/src/kwq/kio/netaccess.h
+++ b/WebCore/src/kwq/kio/netaccess.h
@@ -31,19 +31,79 @@
namespace KIO {
-class UDSAtom {
-};
+class UDSAtom;
typedef QValueList<UDSAtom> UDSEntry;
+
+// class UDSAtom ===============================================================
+
+class UDSAtom {
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ UDSAtom();
+
+ ~UDSAtom();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ UDSAtom(const UDSAtom &);
+ UDSAtom &operator=(const UDSAtom &);
+
+}; // class UDSAtom ============================================================
+
+
+// class NetAccess =============================================================
+
class NetAccess {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static bool stat(const KURL &, KIO::UDSEntry &);
static QString lastErrorString();
static bool download(const KURL &, QString &);
static void removeTempFile(const QString &);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ NetAccess();
+
+ ~NetAccess();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ NetAccess(const NetAccess &);
+ NetAccess &operator=(const NetAccess &);
+
+}; // class NetAccess ==========================================================
+
+
+} // namespace KIO
#endif
diff --git a/WebCore/src/kwq/kio/scheduler.h b/WebCore/src/kwq/kio/scheduler.h
index 78dd266..f3e90b0 100644
--- a/WebCore/src/kwq/kio/scheduler.h
+++ b/WebCore/src/kwq/kio/scheduler.h
@@ -31,11 +31,41 @@
namespace KIO {
+// class Scheduler =============================================================
+
class Scheduler {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static void scheduleJob(SimpleJob *job);
-};
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Scheduler();
+
+ ~Scheduler();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Scheduler(const Scheduler &);
+ Scheduler &operator=(const Scheduler &);
+
+}; // class Scheduler ==========================================================
+
} // namespace KIO
#endif
+
diff --git a/WebCore/src/kwq/kparts/browserextension.h b/WebCore/src/kwq/kparts/browserextension.h
index 97d9862..b90bff5 100644
--- a/WebCore/src/kwq/kparts/browserextension.h
+++ b/WebCore/src/kwq/kparts/browserextension.h
@@ -35,13 +35,39 @@
#include "part.h"
#include "browserinterface.h"
-// This is a bad hack to get some rendering code to work
+// class KXMLGUIClient =========================================================
+
class KXMLGUIClient {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ KXMLGUIClient();
+
+ ~KXMLGUIClient();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ KXMLGUIClient(const KXMLGUIClient &);
+ KXMLGUIClient &operator=(const KXMLGUIClient &);
+
+}; // class KXMLGUIClient ======================================================
+
namespace KParts {
-// Added for compilation of khtml/khtml_part.h:695
struct URLArgs {
QString frameName;
QString serviceType;
@@ -59,19 +85,79 @@ struct WindowArgs {
bool fullscreen;
};
+// class BrowserExtension ======================================================
+
class BrowserExtension {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserExtension();
+
+ ~BrowserExtension();
+
+ // member functions --------------------------------------------------------
+
BrowserInterface *browserInterface() const;
- void openURLRequest(const KURL &, const KParts::URLArgs &args =
- KParts::URLArgs());
+
+ void openURLRequest(const KURL &,
+ const KParts::URLArgs &args=KParts::URLArgs());
+
void createNewWindow(const KURL &);
- void createNewWindow(const KURL &, const KParts::URLArgs &, const
- KParts::WindowArgs &, KParts::ReadOnlyPart *&);
-};
+
+ void createNewWindow(const KURL &, const KParts::URLArgs &,
+ const KParts::WindowArgs &, KParts::ReadOnlyPart *&);
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserExtension(const BrowserExtension &);
+ BrowserExtension &operator=(const BrowserExtension &);
+
+}; // class BrowserExtension ===================================================
+
+
+// class BrowserHostExtension ==================================================
class BrowserHostExtension {
-};
+public:
-}; // namespace KParts
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ BrowserHostExtension();
+ ~BrowserHostExtension();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserHostExtension(const BrowserHostExtension &);
+ BrowserHostExtension &operator=(const BrowserHostExtension &);
+
+}; // class BrowserHostExtension ===============================================
+
+} // namespace KParts
#endif
+
+
diff --git a/WebCore/src/kwq/kparts/browserinterface.h b/WebCore/src/kwq/kparts/browserinterface.h
index 07bf114..8e38a5d 100644
--- a/WebCore/src/kwq/kparts/browserinterface.h
+++ b/WebCore/src/kwq/kparts/browserinterface.h
@@ -33,9 +33,36 @@ namespace KParts {
class BrowserInterface : public QObject {
public:
+
+// class BrowserInterface ======================================================
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
BrowserInterface(QObject *parent, const char *name = 0);
+
+ ~BrowserInterface();
+
+ // member functions --------------------------------------------------------
+
void callMethod(const char *name, const QVariant &argument);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ BrowserInterface(const BrowserInterface &);
+ BrowserInterface &operator=(const BrowserInterface &);
+
+}; // class BrowserInterface ===================================================
} // namespace KParts
diff --git a/WebCore/src/kwq/kparts/event.h b/WebCore/src/kwq/kparts/event.h
index ca91b05..2ce1eeb 100644
--- a/WebCore/src/kwq/kparts/event.h
+++ b/WebCore/src/kwq/kparts/event.h
@@ -28,19 +28,43 @@
#include <qevent.h>
-// FIXME: pre-declare here for parse error workaround at line 129 of
-// khtml/khtml_events.h
class QPainter;
namespace KParts {
+// class Event =================================================================
+
class Event {
public:
- Event(const char *);
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
static bool test(const QEvent *);
static bool test(const QEvent *, const char *);
-};
-}
+ // constructors, copy constructors, and destructors ------------------------
+
+ Event(const char *);
+
+ virtual ~Event();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Event(const Event &);
+ Event &operator=(const Event &);
+
+}; // class Event ==============================================================
+
+} // namespace KParts
#endif
diff --git a/WebCore/src/kwq/kparts/factory.h b/WebCore/src/kwq/kparts/factory.h
index ae230f4..c019da5 100644
--- a/WebCore/src/kwq/kparts/factory.h
+++ b/WebCore/src/kwq/kparts/factory.h
@@ -28,10 +28,39 @@
#include "part.h"
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+
+// class Factory ===============================================================
+
class Factory {
-};
-}
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Factory();
+
+ ~Factory();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Factory(const Factory &);
+ Factory &operator=(const Factory &);
+
+}; // class Factory ============================================================
+
+} // namespace KParts
#endif
+
diff --git a/WebCore/src/kwq/kparts/historyprovider.h b/WebCore/src/kwq/kparts/historyprovider.h
index 755ef56..edbcdb7 100644
--- a/WebCore/src/kwq/kparts/historyprovider.h
+++ b/WebCore/src/kwq/kparts/historyprovider.h
@@ -26,19 +26,50 @@
#ifndef HISTORYPROVIDER_H_
#define HISTORYPROVIDER_H_
-// FIXME: do we still need "part.h"?
-//#include "part.h"
#include <qobject.h>
-// added to help in compilation of khtml/khtml_factory.h:34
namespace KParts {
+// class HistoryProvider =======================================================
+
class HistoryProvider : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+
+ // static member functions -------------------------------------------------
+
static HistoryProvider *self();
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ HistoryProvider();
+
+ ~HistoryProvider();
+
+ // member functions --------------------------------------------------------
+
bool contains(const QString &) const;
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ HistoryProvider(const HistoryProvider &);
+ HistoryProvider &operator=(const HistoryProvider &);
+
+}; // class HistoryProvider ====================================================
+
} // namespace KParts
#endif
+
+
+
diff --git a/WebCore/src/kwq/kparts/part.h b/WebCore/src/kwq/kparts/part.h
index b4cc3f5..52334b6 100644
--- a/WebCore/src/kwq/kparts/part.h
+++ b/WebCore/src/kwq/kparts/part.h
@@ -33,39 +33,116 @@
#include <qstringlist.h>
#include <qvaluelist.h>
-// added to help in compilation of khtml/khtml_part.h:867
namespace KIO {
class Job;
} // namespace KIO
-// forward declaration hack to help in compilation of khtml/khtml_part.h:166
class QWidget;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:552
class QCursor;
-
-// forward declaration hack to help in compilation of khtml/khtml_part.h:631
class QDataStream;
-
-// forward declaration hack to help in compilation of khtml/ecma/kjs_binding.cpp:28
class QPainter;
namespace KParts {
+// class Part ==================================================================
+
class Part : public QObject {
public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ Part();
+
+ ~Part();
+
+ // member functions --------------------------------------------------------
+
QWidget *widget();
void setWindowCaption(const QString &);
-};
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ Part(const Part &);
+ Part &operator=(const Part &);
+
+}; // class Part ===============================================================
+
+
+// class ReadOnlyPart ==========================================================
class ReadOnlyPart : public Part {
public:
- virtual const KURL & url() const;
-};
-// hack to help in compilation of khtml/khtml_part.h:785
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ ReadOnlyPart();
+
+ ~ReadOnlyPart();
+
+ // member functions --------------------------------------------------------
+
+ virtual const KURL &url() const;
+
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ ReadOnlyPart(const ReadOnlyPart &);
+ ReadOnlyPart &operator=(const ReadOnlyPart &);
+
+}; // class ReadOnlyPart =======================================================
+
+
+// class GUIActivateEvent ======================================================
+
class GUIActivateEvent {
-};
+public:
+
+ // structs -----------------------------------------------------------------
+ // typedefs ----------------------------------------------------------------
+ // enums -------------------------------------------------------------------
+ // constants ---------------------------------------------------------------
+ // static member functions -------------------------------------------------
+
+ // constructors, copy constructors, and destructors ------------------------
+
+ GUIActivateEvent();
+
+ ~GUIActivateEvent();
+
+ // member functions --------------------------------------------------------
+ // operators ---------------------------------------------------------------
+
+// protected -------------------------------------------------------------------
+// private ---------------------------------------------------------------------
+
+private:
+ // no copying or assignment
+ GUIActivateEvent(const GUIActivateEvent &);
+ GUIActivateEvent &operator=(const GUIActivateEvent &);
+
+}; // class GUIActivateEvent ===================================================
+
} // namespace KParts
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list