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 /libkdegames/highscore/kexthighscore_gui.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 'libkdegames/highscore/kexthighscore_gui.h')
-rw-r--r-- | libkdegames/highscore/kexthighscore_gui.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/libkdegames/highscore/kexthighscore_gui.h b/libkdegames/highscore/kexthighscore_gui.h index 2a142856..fc2d3912 100644 --- a/libkdegames/highscore/kexthighscore_gui.h +++ b/libkdegames/highscore/kexthighscore_gui.h @@ -58,8 +58,9 @@ class ShowItem : public KListViewItem class ScoresList : public KListView { Q_OBJECT + TQ_OBJECT public: - ScoresList(TQWidget *parent); + ScoresList(TQWidget *tqparent); void addHeader(const ItemArray &); @@ -76,8 +77,9 @@ class ScoresList : public KListView class HighscoresList : public ScoresList { Q_OBJECT + TQ_OBJECT public: - HighscoresList(TQWidget *parent); + HighscoresList(TQWidget *tqparent); void load(const ItemArray &, int highlight); @@ -85,11 +87,12 @@ class HighscoresList : public ScoresList TQString itemText(const ItemContainer &, uint row) const; }; -class HighscoresWidget : public QWidget +class HighscoresWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - HighscoresWidget(TQWidget *parent); + HighscoresWidget(TQWidget *tqparent); void load(int rank); @@ -113,8 +116,9 @@ class HighscoresWidget : public QWidget class HighscoresDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - HighscoresDialog(int rank, TQWidget *parent); + HighscoresDialog(int rank, TQWidget *tqparent); private slots: void slotUser1(); @@ -132,8 +136,9 @@ class HighscoresDialog : public KDialogBase class LastMultipleScoresList : public ScoresList { Q_OBJECT + TQ_OBJECT public: - LastMultipleScoresList(const TQValueVector<Score> &, TQWidget *parent); + LastMultipleScoresList(const TQValueVector<Score> &, TQWidget *tqparent); private: void addLineItem(const ItemArray &, uint index, TQListViewItem *line); @@ -146,8 +151,9 @@ private: class TotalMultipleScoresList : public ScoresList { Q_OBJECT + TQ_OBJECT public: - TotalMultipleScoresList(const TQValueVector<Score> &, TQWidget *parent); + TotalMultipleScoresList(const TQValueVector<Score> &, TQWidget *tqparent); private: void addLineItem(const ItemArray &, uint index, TQListViewItem *line); @@ -161,8 +167,9 @@ private: class ConfigDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ConfigDialog(TQWidget *parent); + ConfigDialog(TQWidget *tqparent); bool hasBeenSaved() const { return _saved; } @@ -188,8 +195,9 @@ class ConfigDialog : public KDialogBase class AskNameDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - AskNameDialog(TQWidget *parent); + AskNameDialog(TQWidget *tqparent); TQString name() const { return _edit->text(); } bool dontAskAgain() const { return _checkbox->isChecked(); } |