From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kimagemapeditor/kimagemapeditor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kimagemapeditor/kimagemapeditor.h') diff --git a/kimagemapeditor/kimagemapeditor.h b/kimagemapeditor/kimagemapeditor.h index f6177f9b..d2d6e24c 100644 --- a/kimagemapeditor/kimagemapeditor.h +++ b/kimagemapeditor/kimagemapeditor.h @@ -130,11 +130,12 @@ class KDockMainWindow; class KImageMapEditor : public KParts::ReadWritePart { Q_OBJECT + TQ_OBJECT public : enum ToolType { Selection, Rectangle, Circle, Polygon, Freehand, AddPoint, RemovePoint }; - KImageMapEditor(TQWidget *parentWidget, const char *, - TQObject *parent, const char *name, const TQStringList & args = TQStringList()); + KImageMapEditor(TQWidget *tqparentWidget, const char *, + TQObject *tqparent, const char *name, const TQStringList & args = TQStringList()); virtual ~KImageMapEditor(); static KAboutData *createAboutData(); @@ -213,7 +214,7 @@ public : protected: void init(); - bool openHTMLFile(const KURL &, const TQString & mapName = TQString::null, const TQString & imagePath = TQString::null); + bool openHTMLFile(const KURL &, const TQString & mapName = TQString(), const TQString & imagePath = TQString()); void saveImageMap(const KURL &); /** @@ -231,7 +232,7 @@ protected: private: // Stores the hole html file in a List - // The entries are either a MapTag an ImageTag or a QString + // The entries are either a MapTag an ImageTag or a TQString HtmlContent _htmlContent; // the url of the working image; -- cgit v1.2.1