From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: 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 --- kmahjongg/HighScore.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kmahjongg/HighScore.h') 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; -- cgit v1.2.1