summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/mp_simple_interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/mp_simple_interface.cpp')
-rw-r--r--libksirtet/lib/mp_simple_interface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libksirtet/lib/mp_simple_interface.cpp b/libksirtet/lib/mp_simple_interface.cpp
index e75243a6..1b83be40 100644
--- a/libksirtet/lib/mp_simple_interface.cpp
+++ b/libksirtet/lib/mp_simple_interface.cpp
@@ -2,7 +2,7 @@
#include "mp_simple_interface.moc"
#include <kmessagebox.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <klocale.h>
#include <kaction.h>
#include <kmainwindow.h>
@@ -13,7 +13,7 @@
MPSimpleInterface::MPSimpleInterface(const MPGameInfo &gi,
uint nbActions, const ActionData *data,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: MPInterface(gi, nbActions, data, parent, name), state(SS_Standby)
{}
@@ -64,7 +64,7 @@ void MPSimpleInterface::pause()
}
}
-void MPSimpleInterface::dataFromServer(QDataStream &s)
+void MPSimpleInterface::dataFromServer(TQDataStream &s)
{
if ( s.atEnd() ) return; // no data
@@ -73,7 +73,7 @@ void MPSimpleInterface::dataFromServer(QDataStream &s)
switch (scf.value()) {
case SC_Flag::Stop:
KMessageBox::information(this, i18n("Server has left game!"));
- QTimer::singleShot(0, this, SLOT(singleHuman()));
+ TQTimer::singleShot(0, this, TQT_SLOT(singleHuman()));
return;
case SC_Flag::GameOver:
_readGameOverData(s);
@@ -141,7 +141,7 @@ void MPSimpleInterface::treatStop()
state = SS_Standby;
// read game over data + send them to all clients
- QDataStream &s = dataToClientsStream();
+ TQDataStream &s = dataToClientsStream();
SC_Flag f(SC_Flag::GameOver);
s << f;
_sendGameOverData(s);