summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimedialogs.h
diff options
context:
space:
mode:
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
email : janschaefer@users.sourceforge.net
***************************************************************************/
@@ -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 );