diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /src/k3bminibutton.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k3bminibutton.h')
-rw-r--r-- | src/k3bminibutton.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/k3bminibutton.h b/src/k3bminibutton.h index b3d38a0..c04ab67 100644 --- a/src/k3bminibutton.h +++ b/src/k3bminibutton.h @@ -21,28 +21,29 @@ #ifndef _K3B_MINI_BUTTON_H_ #define _K3B_MINI_BUTTON_H_ -#include <qpushbutton.h> +#include <tqpushbutton.h> -class QPainter; -class QEvent; +class TQPainter; +class TQEvent; /** * K3bMiniButton is a minimalistic button mainly used * to show a pixmap. */ -class K3bMiniButton : public QPushButton +class K3bMiniButton : public TQPushButton { Q_OBJECT + TQ_OBJECT public: - K3bMiniButton( QWidget *parent=0, const char *name=0 ); + K3bMiniButton( TQWidget *tqparent=0, const char *name=0 ); virtual ~K3bMiniButton(); protected: - virtual void drawButton( QPainter * ); - virtual void enterEvent( QEvent * ); - virtual void leaveEvent( QEvent * ); + virtual void drawButton( TQPainter * ); + virtual void enterEvent( TQEvent * ); + virtual void leaveEvent( TQEvent * ); private: bool m_mouseOver; |