diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
commit | 838baf3f99ec5ab81b063eb5449a3381d860f377 (patch) | |
tree | dd31abcfde08ca92e4623b8f50b3d762a87c997a /libksirtet/common/misc_ui.h | |
parent | 2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff) | |
download | tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip |
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/common/misc_ui.h')
-rw-r--r-- | libksirtet/common/misc_ui.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/libksirtet/common/misc_ui.h b/libksirtet/common/misc_ui.h index 38544a02..61b87b96 100644 --- a/libksirtet/common/misc_ui.h +++ b/libksirtet/common/misc_ui.h @@ -14,18 +14,20 @@ class LIBKSIRTET_EXPORT ShowNextPiece : public FixedCanvasView { Q_OBJECT + TQ_OBJECT public: - ShowNextPiece(BaseBoard *, TQWidget *parent); + ShowNextPiece(BaseBoard *, TQWidget *tqparent); }; /*****************************************************************************/ -class LIBKSIRTET_EXPORT Shadow : public QWidget +class LIBKSIRTET_EXPORT Shadow : public TQWidget { Q_OBJECT + TQ_OBJECT public: - Shadow(BaseBoard *, TQWidget *parent); + Shadow(BaseBoard *, TQWidget *tqparent); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; virtual TQSizePolicy sizePolicy() const; void setDisplay(bool show); @@ -40,13 +42,14 @@ class LIBKSIRTET_EXPORT Shadow : public QWidget /*****************************************************************************/ class Led; -class LIBKSIRTET_EXPORT GiftPool : public QHBox +class LIBKSIRTET_EXPORT GiftPool : public TQHBox { Q_OBJECT + TQ_OBJECT public: - GiftPool(TQWidget *parent); + GiftPool(TQWidget *tqparent); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; virtual TQSizePolicy sizePolicy() const; void reset(); @@ -68,10 +71,11 @@ class LIBKSIRTET_EXPORT GiftPool : public QHBox class LIBKSIRTET_EXPORT PlayerProgress : public KGameProgress { Q_OBJECT + TQ_OBJECT public: - PlayerProgress(BaseBoard *board, TQWidget *parent = 0, const char *name = 0); + PlayerProgress(BaseBoard *board, TQWidget *tqparent = 0, const char *name = 0); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; virtual TQSizePolicy sizePolicy() const; private: |