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 --- kinit/kdostartupconfig.cpp | 2 +- kinit/kinit.cpp | 2 +- kinit/klauncher.cpp | 2 +- kinit/tests/klaunchertest.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kinit') diff --git a/kinit/kdostartupconfig.cpp b/kinit/kdostartupconfig.cpp index fceed88e2..4f2571a12 100644 --- a/kinit/kdostartupconfig.cpp +++ b/kinit/kdostartupconfig.cpp @@ -27,7 +27,7 @@ DEALINGS IN THE SOFTWARE. // See description in kstartupconfig.cpp . #include -#include +#include #include #include #include diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp index 6859282d3..de448fdd6 100644 --- a/kinit/kinit.cpp +++ b/kinit/kinit.cpp @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/kinit/klauncher.cpp b/kinit/klauncher.cpp index 47b3b5f42..69a2e10d2 100644 --- a/kinit/klauncher.cpp +++ b/kinit/klauncher.cpp @@ -182,7 +182,7 @@ KLauncher::KLauncher(int _tdeinitSocket, bool new_startup) objId(), "terminateKDE()", false ); TQString prefix = locateLocal("socket", "klauncher"); - KTempFile domainname(prefix, TQString::tqfromLatin1(".slave-socket")); + KTempFile domainname(prefix, TQString::fromLatin1(".slave-socket")); if (domainname.status() != 0) { // Sever error! diff --git a/kinit/tests/klaunchertest.cpp b/kinit/tests/klaunchertest.cpp index 46a4e5635..f246e7086 100644 --- a/kinit/tests/klaunchertest.cpp +++ b/kinit/tests/klaunchertest.cpp @@ -39,13 +39,13 @@ int main(int argc, char *argv[]) TQCString dcopService; int pid; int result = KApplication::startServiceByDesktopName( - TQString::tqfromLatin1("konsole"), TQString::null, &error, &dcopService, &pid ); + TQString::fromLatin1("konsole"), TQString::null, &error, &dcopService, &pid ); printf("Result = %d, error = \"%s\", dcopService = \"%s\", pid = %d\n", result, error.ascii(), dcopService.data(), pid); result = KApplication::startServiceByDesktopName( - TQString::tqfromLatin1("konqueror"), TQString::null, &error, &dcopService, &pid ); + TQString::fromLatin1("konqueror"), TQString::null, &error, &dcopService, &pid ); printf("Result = %d, error = \"%s\", dcopService = \"%s\", pid = %d\n", result, error.ascii(), dcopService.data(), pid); -- cgit v1.2.1