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/system/systemclient.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/system/systemclient.h')
-rw-r--r-- | kwin-styles/system/systemclient.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kwin-styles/system/systemclient.h b/kwin-styles/system/systemclient.h index 09406f48..ecaf25ee 100644 --- a/kwin-styles/system/systemclient.h +++ b/kwin-styles/system/systemclient.h @@ -30,6 +30,7 @@ enum ButtonType { class SystemClient : public KDecoration { Q_OBJECT + TQ_OBJECT public: SystemClient(KDecorationBridge* bridge, KDecorationFactory* factory); ~SystemClient(); @@ -44,7 +45,7 @@ class SystemClient : public KDecoration virtual void iconChange(); virtual void desktopChange(); virtual void activeChange(); - virtual TQSize minimumSize() const; + virtual TQSize tqminimumSize() const; virtual void borders(int&, int&, int&, int&) const; virtual void reset( unsigned long changed ); void drawRoundFrame(TQPainter &p, int x, int y, int w, int h); @@ -67,14 +68,14 @@ class SystemClient : public KDecoration TQString oldTitle; }; -class SystemButton : public QButton +class SystemButton : public TQButton { public: SystemButton(SystemClient *parent=0, const char *name=0, const unsigned char *bitmap=NULL, const TQString& tip=NULL); void setBitmap(const unsigned char *bitmap); void reset(); - TQSize sizeHint() const; + TQSize tqsizeHint() const; void setTipText(const TQString &tip); ButtonState last_button; protected: @@ -93,6 +94,7 @@ class SystemButton : public QButton class SystemDecoFactory : public TQObject, public KDecorationFactory { Q_OBJECT + TQ_OBJECT public: SystemDecoFactory(); virtual ~SystemDecoFactory(); |