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 /kmahjongg/HighScore.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 'kmahjongg/HighScore.h')
-rw-r--r-- | kmahjongg/HighScore.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kmahjongg/HighScore.h b/kmahjongg/HighScore.h index d6935ab5..bd593c09 100644 --- a/kmahjongg/HighScore.h +++ b/kmahjongg/HighScore.h @@ -26,21 +26,22 @@ typedef struct TableInstance { }; -class HighScore : public QDialog +class HighScore : public TQDialog { Q_OBJECT + TQ_OBJECT public: HighScore ( - TQWidget* parent = NULL, + TQWidget* tqparent = NULL, const char* name = NULL ); virtual ~HighScore(); - int exec(TQString &layout); + int exec(TQString &tqlayout); void checkHighScore(int score, int elapsed, long game, TQString &board); @@ -58,7 +59,7 @@ private: void selectTable(const TQString &name); void setComboTo(const TQString &to); void copyTableToScreen(const TQString &name); - QString &highScoreFile(); + TQString &highScoreFile(); int selectedLine; TQLineEdit *lineEdit; |