summaryrefslogtreecommitdiffstats
path: root/kdesu
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /kdesu
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesu')
-rw-r--r--kdesu/kdesud/handler.cpp4
-rw-r--r--kdesu/kdesud/kdesud.cpp2
-rw-r--r--kdesu/kdesud/repo.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kdesu/kdesud/handler.cpp b/kdesu/kdesud/handler.cpp
index 3e3e97c96..1d52a58ac 100644
--- a/kdesu/kdesud/handler.cpp
+++ b/kdesu/kdesud/handler.cpp
@@ -304,9 +304,9 @@ int ConnectionHandler::doCommand(TQCString buf)
SuProcess proc;
proc.setCommand(command);
proc.setUser(user);
- if (options.tqcontains('x'))
+ if (options.contains('x'))
proc.setXOnly(true);
- if (options.tqcontains('f'))
+ if (options.contains('f'))
proc.setDCOPForwarding(true);
proc.setPriority(m_Priority);
proc.setScheduler(m_Scheduler);
diff --git a/kdesu/kdesud/kdesud.cpp b/kdesu/kdesud/kdesud.cpp
index f699c65de..49006a401 100644
--- a/kdesu/kdesud/kdesud.cpp
+++ b/kdesu/kdesud/kdesud.cpp
@@ -166,7 +166,7 @@ int create_socket()
}
// strip the screen number from the display
- display.tqreplace(TQRegExp("\\.[0-9]+$"), "");
+ display.replace(TQRegExp("\\.[0-9]+$"), "");
sock = TQFile::encodeName(locateLocal("socket", TQString("kdesud_%1").arg(display)));
int stat_err=lstat(sock, &s);
diff --git a/kdesu/kdesud/repo.cpp b/kdesu/kdesud/repo.cpp
index 539dc35ed..cdbbcaed1 100644
--- a/kdesu/kdesud/repo.cpp
+++ b/kdesu/kdesud/repo.cpp
@@ -134,7 +134,7 @@ TQCString Repository::findKeys(const TQCString &group, const char *sep ) const
if (!list.isEmpty())
{
// Add the same keys only once please :)
- if( !list.tqcontains(key) )
+ if( !list.contains(key) )
{
kdDebug(1205) << "Key added to list: " << key << endl;
list += '\007'; // I do not know