From fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 04:10:07 +0000 Subject: 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 --- kdesu/kdesud/handler.cpp | 4 ++-- kdesu/kdesud/kdesud.cpp | 2 +- kdesu/kdesud/repo.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kdesu/kdesud') 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 -- cgit v1.2.1