summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/meeting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/meeting.cpp')
-rw-r--r--libksirtet/lib/meeting.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/meeting.cpp b/libksirtet/lib/meeting.cpp
index c6c81cbe..58acf205 100644
--- a/libksirtet/lib/meeting.cpp
+++ b/libksirtet/lib/meeting.cpp
@@ -68,7 +68,7 @@ void NetMeeting::appendLine(const MeetingLineData &pld, bool server)
if (pld.own) connect(pl, TQT_SIGNAL(textChanged(const TQString &)),
TQT_SLOT(textChanged(const TQString &)));
else message(i18n("A new client has just arrived (#%1)")
- .tqarg(wl->size()+1));
+ .arg(wl->size()+1));
pl->setData(pld.ed);
connect(pl, TQT_SIGNAL(typeChanged(MeetingCheckBox::Type)),
TQT_SLOT(typeChanged(MeetingCheckBox::Type)));
@@ -241,7 +241,7 @@ void ServerNetMeeting::writeToAll(uint i)
void ServerNetMeeting::netError(uint i, const TQString &type)
{
Q_ASSERT( i!=0 );
- disconnectHost(i, i18n("%1 client #%2: disconnect it").tqarg(type).tqarg(i));
+ disconnectHost(i, i18n("%1 client #%2: disconnect it").arg(type).arg(i));
}
void ServerNetMeeting::disconnectHost(uint i, const TQString &str)
@@ -265,7 +265,7 @@ void ServerNetMeeting::newHost(int)
int res = sm[0]->accept(s);
if ( res!=0 ) {
message(i18n("Failed to accept incoming client:\n%1")
- .tqarg(socketError(s)));
+ .arg(socketError(s)));
return;
}
players.append(NewPlayer);
@@ -301,7 +301,7 @@ void ServerNetMeeting::idFlag(uint i)
void ServerNetMeeting::endFlag(uint i)
{
- disconnectHost(i, i18n("Client #%1 has left").tqarg(i));
+ disconnectHost(i, i18n("Client #%1 has left").arg(i));
}
void ServerNetMeeting::newFlag(uint i)
@@ -462,7 +462,7 @@ ClientNetMeeting::ClientNetMeeting(const cId &id,
void ClientNetMeeting::netError(uint, const TQString &str)
{
- cleanReject(i18n("%1 server: aborting connection.").tqarg(str));
+ cleanReject(i18n("%1 server: aborting connection.").arg(str));
}
void ClientNetMeeting::writeToAll(uint)
@@ -529,7 +529,7 @@ void ClientNetMeeting::delFlag(uint)
sm[0]->readingStream() >> k;
CHECK_READ(0);
removeLine(k-1);
- message(i18n("Client %1 has left").tqarg(k));
+ message(i18n("Client %1 has left").arg(k));
}
void ClientNetMeeting::textChanged(const TQString &text)