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 --- libksirtet/common/inter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libksirtet/common/inter.cpp') diff --git a/libksirtet/common/inter.cpp b/libksirtet/common/inter.cpp index c5630108..e81f7347 100644 --- a/libksirtet/common/inter.cpp +++ b/libksirtet/common/inter.cpp @@ -33,8 +33,8 @@ const int Interface::KEYCODE_TWO[Nb_Actions] = { Key_F, Key_G, Key_D, Key_Space, Key_E, Key_C, SHIFT+Key_F, SHIFT+Key_G }; -Interface::Interface(const MPGameInfo &gi, TQWidget *parent) - : MPSimpleInterface(gi, Nb_Actions, ACTION_DATA, parent) +Interface::Interface(const MPGameInfo &gi, TQWidget *tqparent) + : MPSimpleInterface(gi, Nb_Actions, ACTION_DATA, tqparent) { setDefaultKeycodes(1, 0, KEYCODE_ONE); setDefaultKeycodes(2, 0, KEYCODE_TWO); @@ -91,10 +91,10 @@ void Interface::_sendPlayData() } } -void Interface::_showHighscores(TQWidget *parent) +void Interface::_showHighscores(TQWidget *tqparent) { - if ( !server() || nbPlayers()!=1 ) _scores.show(parent); - else BaseInterface::_showHighscores(parent); + if ( !server() || nbPlayers()!=1 ) _scores.show(tqparent); + else BaseInterface::_showHighscores(tqparent); } void Interface::_showGameOverData() -- cgit v1.2.1