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/mircimport/libkvimircimport.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src/modules/mircimport/libkvimircimport.h') diff --git a/src/modules/mircimport/libkvimircimport.h b/src/modules/mircimport/libkvimircimport.h index 360e8346..1883da10 100644 --- a/src/modules/mircimport/libkvimircimport.h +++ b/src/modules/mircimport/libkvimircimport.h @@ -27,17 +27,18 @@ #include "kvi_http.h" #include -#include -#include +#include +#include class KviMircServersIniImport : public KviMexServerImport { Q_OBJECT + TQ_OBJECT public: KviMircServersIniImport(KviModuleExtensionDescriptor * d); ~KviMircServersIniImport(); public: - int doImport(const QString& filename); + int doImport(const TQString& filename); virtual void start(); virtual void die(); }; @@ -47,6 +48,7 @@ class KviRemoteMircServerImportWizard; class KviRemoteMircServersIniImport : public KviMircServersIniImport { Q_OBJECT + TQ_OBJECT public: KviRemoteMircServersIniImport(KviModuleExtensionDescriptor * d); ~KviRemoteMircServersIniImport(); @@ -60,23 +62,24 @@ public: class KviRemoteMircServerImportWizard : public KviTalWizard { Q_OBJECT + TQ_OBJECT public: KviRemoteMircServerImportWizard(KviRemoteMircServersIniImport * f); ~KviRemoteMircServerImportWizard(); protected: - QLineEdit * m_pUrlEdit; - QLabel * m_pOutput; + TQLineEdit * m_pUrlEdit; + TQLabel * m_pOutput; KviRemoteMircServersIniImport * m_pFilter; KviHttpRequest * m_pRequest; - QString m_szTmpFileName; + TQString m_szTmpFileName; protected: - virtual void closeEvent(QCloseEvent *e); + virtual void closeEvent(TQCloseEvent *e); virtual void done(int r); void start(); protected slots: - void getListMessage(const QString &message); + void getListMessage(const TQString &message); void getListTerminated(bool bSuccess); - void pageSelected(const QString &title); + void pageSelected(const TQString &title); }; #endif //_LIBKVIMIRCIMPORT_H_ -- cgit v1.2.1