From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesu/stub.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kdesu/stub.cpp') diff --git a/kdesu/stub.cpp b/kdesu/stub.cpp index c0e968200..2af171d72 100644 --- a/kdesu/stub.cpp +++ b/kdesu/stub.cpp @@ -16,8 +16,8 @@ #include #include -#include -#include +#include +#include #include #include @@ -56,13 +56,13 @@ void StubProcess::setPriority(int prio) } -QCString StubProcess::commaSeparatedList(QCStringList lst) +TQCString StubProcess::commaSeparatedList(QCStringList lst) { if (lst.count() == 0) - return QCString(""); + return TQCString(""); QCStringList::Iterator it = lst.begin(); - QCString str = *it; + TQCString str = *it; for (it++; it!=lst.end(); it++) { str += ','; @@ -79,7 +79,7 @@ QCString StubProcess::commaSeparatedList(QCStringList lst) int StubProcess::ConverseStub(int check) { - QCString line, tmp; + TQCString line, tmp; while (1) { line = readLine(); @@ -118,7 +118,7 @@ int StubProcess::ConverseStub(int check) } else if (line == "command") { writeLine(m_Command); } else if (line == "path") { - QCString path = getenv("PATH"); + TQCString path = getenv("PATH"); if (!path.isEmpty() && path[0] == ':') path = path.mid(1); if (m_User == "root") @@ -140,7 +140,7 @@ int StubProcess::ConverseStub(int check) else writeLine("yes"); } else if (line == "app_startup_id") { QCStringList env = environment(); - QCString tmp; + TQCString tmp; for( QCStringList::ConstIterator it = env.begin(); it != env.end(); ++it ) @@ -175,7 +175,7 @@ int StubProcess::ConverseStub(int check) } -void StubProcess::notifyTaskbar(const QString &) +void StubProcess::notifyTaskbar(const TQString &) { kdWarning(900) << "Obsolete StubProcess::notifyTaskbar() called!" << endl; } -- cgit v1.2.3