summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimedialogs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kimagemapeditor/kimedialogs.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
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
Diffstat (limited to 'kimagemapeditor/kimedialogs.h')
-rw-r--r--kimagemapeditor/kimedialogs.h38
1 files changed, 22 insertions, 16 deletions
diff --git a/kimagemapeditor/kimedialogs.h b/kimagemapeditor/kimedialogs.h
index 7445e584..90b445a2 100644
--- a/kimagemapeditor/kimedialogs.h
+++ b/kimagemapeditor/kimedialogs.h
@@ -2,7 +2,7 @@
kimedialogs.h - description
-------------------
begin : Tue Apr 17 2001
- copyright : (C) 2001 by Jan Sch�fer
+ copyright : (C) 2001 by Jan Sch�fer
***************************************************************************/
@@ -33,8 +33,9 @@ class TQSpinBox;
class CoordsEdit : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public :
- CoordsEdit(TQWidget *parent, Area* a);
+ CoordsEdit(TQWidget *tqparent, Area* a);
virtual ~CoordsEdit();
virtual void applyChanges();
protected:
@@ -47,7 +48,7 @@ Q_OBJECT
class RectCoordsEdit : public CoordsEdit {
public:
- RectCoordsEdit(TQWidget *parent, Area* a);
+ RectCoordsEdit(TQWidget *tqparent, Area* a);
virtual void applyChanges();
private:
TQSpinBox *topXSpin;
@@ -58,7 +59,7 @@ class RectCoordsEdit : public CoordsEdit {
class CircleCoordsEdit : public CoordsEdit {
public:
- CircleCoordsEdit(TQWidget *parent, Area* a);
+ CircleCoordsEdit(TQWidget *tqparent, Area* a);
virtual void applyChanges();
private:
TQSpinBox *centerXSpin;
@@ -69,9 +70,10 @@ class CircleCoordsEdit : public CoordsEdit {
class TQTable;
class PolyCoordsEdit : public CoordsEdit {
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
public:
- PolyCoordsEdit(TQWidget *parent, Area* a);
+ PolyCoordsEdit(TQWidget *tqparent, Area* a);
~PolyCoordsEdit();
virtual void applyChanges();
private:
@@ -84,9 +86,10 @@ Q_OBJECT
};
class SelectionCoordsEdit : public CoordsEdit {
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
public:
- SelectionCoordsEdit(TQWidget *parent, Area* a);
+ SelectionCoordsEdit(TQWidget *tqparent, Area* a);
virtual void applyChanges();
private:
TQSpinBox *topXSpin;
@@ -99,7 +102,8 @@ class TQCheckBox;
class TQGridLayout;
class AreaDialog : public KDialog {
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
private:
Area *area;
Area *oldArea; // Only for drawing reasons
@@ -118,13 +122,13 @@ Q_OBJECT
TQLineEdit *onMouseOutEdit;
CoordsEdit *coordsEdit;
- CoordsEdit* createCoordsEdit(TQWidget *parent, Area *a);
+ CoordsEdit* createCoordsEdit(TQWidget *tqparent, Area *a);
TQCheckBox *defaultAreaChk;
KImageMapEditor *_document;
public:
- AreaDialog(KImageMapEditor* parent,Area * a);
+ AreaDialog(KImageMapEditor* tqparent,Area * a);
~AreaDialog();
protected slots:
virtual void slotOk();
@@ -133,7 +137,7 @@ Q_OBJECT
void slotChooseHref();
void slotUpdateArea();
- TQLineEdit* createLineEdit(TQWidget* parent, TQGridLayout *layout, int y, const TQString & value, const TQString & name);
+ TQLineEdit* createLineEdit(TQWidget* tqparent, TQGridLayout *tqlayout, int y, const TQString & value, const TQString & name);
TQWidget* createGeneralPage();
TQWidget* createCoordsPage();
TQWidget* createJavascriptPage();
@@ -148,7 +152,8 @@ class TQLabel;
class ImageMapChooseDialog : public KDialogBase {
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
private:
TQTable *imageListTable;
TQLabel *imagePreview;
@@ -159,7 +164,7 @@ Q_OBJECT
KURL baseUrl;
void initImageListTable(TQWidget*);
public:
- ImageMapChooseDialog(TQWidget* parent,TQPtrList<MapTag> *_maps,TQPtrList<ImageTag> *_images, const KURL & _baseUrl);
+ ImageMapChooseDialog(TQWidget* tqparent,TQPtrList<MapTag> *_maps,TQPtrList<ImageTag> *_images, const KURL & _baseUrl);
~ImageMapChooseDialog();
KURL pixUrl;
MapTag* currentMap;
@@ -173,9 +178,10 @@ Q_OBJECT
class KConfig;
class PreferencesDialog : public KDialogBase {
-Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
public:
- PreferencesDialog(TQWidget *parent,KConfig*);
+ PreferencesDialog(TQWidget *tqparent,KConfig*);
~PreferencesDialog();
protected slots:
virtual void slotDefault( void );