summaryrefslogtreecommitdiffstats
path: root/kdesu/stub.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdesu/stub.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesu/stub.cpp')
-rw-r--r--kdesu/stub.cpp18
1 files changed, 9 insertions, 9 deletions
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 <stdlib.h>
#include <unistd.h>
-#include <qglobal.h>
-#include <qcstring.h>
+#include <tqglobal.h>
+#include <tqcstring.h>
#include <kdatastream.h>
#include <kapplication.h>
@@ -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;
}