summaryrefslogtreecommitdiffstats
path: root/atlantik/atlanticd/atlanticclient.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 /atlantik/atlanticd/atlanticclient.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 'atlantik/atlanticd/atlanticclient.cpp')
-rw-r--r--atlantik/atlanticd/atlanticclient.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/atlantik/atlanticd/atlanticclient.cpp b/atlantik/atlanticd/atlanticclient.cpp
index 0445165d..0e4e3e12 100644
--- a/atlantik/atlanticd/atlanticclient.cpp
+++ b/atlantik/atlanticd/atlanticclient.cpp
@@ -14,18 +14,18 @@
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
// Boston, MA 02110-1301, USA.
-#include <qtextstream.h>
-#include <qtimer.h>
+#include <tqtextstream.h>
+#include <tqtimer.h>
#include "atlanticclient.h"
#include "atlanticclient.moc"
-AtlanticClient::AtlanticClient(QObject *parent, const char *name) : QSocket(parent, name)
+AtlanticClient::AtlanticClient(TQObject *parent, const char *name) : TQSocket(parent, name)
{
- connect(this, SIGNAL(readyRead()), this, SLOT(readData()));
+ connect(this, TQT_SIGNAL(readyRead()), this, TQT_SLOT(readData()));
}
-void AtlanticClient::sendData(const QString &data)
+void AtlanticClient::sendData(const TQString &data)
{
writeBlock(data.latin1(), data.length());
}
@@ -37,7 +37,7 @@ void AtlanticClient::readData()
emit clientInput(this, readLine());
// There might be more data
- QTimer::singleShot(0, this, SLOT(readData()));
+ TQTimer::singleShot(0, this, TQT_SLOT(readData()));
}
else
{