summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_texticons.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/options/optw_texticons.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: