diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
commit | 1d077caf68127ab1a5518df84cc5592a1b47a965 (patch) | |
tree | 9729a338937930e9014ccbd70296f3313d6dc2cc /kwin-styles/glow/glowbutton.h | |
parent | 771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff) | |
download | tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.tar.gz tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.zip |
TQt4 port kdeartwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin-styles/glow/glowbutton.h')
-rw-r--r-- | kwin-styles/glow/glowbutton.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kwin-styles/glow/glowbutton.h b/kwin-styles/glow/glowbutton.h index f263f0ac..d2e83beb 100644 --- a/kwin-styles/glow/glowbutton.h +++ b/kwin-styles/glow/glowbutton.h @@ -44,9 +44,10 @@ private: //----------------------------------------------------------------------------- -class GlowButton : public QButton +class GlowButton : public TQButton { Q_OBJECT + TQ_OBJECT public: GlowButton(TQWidget *parent, const char* name, const TQString& tip, const int realizeBtns); @@ -58,7 +59,7 @@ public: ButtonState lastButton() const; /** Sets the name of the pixmap in the pixmap cache. - * If no background pixmap is wanted use TQString::null as name. */ + * If no background pixmap is wanted use TQString() as name. */ void setPixmapName(const TQString& pixmapName); protected: @@ -72,7 +73,7 @@ protected slots: void slotTimeout(); private: - enum TimerStatus { Run, Stop }; + enum TimertqStatus { Run, Stop }; int m_updateTime; int _steps; @@ -80,7 +81,7 @@ private: TQTimer *m_timer; int m_pos; - TimerStatus m_timerStatus; + TimertqStatus m_timertqStatus; int m_realizeButtons; ButtonState _last_button; |