summaryrefslogtreecommitdiffstats
path: root/dcop/client/dcop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
commit4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch)
tree2891b54cd6ec39db133da0110028ec93fc006751 /dcop/client/dcop.cpp
parent8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff)
downloadtdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz
tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip
Rename additional global TQt functions
Diffstat (limited to 'dcop/client/dcop.cpp')
-rw-r--r--dcop/client/dcop.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/dcop/client/dcop.cpp b/dcop/client/dcop.cpp
index baa2a7142..74e6911f2 100644
--- a/dcop/client/dcop.cpp
+++ b/dcop/client/dcop.cpp
@@ -102,7 +102,7 @@ void queryApplications(const TQCString &filter)
if ( !dcop->isAttached() )
{
- qWarning( "server not accessible" );
+ tqWarning( "server not accessible" );
exit(1);
}
}
@@ -135,9 +135,9 @@ void queryObjects( const TQCString &app, const TQCString &filter )
if ( !ok )
{
if (!dcop->isApplicationRegistered(app))
- qWarning( "No such application: '%s'", app.data());
+ tqWarning( "No such application: '%s'", app.data());
else
- qWarning( "Application '%s' not accessible", app.data() );
+ tqWarning( "Application '%s' not accessible", app.data() );
exit(1);
}
}
@@ -151,7 +151,7 @@ void queryFunctions( const char* app, const char* obj )
}
if ( !ok )
{
- qWarning( "object '%s' in application '%s' not accessible", obj, app );
+ tqWarning( "object '%s' in application '%s' not accessible", obj, app );
exit( 1 );
}
}
@@ -164,7 +164,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
if ( right < left )
{
- qWarning( "parentheses do not match" );
+ tqWarning( "parentheses do not match" );
return( 1 );
}
@@ -177,7 +177,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
goto doit;
if ( !ok )
{
- qWarning( "object not accessible" );
+ tqWarning( "object not accessible" );
return( 1 );
}
for ( QCStringList::Iterator it = funcs.begin(); it != funcs.end(); ++it ) {
@@ -205,7 +205,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
}
if ( realfunc.isEmpty() )
{
- qWarning("no such function");
+ tqWarning("no such function");
return( 1 );
}
f = realfunc;
@@ -257,7 +257,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
if ( s < static_cast<int>(partl.count())-1)
{
- qWarning("The argument `%s' seems syntactically wrong.",
+ tqWarning("The argument `%s' seems syntactically wrong.",
lt.latin1());
}
if ( s == static_cast<int>(partl.count())-1)
@@ -294,12 +294,12 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt
if ( i != args.count() )
{
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
return( 1 );
}
if ( !dcop->call( app, obj, f.latin1(), data, replyType, replyData) ) {
- qWarning( "call failed");
+ tqWarning( "call failed");
return( 1 );
} else {
TQDataStream reply(replyData, IO_ReadOnly);