summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/mp_simple_board.h
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.h
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.h')
-rw-r--r--libksirtet/lib/mp_simple_board.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libksirtet/lib/mp_simple_board.h b/libksirtet/lib/mp_simple_board.h
index 2131feb2..d9a681f7 100644
--- a/libksirtet/lib/mp_simple_board.h
+++ b/libksirtet/lib/mp_simple_board.h
@@ -11,31 +11,31 @@ class KDE_EXPORT MPSimpleBoard : public MPBoard
Q_OBJECT
public:
- MPSimpleBoard(QWidget *parent = 0, const char *name = 0)
+ MPSimpleBoard(TQWidget *parent = 0, const char *name = 0)
: MPBoard(parent, name) {}
virtual ~MPSimpleBoard() {}
void init(bool AI, bool multiplayers, bool server, bool first,
- const QString &name);
- void dataOut(QDataStream &s);
- void dataIn(QDataStream &s);
+ const TQString &name);
+ void dataOut(TQDataStream &s);
+ void dataIn(TQDataStream &s);
protected:
virtual void _init(bool AI, bool multiplayers, bool server, bool first,
- const QString &name) = 0;
- virtual void _initFlag(QDataStream &s) = 0;
- virtual void _playFlag(QDataStream &s) = 0;
+ const TQString &name) = 0;
+ virtual void _initFlag(TQDataStream &s) = 0;
+ virtual void _playFlag(TQDataStream &s) = 0;
virtual void _pauseFlag(bool pause) = 0;
virtual void _stopFlag(bool gameover) = 0;
- virtual void _dataOut(QDataStream &s) = 0;
- virtual void _gameOverDataOut(QDataStream &s) = 0;
- virtual void _initDataOut(QDataStream &s) = 0;
+ virtual void _dataOut(TQDataStream &s) = 0;
+ virtual void _gameOverDataOut(TQDataStream &s) = 0;
+ virtual void _initDataOut(TQDataStream &s) = 0;
private:
BoardState state;
- void initFlag(QDataStream &s);
- void playFlag(QDataStream &s);
+ void initFlag(TQDataStream &s);
+ void playFlag(TQDataStream &s);
void pauseFlag();
void stopFlag();
void gameOverFlag();