From 13281e2856a2ef43bbab78c5528470309c23aa77 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:48:49 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- dcop/client/dcop.cpp | 6 +++--- dcop/client/dcopfind.cpp | 4 ++-- dcop/client/dcopstart.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dcop/client') diff --git a/dcop/client/dcop.cpp b/dcop/client/dcop.cpp index 0eafb5055..46a6e64bf 100644 --- a/dcop/client/dcop.cpp +++ b/dcop/client/dcop.cpp @@ -38,7 +38,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include #include -#include +#include #include #include "../dcopclient.h" @@ -158,7 +158,7 @@ void queryFunctions( const char* app, const char* obj ) int callFunction( const char* app, const char* obj, const char* func, const QCStringList args ) { - TQString f = func; // Qt is better with tqunicode strings, so use one. + TQString f = func; // Qt is better with unicode strings, so use one. int left = f.find( '(' ); int right = f.find( ')' ); @@ -262,7 +262,7 @@ int callFunction( const char* app, const char* obj, const char* func, const QCSt } if ( s == static_cast(partl.count())-1) { - partl.remove(partl.tqat(s)); + partl.remove(partl.at(s)); } lt = partl.join(" "); diff --git a/dcop/client/dcopfind.cpp b/dcop/client/dcopfind.cpp index bde116f65..cd3e4d517 100644 --- a/dcop/client/dcopfind.cpp +++ b/dcop/client/dcopfind.cpp @@ -40,7 +40,7 @@ static bool bLaunchApp = 0; bool findObject( const char* app, const char* obj, const char* func, QCStringList args ) { - TQString f = func; // Qt is better with tqunicode strings, so use one. + TQString f = func; // Qt is better with unicode strings, so use one. int left = f.find( '(' ); int right = f.find( ')' ); @@ -98,7 +98,7 @@ bool findObject( const char* app, const char* obj, const char* func, QCStringLis } if (s==(int)partl.count()-1) { - partl.remove(partl.tqat(s)); + partl.remove(partl.at(s)); } lt = partl.join(" "); diff --git a/dcop/client/dcopstart.cpp b/dcop/client/dcopstart.cpp index f46531735..5741ef775 100644 --- a/dcop/client/dcopstart.cpp +++ b/dcop/client/dcopstart.cpp @@ -33,7 +33,7 @@ static DCOPClient* dcop = 0; void startApp(const char *_app, int argc, const char **args) { const char *function = 0; - TQString app = TQString::tqfromLatin1(_app); + TQString app = TQString::fromLatin1(_app); if (app.endsWith(".desktop")) function = "start_service_by_desktop_path(TQString,TQStringList)"; else -- cgit v1.2.1