summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_texticons.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_texticons.h')
-rw-r--r--src/modules/options/optw_texticons.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/modules/options/optw_texticons.h b/src/modules/options/optw_texticons.h
index 652c7da9..fe4e2f12 100644
--- a/src/modules/options/optw_texticons.h
+++ b/src/modules/options/optw_texticons.h
@@ -32,18 +32,18 @@
-#include <qtoolbutton.h>
+#include <tqtoolbutton.h>
#include "kvi_tal_popupmenu.h"
#include "kvi_tal_hbox.h"
#ifdef COMPILE_USE_QT4
-#include <q3table.h>
+#include <tq3table.h>
#define KviTalTable Q3Table
#define KviTalTableItem Q3TableItem
#else
-#include <qtable.h>
-#define KviTalTable QTable
-#define KviTalTableItem QTableItem
+#include <tqtable.h>
+#define KviTalTable TQTable
+#define KviTalTableItem TQTableItem
#endif
class KviTextIconTableItem;
@@ -51,15 +51,16 @@ class KviTextIconTableItem;
class KviTextIconEditor : public KviTalHBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviTextIconEditor(QWidget * par,KviTextIcon * icon,KviTextIconTableItem* item);
+ KviTextIconEditor(TQWidget * par,KviTextIcon * icon,KviTextIconTableItem* item);
~KviTextIconEditor();
protected:
KviTextIconTableItem *m_pTableItem;
KviTextIcon *m_pIcon;
KviTalPopupMenu *m_pPopup;
- QToolButton *m_pIconButton;
- QToolButton *m_pBrowseButton;
+ TQToolButton *m_pIconButton;
+ TQToolButton *m_pBrowseButton;
public:
void updateIcon();
KviTextIcon* icon() { return m_pIcon; };
@@ -80,20 +81,21 @@ protected:
public:
KviTextIcon * icon() { return m_pIcon; };
void setId(int id);
- virtual QWidget * createEditor() const;
- virtual void setContentFromEditor(QWidget * w);
+ virtual TQWidget * createEditor() const;
+ virtual void setContentFromEditor(TQWidget * w);
};
class KviTextIconsOptionsWidget : public KviOptionsWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviTextIconsOptionsWidget(QWidget * parent);
+ KviTextIconsOptionsWidget(TQWidget * tqparent);
~KviTextIconsOptionsWidget();
protected:
KviTalTable * m_pTable;
- QPushButton * m_pAdd;
- QPushButton * m_pDel;
+ TQPushButton * m_pAdd;
+ TQPushButton * m_pDel;
public:
virtual void commit();
protected slots: