summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimedialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kimagemapeditor/kimedialogs.h')
-rw-r--r--kimagemapeditor/kimedialogs.h102
1 files changed, 51 insertions, 51 deletions
diff --git a/kimagemapeditor/kimedialogs.h b/kimagemapeditor/kimedialogs.h
index c87f8dfe..7e4f3809 100644
--- a/kimagemapeditor/kimedialogs.h
+++ b/kimagemapeditor/kimedialogs.h
@@ -31,10 +31,10 @@ class QMultiLineEdit;
class QSpinBox;
-class CoordsEdit : public QWidget {
+class CoordsEdit : public TQWidget {
Q_OBJECT
public :
- CoordsEdit(QWidget *parent, Area* a);
+ CoordsEdit(TQWidget *parent, Area* a);
virtual ~CoordsEdit();
virtual void applyChanges();
protected:
@@ -47,23 +47,23 @@ Q_OBJECT
class RectCoordsEdit : public CoordsEdit {
public:
- RectCoordsEdit(QWidget *parent, Area* a);
+ RectCoordsEdit(TQWidget *parent, Area* a);
virtual void applyChanges();
private:
- QSpinBox *topXSpin;
- QSpinBox *topYSpin;
- QSpinBox *widthSpin;
- QSpinBox *heightSpin;
+ TQSpinBox *topXSpin;
+ TQSpinBox *topYSpin;
+ TQSpinBox *widthSpin;
+ TQSpinBox *heightSpin;
};
class CircleCoordsEdit : public CoordsEdit {
public:
- CircleCoordsEdit(QWidget *parent, Area* a);
+ CircleCoordsEdit(TQWidget *parent, Area* a);
virtual void applyChanges();
private:
- QSpinBox *centerXSpin;
- QSpinBox *centerYSpin;
- QSpinBox *radiusSpin;
+ TQSpinBox *centerXSpin;
+ TQSpinBox *centerYSpin;
+ TQSpinBox *radiusSpin;
};
class QTable;
@@ -71,11 +71,11 @@ class QTable;
class PolyCoordsEdit : public CoordsEdit {
Q_OBJECT
public:
- PolyCoordsEdit(QWidget *parent, Area* a);
+ PolyCoordsEdit(TQWidget *parent, Area* a);
~PolyCoordsEdit();
virtual void applyChanges();
private:
- QTable *coordsTable;
+ TQTable *coordsTable;
protected slots:
void slotAddPoint();
void slotRemovePoint();
@@ -86,11 +86,11 @@ Q_OBJECT
class SelectionCoordsEdit : public CoordsEdit {
Q_OBJECT
public:
- SelectionCoordsEdit(QWidget *parent, Area* a);
+ SelectionCoordsEdit(TQWidget *parent, Area* a);
virtual void applyChanges();
private:
- QSpinBox *topXSpin;
- QSpinBox *topYSpin;
+ TQSpinBox *topXSpin;
+ TQSpinBox *topYSpin;
};
@@ -104,22 +104,22 @@ Q_OBJECT
Area *area;
Area *oldArea; // Only for drawing reasons
Area *areaCopy; // A copy for restoring the original area if user press cancel
- QLineEdit *hrefEdit;
- QLineEdit *altEdit;
- QLineEdit *targetEdit;
- QLineEdit *titleEdit;
+ TQLineEdit *hrefEdit;
+ TQLineEdit *altEdit;
+ TQLineEdit *targetEdit;
+ TQLineEdit *titleEdit;
- QLineEdit *onClickEdit;
- QLineEdit *onDblClickEdit;
- QLineEdit *onMouseDownEdit;
- QLineEdit *onMouseUpEdit;
- QLineEdit *onMouseOverEdit;
- QLineEdit *onMouseMoveEdit;
- QLineEdit *onMouseOutEdit;
+ TQLineEdit *onClickEdit;
+ TQLineEdit *onDblClickEdit;
+ TQLineEdit *onMouseDownEdit;
+ TQLineEdit *onMouseUpEdit;
+ TQLineEdit *onMouseOverEdit;
+ TQLineEdit *onMouseMoveEdit;
+ TQLineEdit *onMouseOutEdit;
CoordsEdit *coordsEdit;
- CoordsEdit* createCoordsEdit(QWidget *parent, Area *a);
- QCheckBox *defaultAreaChk;
+ CoordsEdit* createCoordsEdit(TQWidget *parent, Area *a);
+ TQCheckBox *defaultAreaChk;
KImageMapEditor *_document;
@@ -133,11 +133,11 @@ Q_OBJECT
void slotChooseHref();
void slotUpdateArea();
- QLineEdit* createLineEdit(QWidget* parent, QGridLayout *layout, int y, const QString & value, const QString & name);
- QWidget* createGeneralPage();
- QWidget* createCoordsPage();
- QWidget* createJavascriptPage();
- QWidget* createButtonBar();
+ TQLineEdit* createLineEdit(TQWidget* parent, TQGridLayout *layout, int y, const TQString & value, const TQString & name);
+ TQWidget* createGeneralPage();
+ TQWidget* createCoordsPage();
+ TQWidget* createJavascriptPage();
+ TQWidget* createButtonBar();
signals:
void areaChanged(Area* a);
};
@@ -150,23 +150,23 @@ class QLabel;
class ImageMapChooseDialog : public KDialogBase {
Q_OBJECT
private:
- QTable *imageListTable;
- QLabel *imagePreview;
- QListBox *mapListBox;
- QLineEdit *mapNameEdit;
- QPtrList<MapTag> *maps;
- QPtrList<ImageTag> *images;
+ TQTable *imageListTable;
+ TQLabel *imagePreview;
+ TQListBox *mapListBox;
+ TQLineEdit *mapNameEdit;
+ TQPtrList<MapTag> *maps;
+ TQPtrList<ImageTag> *images;
KURL baseUrl;
- void initImageListTable(QWidget*);
+ void initImageListTable(TQWidget*);
public:
- ImageMapChooseDialog(QWidget* parent,QPtrList<MapTag> *_maps,QPtrList<ImageTag> *_images, const KURL & _baseUrl);
+ ImageMapChooseDialog(TQWidget* parent,TQPtrList<MapTag> *_maps,TQPtrList<ImageTag> *_images, const KURL & _baseUrl);
~ImageMapChooseDialog();
KURL pixUrl;
MapTag* currentMap;
protected slots:
void slotImageChanged();
void slotMapChanged(int i);
- void selectImageWithUsemap(const QString & usemap);
+ void selectImageWithUsemap(const TQString & usemap);
};
@@ -175,19 +175,19 @@ class KConfig;
class PreferencesDialog : public KDialogBase {
Q_OBJECT
public:
- PreferencesDialog(QWidget *parent,KConfig*);
+ PreferencesDialog(TQWidget *parent,KConfig*);
~PreferencesDialog();
protected slots:
virtual void slotDefault( void );
virtual void slotOk( void );
virtual void slotApply( void );
private:
- QSpinBox *rowHeightSpinBox;
- QSpinBox *undoSpinBox;
- QSpinBox *redoSpinBox;
-// QCheckBox *colorizeAreaChk;
-// QCheckBox *showAltChk;
- QCheckBox *startWithCheck;
+ TQSpinBox *rowHeightSpinBox;
+ TQSpinBox *undoSpinBox;
+ TQSpinBox *redoSpinBox;
+// TQCheckBox *colorizeAreaChk;
+// TQCheckBox *showAltChk;
+ TQCheckBox *startWithCheck;
KConfig *config;
};
@@ -196,7 +196,7 @@ class KTempFile;
class HTMLPreviewDialog : public KDialogBase {
public:
- HTMLPreviewDialog(QWidget *, KURL, const QString &);
+ HTMLPreviewDialog(TQWidget *, KURL, const TQString &);
~HTMLPreviewDialog();
virtual void show();
private: