summaryrefslogtreecommitdiffstats
path: root/src/modules/setup/setupwizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/setup/setupwizard.h')
-rw-r--r--src/modules/setup/setupwizard.h82
1 files changed, 42 insertions, 40 deletions
diff --git a/src/modules/setup/setupwizard.h b/src/modules/setup/setupwizard.h
index 2492007a..99226bd8 100644
--- a/src/modules/setup/setupwizard.h
+++ b/src/modules/setup/setupwizard.h
@@ -29,19 +29,19 @@
#include "kvi_tal_vbox.h"
#include "kvi_tal_hbox.h"
#include "kvi_tal_groupbox.h"
-#include <qlabel.h>
-#include <qpixmap.h>
-#include <qlineedit.h>
+#include <tqlabel.h>
+#include <tqpixmap.h>
+#include <tqlineedit.h>
#ifdef COMPILE_USE_QT4
-#include <q3buttongroup.h>
+#include <tq3buttongroup.h>
#define KviTalVButtonGroup Q3VButtonGroup
#else
- #include <qvbuttongroup.h>
-#define KviTalVButtonGroup QVButtonGroup
+ #include <tqvbuttongroup.h>
+#define KviTalVButtonGroup TQVButtonGroup
#endif
-#include <qradiobutton.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
+#include <tqradiobutton.h>
+#include <tqcombobox.h>
+#include <tqcheckbox.h>
#include "kvi_settings.h"
#include "kvi_string.h"
@@ -49,16 +49,17 @@
class KviSetupWizard;
-class KviSetupPage : public QWidget
+class KviSetupPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
KviSetupPage(KviSetupWizard * w);
~KviSetupPage();
public:
KviTalVBox * m_pVBox;
- QLabel * m_pPixmapLabel;
- QLabel * m_pTextLabel;
+ TQLabel * m_pPixmapLabel;
+ TQLabel * m_pTextLabel;
};
@@ -70,11 +71,12 @@ public:
class KviSetupWizard : public KviTalWizard
{
Q_OBJECT
+ TQ_OBJECT
public:
KviSetupWizard();
~KviSetupWizard();
public:
- QPixmap * m_pLabelPixmap;
+ TQPixmap * m_pLabelPixmap;
KviSetupPage * m_pWelcome;
KviSetupPage * m_pLicense;
@@ -87,32 +89,32 @@ public:
// Theme
KviTalVButtonGroup * m_pThemeButtonGroup;
- QRadioButton * m_pThemeHiRes;
- QRadioButton * m_pThemeLoRes;
- QRadioButton * m_pThemeNone;
+ TQRadioButton * m_pThemeHiRes;
+ TQRadioButton * m_pThemeLoRes;
+ TQRadioButton * m_pThemeNone;
// Welcome
- QCheckBox * m_pCreateUrlHandlers;
- QCheckBox * m_pCreateDesktopShortcut;
+ TQCheckBox * m_pCreateUrlHandlers;
+ TQCheckBox * m_pCreateDesktopShortcut;
//Dir
- QLineEdit * m_pDataPathEdit;
- QLineEdit * m_pIncomingPathEdit;
+ TQLineEdit * m_pDataPathEdit;
+ TQLineEdit * m_pIncomingPathEdit;
KviTalVButtonGroup * m_pDirButtonGroup;
- QRadioButton * m_pDirUsePrev;
- QRadioButton * m_pDirUseNew;
+ TQRadioButton * m_pDirUsePrev;
+ TQRadioButton * m_pDirUseNew;
#ifdef COMPILE_ON_WINDOWS
- QRadioButton * m_pDirMakePortable;
+ TQRadioButton * m_pDirMakePortable;
#endif
- //QRadioButton * m_pDirRestore;
- QLineEdit * m_pOldDataPathEdit;
+ //TQRadioButton * m_pDirRestore;
+ TQLineEdit * m_pOldDataPathEdit;
KviTalHBox * m_pOldPathBox;
KviTalHBox * m_pNewPathBox;
KviTalHBox * m_pNewIncomingBox;
//Identify
- QComboBox * m_pAgeCombo;
- QComboBox * m_pGenderCombo;
+ TQComboBox * m_pAgeCombo;
+ TQComboBox * m_pGenderCombo;
KviStringSelector * m_pNickSelector;
KviStringSelector * m_pRealNameSelector;
@@ -122,18 +124,18 @@ public:
//Servers
//KviTalVButtonGroup * m_pServersButtonGroup;
- //QRadioButton * m_pServersChooseFromList;
- //QRadioButton * m_pServersSpecifyManually;
- //QRadioButton * m_pServersOpenIrcUrl;
- //QRadioButton * m_pServersLoadConfig;
+ //TQRadioButton * m_pServersChooseFromList;
+ //TQRadioButton * m_pServersSpecifyManually;
+ //TQRadioButton * m_pServersOpenIrcUrl;
+ //TQRadioButton * m_pServersLoadConfig;
#ifdef COMPILE_ON_WINDOWS
- QString m_szMircServerIniFile;
- QRadioButton * m_pUseMircServerList;
+ TQString m_szMircServerIniFile;
+ TQRadioButton * m_pUseMircServerList;
#endif
- QString m_szServerConfigFile;
- QString m_szServerUrl;
- QString m_szServerHost;
+ TQString m_szServerConfigFile;
+ TQString m_szServerUrl;
+ TQString m_szServerHost;
unsigned int m_uServerPort;
KviStringSelector * m_pServerHostSelector;
@@ -144,7 +146,7 @@ public:
protected:
void makeLink();
void setUrlHandlers();
- virtual void showEvent(QShowEvent *e);
+ virtual void showEvent(TQShowEvent *e);
public slots:
void chooseOldDataPath();
void chooseDataPath();
@@ -155,9 +157,9 @@ public slots:
void oldDirClicked();
void newDirClicked();
- void oldDataTextChanged ( const QString & );
- void newDataTextChanged ( const QString & );
- void newIncomingTextChanged ( const QString & );
+ void oldDataTextChanged ( const TQString & );
+ void newDataTextChanged ( const TQString & );
+ void newIncomingTextChanged ( const TQString & );
};