summaryrefslogtreecommitdiffstats
path: root/src/modules/theme/managementdialog.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/theme/managementdialog.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/theme/managementdialog.h')
-rw-r--r--src/modules/theme/managementdialog.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/src/modules/theme/managementdialog.h b/src/modules/theme/managementdialog.h
index 52ae0f86..97e47344 100644
--- a/src/modules/theme/managementdialog.h
+++ b/src/modules/theme/managementdialog.h
@@ -28,28 +28,28 @@
#include "kvi_pointerlist.h"
#include "kvi_theme.h"
-#include <qdialog.h>
+#include <tqdialog.h>
#ifdef COMPILE_USE_QT4
-#include <q3simplerichtext.h>
+#include <tq3simplerichtext.h>
#define KviTalSimpleRichText Q3SimpleRichText
#else
-#include <qsimplerichtext.h>
-#define KviTalSimpleRichText QSimpleRichText
+#include <tqsimplerichtext.h>
+#define KviTalSimpleRichText TQSimpleRichText
#endif
#include "kvi_tal_listbox.h"
-#include <qcombobox.h>
+#include <tqcombobox.h>
#include "kvi_tal_popupmenu.h"
-#include <qcursor.h>
+#include <tqcursor.h>
#include <kvi_tal_wizard.h>
-class QLineEdit;
+class TQLineEdit;
class KviTalTextEdit;
-class QPushButton;
-class QLabel;
-class QCheckBox;
+class TQPushButton;
+class TQLabel;
+class TQCheckBox;
-//class QMultiLineEdit;
+//class TQMultiLineEdit;
class KviDynamicToolTip;
class KviStyledToolButton;
@@ -67,15 +67,16 @@ public:
KviThemeInfo * themeInfo(){ return m_pThemeInfo; };
virtual int height ( const KviTalListBox * lb ) const ;
protected:
- virtual void paint ( QPainter * painter );
+ virtual void paint ( TQPainter * painter );
};
-class KviThemeManagementDialog : public QDialog
+class KviThemeManagementDialog : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviThemeManagementDialog(QWidget * parent);
+ KviThemeManagementDialog(TQWidget * tqparent);
virtual ~KviThemeManagementDialog();
protected:
static KviThemeManagementDialog * m_pInstance;
@@ -88,9 +89,9 @@ public:
static void display();
static void cleanup();
protected:
- void fillThemeBox(const QString &szDir);
+ void fillThemeBox(const TQString &szDir);
bool hasSelectedItems();
- virtual void closeEvent(QCloseEvent * e);
+ virtual void closeEvent(TQCloseEvent * e);
protected slots:
void saveCurrentTheme();
void getMoreThemes();
@@ -102,8 +103,8 @@ protected slots:
void applyTheme(KviTalListBoxItem *);
void applyCurrentTheme();
void enableDisableButtons();
- void contextMenuRequested(KviTalListBoxItem * item, const QPoint & pos);
- void tipRequest(KviDynamicToolTip *pTip,const QPoint &pnt);
+ void contextMenuRequested(KviTalListBoxItem * item, const TQPoint & pos);
+ void tipRequest(KviDynamicToolTip *pTip,const TQPoint &pnt);
};
#endif //!_MANAGEMENTDIALOG_H_