summaryrefslogtreecommitdiffstats
path: root/kget/docking.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kget/docking.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/docking.h')
-rw-r--r--kget/docking.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/kget/docking.h b/kget/docking.h
index ba9a88c1..a18f0eb6 100644
--- a/kget/docking.h
+++ b/kget/docking.h
@@ -38,12 +38,12 @@
class KPopupMenu;
class KMainWidget;
-class DynamicTip : public QToolTip
+class DynamicTip : public TQToolTip
{
public:
- DynamicTip( TQWidget * parent );
+ DynamicTip( TQWidget * tqparent );
virtual ~DynamicTip() {}//TODO workaround for qt-bug, can be removed after 4.0
- void setStatus( const TQString & _status );
+ void settqStatus( const TQString & _status );
protected:
void maybeTip( const TQPoint & );
@@ -54,9 +54,11 @@ class DynamicTip : public QToolTip
class DockWidget:public KSystemTray
{
+ Q_OBJECT
+ TQ_OBJECT
-Q_OBJECT public:
- DockWidget(KMainWidget * parent);
+public:
+ DockWidget(KMainWidget * tqparent);
~DockWidget();
/** No descriptions */
void updateToolTip( const TQString& );
@@ -73,7 +75,7 @@ protected:
void dropEvent(TQDropEvent *);
private:
- KMainWidget *parent;
+ KMainWidget *tqparent;
DynamicTip * dtip;
};