diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /configdialog/kbfxconfigapp.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/kbfxconfigapp.h')
-rw-r--r-- | configdialog/kbfxconfigapp.h | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/configdialog/kbfxconfigapp.h b/configdialog/kbfxconfigapp.h index 80f22ca..aa22861 100644 --- a/configdialog/kbfxconfigapp.h +++ b/configdialog/kbfxconfigapp.h @@ -25,20 +25,20 @@ #include <config.h> -#include <qbuttongroup.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qmap.h> -#include <qpushbutton.h> -#include <qtabwidget.h> -#include <qtextbrowser.h> -#include <qtimer.h> -#include <qtoolbox.h> -#include <qtooltip.h> -#include <qvariant.h> -#include <qwhatsthis.h> -#include <qwidgetstack.h> +#include <tqbuttongroup.h> +#include <tqgroupbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqmap.h> +#include <tqpushbutton.h> +#include <tqtabwidget.h> +#include <tqtextbrowser.h> +#include <tqtimer.h> +#include <tqtoolbox.h> +#include <tqtooltip.h> +#include <tqvariant.h> +#include <tqwhatsthis.h> +#include <tqwidgetstack.h> #include <dcopref.h> #include <kactivelabel.h> @@ -89,11 +89,12 @@ enum {THEMES=0, BUTTON, FONTS, LAYOUT, PLUGINS, TOOLTIP, STYLE, ABOUT}; class KbfxConfigApp : public KbfxConfigDlgMain { Q_OBJECT + TQ_OBJECT public: /** * Default Constructor */ - KbfxConfigApp ( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + KbfxConfigApp ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); /** * Default Destructor @@ -101,23 +102,23 @@ class KbfxConfigApp : public KbfxConfigDlgMain virtual ~KbfxConfigApp(); void InitForm(); - QString m_KbfxVersion; - QString m_KbfxVersion2; - QString m_KbfxNewsBrowserError; - QString m_KbfxNewsBrowserAddress; + TQString m_KbfxVersion; + TQString m_KbfxVersion2; + TQString m_KbfxNewsBrowserError; + TQString m_KbfxNewsBrowserAddress; void browserInit(); private: - QString m_KbfxLogoButton; - QString m_KbfxLogoThemes; - QString m_KbfxLogoAbout; - QString m_KbfxLogoLayout; - QString m_KbfxLogoTooltip; - QString m_KbfxLogoFonts; - QString m_KbfxLogoStyle; - QString m_KbfxLogoPlugins; + TQString m_KbfxLogoButton; + TQString m_KbfxLogoThemes; + TQString m_KbfxLogoAbout; + TQString m_KbfxLogoLayout; + TQString m_KbfxLogoTooltip; + TQString m_KbfxLogoFonts; + TQString m_KbfxLogoStyle; + TQString m_KbfxLogoPlugins; KbfxConfigDlgButton *pageButton; KbfxConfigDlgThemes *pageThemes; KbfxConfigDlgFonts *pageFonts; @@ -128,8 +129,8 @@ class KbfxConfigApp : public KbfxConfigDlgMain KbfxConfigDlgAbout *pageAbout; KHTMLPart * browser; KbfxKioDownload * kio; - QString m_KbfxThemeUrl; - QString m_KbfxThemeFolderUrl; + TQString m_KbfxThemeUrl; + TQString m_KbfxThemeFolderUrl; int m_KbfxPage; public slots: @@ -141,7 +142,7 @@ class KbfxConfigApp : public KbfxConfigDlgMain virtual void KbfxNewsBrowserCompleted(); virtual void KbfxNewsBrowserLoad(); virtual void KbfxGetMoreThemesClicked(); - virtual void KbfxThemeInstall ( QString & ); + virtual void KbfxThemeInstall ( TQString & ); signals: void KbfxConfigDlgButtonChanged(); @@ -152,7 +153,7 @@ class KbfxConfigApp : public KbfxConfigDlgMain void KbfxConfigDlgLayoutLeft(); void KbfxConfigDlgPluginsChanged(); void KbfxConfigDlgFontsChanged(); - void KbfxThemeDoInstall( QString & ); + void KbfxThemeDoInstall( TQString & ); }; |