summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/mp_simple_board.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/lib/mp_simple_board.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/mp_simple_board.cpp')
-rw-r--r--libksirtet/lib/mp_simple_board.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libksirtet/lib/mp_simple_board.cpp b/libksirtet/lib/mp_simple_board.cpp
index f032c488..c0828f1e 100644
--- a/libksirtet/lib/mp_simple_board.cpp
+++ b/libksirtet/lib/mp_simple_board.cpp
@@ -3,13 +3,13 @@
void MPSimpleBoard::init(bool AI, bool multiplayers, bool server, bool first,
- const QString &name)
+ const TQString &name)
{
state = BS_Init;
_init(AI, multiplayers, server, first, name);
}
-void MPSimpleBoard::dataIn(QDataStream &s)
+void MPSimpleBoard::dataIn(TQDataStream &s)
{
if ( s.atEnd() ) return; // no data
@@ -24,14 +24,14 @@ void MPSimpleBoard::dataIn(QDataStream &s)
}
}
-void MPSimpleBoard::initFlag(QDataStream &s)
+void MPSimpleBoard::initFlag(TQDataStream &s)
{
state = BS_Play;
emit enableKeys(true);
_initFlag(s);
}
-void MPSimpleBoard::playFlag(QDataStream &s)
+void MPSimpleBoard::playFlag(TQDataStream &s)
{
Q_ASSERT( state==BS_Play );
_playFlag(s);
@@ -66,7 +66,7 @@ void MPSimpleBoard::_stop(bool gameover)
_stopFlag(gameover);
}
-void MPSimpleBoard::dataOut(QDataStream &s)
+void MPSimpleBoard::dataOut(TQDataStream &s)
{
switch (state) {
case BS_Init: