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 /libk3b/tools/k3bpushbutton.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 'libk3b/tools/k3bpushbutton.h')
-rw-r--r-- | libk3b/tools/k3bpushbutton.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libk3b/tools/k3bpushbutton.h b/libk3b/tools/k3bpushbutton.h index 1369af3..523cefe 100644 --- a/libk3b/tools/k3bpushbutton.h +++ b/libk3b/tools/k3bpushbutton.h @@ -26,29 +26,30 @@ class LIBK3B_EXPORT K3bPushButton : public KPushButton { Q_OBJECT + TQ_OBJECT public: /** * Default constructor. */ - K3bPushButton( QWidget* parent = 0, const char* name = 0 ); + K3bPushButton( TQWidget* tqparent = 0, const char* name = 0 ); /** * Constructor, that sets the button-text to @p text */ - K3bPushButton( const QString& text, QWidget* parent = 0, const char* name = 0 ); + K3bPushButton( const TQString& text, TQWidget* tqparent = 0, const char* name = 0 ); /** * Constructor, that sets an icon and the button-text to @p text */ - K3bPushButton( const QIconSet& icon, const QString& text, - QWidget* parent = 0, const char* name = 0 ); + K3bPushButton( const TQIconSet& icon, const TQString& text, + TQWidget* tqparent = 0, const char* name = 0 ); /** * Constructor that takes a KGuiItem for the text, the icon, the tooltip * and the what's this help */ - K3bPushButton( const KGuiItem& item, QWidget* parent = 0, const char* name = 0 ); + K3bPushButton( const KGuiItem& item, TQWidget* tqparent = 0, const char* name = 0 ); /** * Destructs the button. @@ -59,10 +60,10 @@ class LIBK3B_EXPORT K3bPushButton : public KPushButton * The popup menu will show if the button is pressed down for about half a second * or if the mouse is moved while pressed just like the KToolBarButton. */ - void setDelayedPopupMenu( QPopupMenu* ); + void setDelayedPopupMenu( TQPopupMenu* ); protected: - virtual bool eventFilter( QObject*, QEvent* ); + virtual bool eventFilter( TQObject*, TQEvent* ); private slots: void slotDelayedPopup(); |