summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikclient/monopdprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikclient/monopdprotocol.cpp')
-rw-r--r--atlantik/libatlantikclient/monopdprotocol.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/atlantik/libatlantikclient/monopdprotocol.cpp b/atlantik/libatlantikclient/monopdprotocol.cpp
index 5f6c401b..f024f163 100644
--- a/atlantik/libatlantikclient/monopdprotocol.cpp
+++ b/atlantik/libatlantikclient/monopdprotocol.cpp
@@ -14,7 +14,7 @@
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
// Boston, MA 02110-1301, USA.
-#include <qstring.h>
+#include <tqstring.h>
/*
#include <atlantic_core.h>
@@ -30,50 +30,50 @@
#include "monopdprotocol.h"
#include "monopdprotocol.moc"
-MonopdProtocol::MonopdProtocol() : QObject()
+MonopdProtocol::MonopdProtocol() : TQObject()
{
}
void MonopdProtocol::auctionEstate()
{
- sendData(QString::fromLatin1(".ea"));
+ sendData(TQString::fromLatin1(".ea"));
}
void MonopdProtocol::buyEstate()
{
- sendData(QString::fromLatin1(".eb"));
+ sendData(TQString::fromLatin1(".eb"));
}
void MonopdProtocol::confirmTokenLocation(Estate *estate)
{
- QString data(".t");
- data.append(QString::number(estate ? estate->id() : -1));
+ TQString data(".t");
+ data.append(TQString::number(estate ? estate->id() : -1));
sendData(data);
}
void MonopdProtocol::endTurn()
{
- sendData(QString::fromLatin1(".E"));
+ sendData(TQString::fromLatin1(".E"));
}
void MonopdProtocol::rollDice()
{
- sendData(QString::fromLatin1(".r"));
+ sendData(TQString::fromLatin1(".r"));
}
-void MonopdProtocol::setName(QString name)
+void MonopdProtocol::setName(TQString name)
{
- QString data(".n");
+ TQString data(".n");
data.append(name);
sendData(data);
}
void MonopdProtocol::startGame()
{
- sendData(QString::fromLatin1(".gs"));
+ sendData(TQString::fromLatin1(".gs"));
}
-void MonopdProtocol::sendData(QString)
+void MonopdProtocol::sendData(TQString)
{
// Your reimplementation of this method should send send data over the
// network.