diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksplashml/themeengine/default/themelegacy.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/themeengine/default/themelegacy.h')
-rw-r--r-- | ksplashml/themeengine/default/themelegacy.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ksplashml/themeengine/default/themelegacy.h b/ksplashml/themeengine/default/themelegacy.h index b0a6138a9..ed0b8025b 100644 --- a/ksplashml/themeengine/default/themelegacy.h +++ b/ksplashml/themeengine/default/themelegacy.h @@ -15,8 +15,8 @@ #include <kprogress.h> -#include <qlabel.h> -#include <qwidget.h> +#include <tqlabel.h> +#include <tqwidget.h> #include "themeengine.h" class QPixmap; @@ -28,10 +28,10 @@ class DefaultConfig: public ThemeEngineConfig { Q_OBJECT public: - DefaultConfig( QWidget *, KConfig * ); + DefaultConfig( TQWidget *, KConfig * ); void save(); protected: - QCheckBox *mFlash, *mAlwaysShow; + TQCheckBox *mFlash, *mAlwaysShow; }; /** @@ -42,17 +42,17 @@ class KDE_EXPORT ThemeDefault : public ThemeEngine { Q_OBJECT public: - ThemeDefault( QWidget *, const char *, const QStringList& ); + ThemeDefault( TQWidget *, const char *, const TQStringList& ); virtual ~ThemeDefault(); - inline const DefaultConfig *config( QWidget *p, KConfig *c ) + inline const DefaultConfig *config( TQWidget *p, KConfig *c ) { return new DefaultConfig( p, c ); }; - static QStringList names() + static TQStringList names() { - QStringList Names; + TQStringList Names; Names << "Default"; Names << "Classic"; Names << "Klassic"; @@ -60,7 +60,7 @@ public: } public slots: - inline void slotSetText( const QString& s ) + inline void slotSetText( const TQString& s ) { if( mLabel ) mLabel->setText( s ); @@ -79,25 +79,25 @@ public slots: private slots: void slotUpdateState(); - QPixmap updateBarPixmap( int ); + TQPixmap updateBarPixmap( int ); void flash(); private: void _initUi(); void _readSettings(); - QString _findPicture( const QString &pic ); + TQString _findPicture( const TQString &pic ); // Configurable Options bool mIconsFlashing; - QColor mLabelForeground; + TQColor mLabelForeground; // Internals. KProgress *mProgressBar; - QLabel *mLabel, *mBarLabel; - QPixmap *mActivePixmap, *mInactivePixmap; + TQLabel *mLabel, *mBarLabel; + TQPixmap *mActivePixmap, *mInactivePixmap; int mState; - QTimer *mFlashTimer; - QPixmap *mFlashPixmap1, *mFlashPixmap2; + TQTimer *mFlashTimer; + TQPixmap *mFlashPixmap1, *mFlashPixmap2; }; #endif |