summaryrefslogtreecommitdiffstats
path: root/kitchensync/opensyncdbus
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /kitchensync/opensyncdbus
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kitchensync/opensyncdbus')
-rw-r--r--kitchensync/opensyncdbus/dbusclient.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kitchensync/opensyncdbus/dbusclient.cpp b/kitchensync/opensyncdbus/dbusclient.cpp
index 39cd1cc94..f53ee74e3 100644
--- a/kitchensync/opensyncdbus/dbusclient.cpp
+++ b/kitchensync/opensyncdbus/dbusclient.cpp
@@ -85,7 +85,7 @@ TQDBusMessage OpenSyncService::showMember( const TQDBusMessage &message )
if ( message.count() != 2 ) {
return error( message, "arg_count",
TQString("Wrong number of arguments. Expected 2, got %1.")
- .tqarg( message.count() ) );
+ .arg( message.count() ) );
}
TQString groupName = message[ 0 ].toString();
@@ -111,14 +111,14 @@ TQDBusMessage OpenSyncService::showMember( const TQDBusMessage &message )
QSync::Group group = env.groupByName( groupName );
if ( !group.isValid() ) {
return error( message, "group_name", TQString("Unknown group '%1'.")
- .tqarg( groupName ) );
+ .arg( groupName ) );
}
QSync::Member member = group.memberById( memberId );
if ( !member.isValid() ) {
return error( message, "member_id",
- TQString("Unknown member id '%1' in group '%2'.").tqarg( groupName )
- .tqarg( memberId ) );
+ TQString("Unknown member id '%1' in group '%2'.").arg( groupName )
+ .arg( memberId ) );
}
reply.append( memberId );
@@ -136,7 +136,7 @@ TQDBusMessage OpenSyncService::showGroup( const TQDBusMessage &message )
if ( message.count() != 1 ) {
return error( message, "arg_count",
TQString("Wrong number of arguments. Expected 1, got %1")
- .tqarg( message.count() ) );
+ .arg( message.count() ) );
}
TQString groupName = message[ 0 ].toString();
@@ -156,7 +156,7 @@ TQDBusMessage OpenSyncService::showGroup( const TQDBusMessage &message )
QSync::Group group = env.groupByName( groupName );
if ( !group.isValid() ) {
return error( message, "group_name", TQString("Unknown group '%1'")
- .tqarg( groupName ) );
+ .arg( groupName ) );
}
QSync::Group::Iterator it( &group );