From 17e2ed52dbf8fac39a04331da02b9572e9e2e304 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:35:40 -0600 Subject: Rename additional global TQt functions --- kitchensync/libqopensync/group.cpp | 2 +- kitchensync/libqopensync/groupenv.cpp | 2 +- kitchensync/libqopensync/member.cpp | 2 +- kitchensync/opensyncdbus/dbusclient.cpp | 12 ++++++------ kitchensync/src/mainwidget.cpp | 4 ++-- kitchensync/src/syncprocessmanager.cpp | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kitchensync') diff --git a/kitchensync/libqopensync/group.cpp b/kitchensync/libqopensync/group.cpp index bc94e2208..85f6384de 100644 --- a/kitchensync/libqopensync/group.cpp +++ b/kitchensync/libqopensync/group.cpp @@ -56,7 +56,7 @@ TQStringList GroupConfig::activeObjectTypes() const TQString message; if ( !document.setContent( &file, &message ) ) { - qDebug( "Error on loading %s: %s", fileName.latin1(), message.latin1() ); + tqDebug( "Error on loading %s: %s", fileName.latin1(), message.latin1() ); return TQStringList(); } file.close(); diff --git a/kitchensync/libqopensync/groupenv.cpp b/kitchensync/libqopensync/groupenv.cpp index bd6b3b680..f392fd103 100644 --- a/kitchensync/libqopensync/groupenv.cpp +++ b/kitchensync/libqopensync/groupenv.cpp @@ -105,7 +105,7 @@ Group GroupEnv::addGroup( const TQString &name ) if ( !osync_group_env_add_group( mGroupEnv, ogroup, &error ) ) { Result res( &error ); - qDebug( "Error on adding group: %s", res.message().latin1() ); + tqDebug( "Error on adding group: %s", res.message().latin1() ); } return group; diff --git a/kitchensync/libqopensync/member.cpp b/kitchensync/libqopensync/member.cpp index 35cb04632..b672dd0f6 100644 --- a/kitchensync/libqopensync/member.cpp +++ b/kitchensync/libqopensync/member.cpp @@ -43,7 +43,7 @@ bool Member::isValid() const return false; if ( !osync_member_instance_plugin( mMember, pluginName().utf8(), &error ) ) { - qDebug( "Plugin %s is not valid: %s", pluginName().latin1(), osync_error_print( &error ) ); + tqDebug( "Plugin %s is not valid: %s", pluginName().latin1(), osync_error_print( &error ) ); osync_error_free( &error ); return false; } diff --git a/kitchensync/opensyncdbus/dbusclient.cpp b/kitchensync/opensyncdbus/dbusclient.cpp index f53ee74e3..21d4f7989 100644 --- a/kitchensync/opensyncdbus/dbusclient.cpp +++ b/kitchensync/opensyncdbus/dbusclient.cpp @@ -47,12 +47,12 @@ void OpenSyncService::setConnection( TQDBusConnection *connection ) bool OpenSyncService::handleMethodCall( const TQDBusMessage &message ) { - qDebug( "OpenSyncService::handleMethodCall()" ); + tqDebug( "OpenSyncService::handleMethodCall()" ); - qDebug( " Interface: %s", message.interface().latin1() ); - qDebug( " Path: %s", message.path().latin1() ); - qDebug( " Member: %s", message.member().latin1() ); - qDebug( " Sender: %s", message.sender().latin1() ); + tqDebug( " Interface: %s", message.interface().latin1() ); + tqDebug( " Path: %s", message.path().latin1() ); + tqDebug( " Member: %s", message.member().latin1() ); + tqDebug( " Sender: %s", message.sender().latin1() ); if ( message.interface() != "org.opensync.SyncEngine" ) return false; @@ -258,7 +258,7 @@ int main( int argc, char *argv[] ) TQDBusConnection::SessionBus ); if ( !connection.isConnected() ) { - qFatal("Cannot connect to session bus"); + tqFatal("Cannot connect to session bus"); } connection.requestName( "org.opensync.SyncEngine", diff --git a/kitchensync/src/mainwidget.cpp b/kitchensync/src/mainwidget.cpp index 51543c059..161a1d444 100644 --- a/kitchensync/src/mainwidget.cpp +++ b/kitchensync/src/mainwidget.cpp @@ -175,9 +175,9 @@ void MainWidget::sync( SyncProcess *syncProcess ) syncProcess->reinitEngine(); QSync::Result result = syncProcess->engine()->synchronize(); if ( result ) { - qDebug( "%s", result.message().latin1() ); + tqDebug( "%s", result.message().latin1() ); } else { - qDebug( "synchronization worked" ); + tqDebug( "synchronization worked" ); } } } diff --git a/kitchensync/src/syncprocessmanager.cpp b/kitchensync/src/syncprocessmanager.cpp index fda111efd..95c497482 100644 --- a/kitchensync/src/syncprocessmanager.cpp +++ b/kitchensync/src/syncprocessmanager.cpp @@ -110,7 +110,7 @@ void SyncProcessManager::addGroup( const TQString &name ) emit changed(); } else - qDebug( "Try to add duplicate" ); + tqDebug( "Try to add duplicate" ); } void SyncProcessManager::remove( SyncProcess *syncProcess ) -- cgit v1.2.1