diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 01:10:52 +0200 |
commit | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (patch) | |
tree | 668cc8f756c0cac76b39b63bc1f09115015a10a5 /atlantik/libatlantikclient/atlantik_network.cpp | |
parent | 7cfcd74800487ecb6246597fdc559ca8baf2c4da (diff) | |
download | tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.tar.gz tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e2b76239f354a9eead0b4e37d86d390ec57ffa9)
Diffstat (limited to 'atlantik/libatlantikclient/atlantik_network.cpp')
-rw-r--r-- | atlantik/libatlantikclient/atlantik_network.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/atlantik/libatlantikclient/atlantik_network.cpp b/atlantik/libatlantikclient/atlantik_network.cpp index 7b980ef8..4a5e42c2 100644 --- a/atlantik/libatlantikclient/atlantik_network.cpp +++ b/atlantik/libatlantikclient/atlantik_network.cpp @@ -872,7 +872,7 @@ void AtlantikNetwork::processNode(TQDomNode n) if (auction && !a.isNull()) { int status = a.value().toInt(); - auction->settqStatus(status); + auction->setStatus(status); // TODO: find a good way to visualise "sold!" if (status == 3) @@ -906,23 +906,23 @@ void AtlantikNetwork::serverConnect(const TQString host, int port) { setAddress(host, port); enableRead(true); - emit msgtqStatus(i18n("Connecting to %1:%2...").tqarg(host).tqarg(TQString::number(port)), "connect_creating"); + emit msgStatus(i18n("Connecting to %1:%2...").tqarg(host).tqarg(TQString::number(port)), "connect_creating"); startAsyncConnect(); } void AtlantikNetwork::slotLookupFinished(int count) { - emit msgtqStatus(i18n("Server host name lookup finished...")); + emit msgStatus(i18n("Server host name lookup finished...")); } void AtlantikNetwork::slotConnectionSuccess() { - emit msgtqStatus(i18n("Connected to %1:%2.").tqarg(host()).tqarg(port()), "connect_established"); + emit msgStatus(i18n("Connected to %1:%2.").tqarg(host()).tqarg(port()), "connect_established"); } void AtlantikNetwork::slotConnectionFailed(int error) { - emit msgtqStatus(i18n("Connection failed! Error code: %1").tqarg(error), "connect_no"); + emit msgStatus(i18n("Connection failed! Error code: %1").tqarg(error), "connect_no"); } #include "atlantik_network.moc" |