diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:16:40 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:16:40 +0000 |
commit | 2b68fbb8009068b07eabe253cc02b8c2ebadfb86 (patch) | |
tree | 8286e225337388beeccc53cc23a08a03a5562676 /src/kdmtheme.h | |
parent | 215dff23960d6691b85f8417b2695b0a911fa3a1 (diff) | |
download | tdmtheme-2b68fbb8009068b07eabe253cc02b8c2ebadfb86.tar.gz tdmtheme-2b68fbb8009068b07eabe253cc02b8c2ebadfb86.zip |
TQt4 port kdmtheme
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdmtheme@1239295 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kdmtheme.h')
-rw-r--r-- | src/kdmtheme.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kdmtheme.h b/src/kdmtheme.h index 3496464..e371826 100644 --- a/src/kdmtheme.h +++ b/src/kdmtheme.h @@ -24,20 +24,21 @@ #include <kconfig.h> #include <kcmodule.h> -#include <qwidget.h> +#include <tqwidget.h> class ThemeData; -class QLabel; -class QPushButton; -class QListView; -class QCheckBox; +class TQLabel; +class TQPushButton; +class TQListView; +class TQCheckBox; class KDMThemeWidget : public KCModule { Q_OBJECT + TQ_OBJECT public: - KDMThemeWidget( QWidget *parent = 0, const char *name=0, const QStringList& = QStringList() ); + KDMThemeWidget( TQWidget *tqparent = 0, const char *name=0, const TQStringList& = TQStringList() ); virtual void load(); virtual void save(); @@ -45,19 +46,19 @@ class KDMThemeWidget : public KCModule { void setReadOnly( bool ); private: - void selectTheme( const QString & ); - void insertTheme( const QString & ); + void selectTheme( const TQString & ); + void insertTheme( const TQString & ); void updateInfoView( ThemeData * ); - QListView *themeWidget; - QLabel *preview; - QLabel *info; - QPushButton *bInstallTheme; - QPushButton *bRemoveTheme; - QCheckBox *cUseTheme; + TQListView *themeWidget; + TQLabel *preview; + TQLabel *info; + TQPushButton *bInstallTheme; + TQPushButton *bRemoveTheme; + TQCheckBox *cUseTheme; ThemeData *defaultTheme; - QString themeDir; + TQString themeDir; KConfig *config; protected slots: |