diff options
Diffstat (limited to 'src/newfirstrunwizard.ui.h')
-rw-r--r-- | src/newfirstrunwizard.ui.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/newfirstrunwizard.ui.h b/src/newfirstrunwizard.ui.h index 0480bec..a8fa9fc 100644 --- a/src/newfirstrunwizard.ui.h +++ b/src/newfirstrunwizard.ui.h @@ -23,7 +23,7 @@ #include "crypto.h" #include "torclient.h" -#include <kapplication.h> +#include <tdeapplication.h> #include <ntqpushbutton.h> #include <ntqpixmap.h> #include <ntqtimer.h> @@ -34,9 +34,9 @@ #include <kdebug.h> #include <stdlib.h> #include <dcopref.h> -#include <kconfig.h> -#include <kmessagebox.h> -#include <klocale.h> +#include <tdeconfig.h> +#include <tdemessagebox.h> +#include <tdelocale.h> #include <krun.h> #include <ntqvaluevector.h> @@ -128,7 +128,7 @@ FirstRunWizard::init() serverName->setText("TorKServer"); - KConfig emailConf( TQString::fromLatin1("emaildefaults") ); + TDEConfig emailConf( TQString::fromLatin1("emaildefaults") ); emailConf.setGroup(TQString::fromLatin1("Defaults")); TQString profile = TQString::fromLatin1("PROFILE_"); profile += emailConf.readEntry(TQString::fromLatin1("Profile"), TQString::fromLatin1("Default")); @@ -379,18 +379,18 @@ FirstRunWizard::saveNonAnonymousProxySettings() { - KConfig* config = new KConfig("kioslaverc", false, false); + TDEConfig* config = new TDEConfig("tdeioslaverc", false, false); config->setGroup( "Proxy Settings" ); OriginalHttpProxy = config->readEntry( "httpProxy" ); OriginalHttpsProxy = config->readEntry( "httpsProxy" ); OriginalProxyType = config->readEntry( "ProxyType" ); - config = new KConfig("kcookiejarrc", false, false); + config = new TDEConfig("kcookiejarrc", false, false); config->setGroup( "Cookie Policy" ); OriginalCookies = config->readEntry( "Cookies" ); - config = new KConfig("kio_httprc", false, false); + config = new TDEConfig("tdeio_httprc", false, false); OriginalUseCache = config->readEntry( "UseCache" ); OriginalSendUserAgent = config->readEntry( "SendUserAgent" ); - config = new KConfig("konquerorrc", false, false); + config = new TDEConfig("konquerorrc", false, false); config->setGroup( "Java/JavaScript Settings" ); OriginalEnableJavascript = config->readEntry( "EnableJavaScript" ); OriginalEnableJava = config->readEntry( "EnableJava" ); @@ -413,7 +413,7 @@ FirstRunWizard::saveAnonymousProxySettings() - KConfig* config = new KConfig("kioslaverc", false, false); + TDEConfig* config = new TDEConfig("tdeioslaverc", false, false); config->setGroup( "Proxy Settings" ); KonqHttpProxy = config->readEntry( "httpProxy" ).section(":",0,1); KonqHttpProxyPort = config->readEntry( "httpProxy" ).section(":",-1,-1).toInt(); @@ -435,20 +435,20 @@ void FirstRunWizard::TorLocation_textChanged( const TQString & text) void FirstRunWizard::pushButton1_clicked() { - KRun::runCommand( "kcmshell proxy" ); + KRun::runCommand( "tdecmshell proxy" ); } void FirstRunWizard::pushButton1_2_clicked() { - KRun::runCommand( "kcmshell proxy" ); + KRun::runCommand( "tdecmshell proxy" ); } void FirstRunWizard::pushButton1_3_clicked() { - KRun::runCommand( "kcmshell proxy" ); + KRun::runCommand( "tdecmshell proxy" ); } void FirstRunWizard::testTorAgain_clicked() @@ -600,7 +600,7 @@ void FirstRunWizard::rootifyNetstat() KProcIO *catproc = new KProcIO(); catproc->setUseShell(TRUE); - TQString whichCommand= TQString("kdesu -t -c 'cp %1 %2;chmod u+s %3'").arg(netstat).arg(newnetstat).arg(newnetstat); + TQString whichCommand= TQString("tdesu -t -c 'cp %1 %2;chmod u+s %3'").arg(netstat).arg(newnetstat).arg(newnetstat); *catproc<<whichCommand; catproc->start(KProcIO::NotifyOnExit,TRUE); @@ -645,7 +645,7 @@ void FirstRunWizard::appendControlDirective(const TQString& text) TQString directory = KURL(text).directory(); KProcIO *catproc = new KProcIO(); catproc->setUseShell(TRUE); - TQString whichCommand= TQString("kdesu -c \"sh -c 'mkdir -p %1;printf \\\"ControlPort 9051\\n\\\"" + TQString whichCommand= TQString("tdesu -c \"sh -c 'mkdir -p %1;printf \\\"ControlPort 9051\\n\\\"" " >> %2;killall -s HUP tor'\"").arg(directory).arg(text); *catproc<<whichCommand; catproc->start(KProcIO::NotifyOnExit,TRUE); @@ -758,7 +758,7 @@ void FirstRunWizard::appendPrivoxyConfig(const TQString& text) KProcIO *catproc = new KProcIO(); catproc->setUseShell(TRUE); - TQString whichCommand= TQString("kdesu -c \"sh -c 'printf \\\"%1\\\"" + TQString whichCommand= TQString("tdesu -c \"sh -c 'printf \\\"%1\\\"" " >> %2;killall -s HUP privoxy'\"") .arg(privoxyConf) .arg(text); |