From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: 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 --- src/modules/reguser/wizard.h | 65 ++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 32 deletions(-) (limited to 'src/modules/reguser/wizard.h') diff --git a/src/modules/reguser/wizard.h b/src/modules/reguser/wizard.h index f1446ec6..23cb4572 100644 --- a/src/modules/reguser/wizard.h +++ b/src/modules/reguser/wizard.h @@ -30,18 +30,19 @@ class KviPixmap; class KviPixmapSelector; class KviTalVBoxLayout; class KviTalHBoxLayout; -class QGridLayout; -class QCheckBox; -class QLabel; -class QLineEdit; -class QWidget; +class TQGridLayout; +class TQCheckBox; +class TQLabel; +class TQLineEdit; +class TQWidget; class KviRegisteredUserDataBase; class KviRegistrationWizard : public KviTalWizard { Q_OBJECT + TQ_OBJECT public: - KviRegistrationWizard(const char * startMask,KviRegisteredUserDataBase * db = 0,QWidget * par = 0,bool bModal = false); + KviRegistrationWizard(const char * startMask,KviRegisteredUserDataBase * db = 0,TQWidget * par = 0,bool bModal = false); ~KviRegistrationWizard(); KviRegisteredUserDataBase * m_pDb; @@ -50,39 +51,39 @@ public: bool m_bModal; - QWidget* m_pPage1; - QLabel* m_pLabel1; - QLineEdit* m_pEditRealName; - QWidget* m_pPage2; - QLabel* m_pLabel2; - QLineEdit* m_pNicknameEdit1; - QLineEdit* m_pNicknameEdit2; - QLineEdit* m_pHostEdit1; - QLineEdit* m_pHostEdit2; - QLineEdit* m_pUsernameEdit1; - QLineEdit* m_pUsernameEdit2; - QWidget* m_pPage3; - QLabel* m_pLabel3; + TQWidget* m_pPage1; + TQLabel* m_pLabel1; + TQLineEdit* m_pEditRealName; + TQWidget* m_pPage2; + TQLabel* m_pLabel2; + TQLineEdit* m_pNicknameEdit1; + TQLineEdit* m_pNicknameEdit2; + TQLineEdit* m_pHostEdit1; + TQLineEdit* m_pHostEdit2; + TQLineEdit* m_pUsernameEdit1; + TQLineEdit* m_pUsernameEdit2; + TQWidget* m_pPage3; + TQLabel* m_pLabel3; KviPixmapSelector * m_pAvatarSelector; - QWidget* m_pPage4; - QCheckBox* m_pNotifyCheck; - QLabel* m_pNotifyNickLabel1; - QLabel* m_pNotifyNickLabel2; - QLabel* m_pLabel4; - QLineEdit* m_pNotifyNickEdit1; - QLineEdit* m_pNotifyNickEdit2; - QWidget* m_pPage5; - QLabel* m_pTextLabel5; + TQWidget* m_pPage4; + TQCheckBox* m_pNotifyCheck; + TQLabel* m_pNotifyNickLabel1; + TQLabel* m_pNotifyNickLabel2; + TQLabel* m_pLabel4; + TQLineEdit* m_pNotifyNickEdit1; + TQLineEdit* m_pNotifyNickEdit2; + TQWidget* m_pPage5; + TQLabel* m_pTextLabel5; KviPixmap * m_pAvatar; protected: - virtual void showEvent(QShowEvent *e); + virtual void showEvent(TQShowEvent *e); virtual void accept(); virtual void reject(); protected slots: - void realNameChanged(const QString &str); - void maskChanged(const QString &str); - void notifyNickChanged(const QString &); + void realNameChanged(const TQString &str); + void tqmaskChanged(const TQString &str); + void notifyNickChanged(const TQString &); void notifyCheckToggled(bool); }; -- cgit v1.2.1