summaryrefslogtreecommitdiffstats
path: root/src/update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.cpp')
-rw-r--r--src/update.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/update.cpp b/src/update.cpp
index d406ac4..43f4a8d 100644
--- a/src/update.cpp
+++ b/src/update.cpp
@@ -23,27 +23,27 @@
#include <kstaticdeleter.h>
-#include <klocale.h>
-#include <kio/netaccess.h>
+#include <tdelocale.h>
+#include <tdeio/netaccess.h>
-#include <kaction.h>
+#include <tdeaction.h>
#include <ntqcheckbox.h>
#include <kbuttonbox.h>
#include <kurlcompletion.h>
#include <kcombobox.h>
#include <ntqlayout.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <klineedit.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <ksystemtray.h>
#include <ktar.h>
#include <kprogress.h>
#include <kprocio.h>
#include <knotifyclient.h>
#include <dom/html_misc.h>
-#include <kapplication.h>
+#include <tdeapplication.h>
#include <dcopclient.h>
#include <kuser.h>
@@ -75,7 +75,7 @@ const char *mirrors[] = {
};
TorkUpdate::TorkUpdate(TQWidget *parent, const char *name)
- : TQWidget(parent, name),filelist(new KHTMLPart(this))
+ : TQWidget(parent, name),filelist(new TDEHTMLPart(this))
{
}
@@ -141,7 +141,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
dlLocation = TQString("http://%1.dl.sourceforge.net/sourceforge/%2/%3-%4%5").arg(getMirror()).arg(component).arg(component).arg(version).arg(extension);
TQString tmpFile;
- if ( !KIO::NetAccess::download( dlLocation, tmpFile, 0L ) ){
+ if ( !TDEIO::NetAccess::download( dlLocation, tmpFile, 0L ) ){
KMessageBox::information (0,i18n("Couldn't download %1.").arg(component));
delete timer;
timer=0;
@@ -153,7 +153,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
TQString tmpFile2;
if (!dlLocationSig.isEmpty()){
- if ( !KIO::NetAccess::download( dlLocationSig, tmpFile2, 0L ) ){
+ if ( !TDEIO::NetAccess::download( dlLocationSig, tmpFile2, 0L ) ){
KMessageBox::information (0,i18n("Couldn't download %1 signature file.").arg(component));
delete timer;
timer=0;
@@ -216,7 +216,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
entry = tar.directory()->entries();
tar.close();
// remove the temp file
- //KIO::NetAccess::removeTempFile( tmpFile );
+ //TDEIO::NetAccess::removeTempFile( tmpFile );
delete timer;
timer=0;
@@ -256,7 +256,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
break;
case 5 :
- KProcess* arkollonproc = new KShellProcess();
+ TDEProcess* arkollonproc = new KShellProcess();
KMessageBox::information (this,i18n( "<p><b>If this the first time you've compiled software then here are a few useful tips:</b><br>"
"1. Any error messages in the log file with the words 'KDE', 'TQt','curl' or 'X' in them mean that you need to install "
@@ -266,7 +266,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
TQString command;
if (component == "Mixminion")
- command = TQString("kdesu -i tork -c 'xterm -hold -e \"cd %1;make install;printf \\\"If there were errors try downloading and installing Mixminion from the Mixminion homepage. If the installation looks successful try sending an anonymous mail to yourself. Close the window to continue.\\\"\"'").arg(configure);
+ command = TQString("tdesu -i tork -c 'xterm -hold -e \"cd %1;make install;printf \\\"If there were errors try downloading and installing Mixminion from the Mixminion homepage. If the installation looks successful try sending an anonymous mail to yourself. Close the window to continue.\\\"\"'").arg(configure);
else if (component == "privoxy")
command = TQString("cd %1; autoheader;autoconf;torkarkollon %2").arg(configure).arg(configure);
else
@@ -274,7 +274,7 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin
*arkollonproc << command;
- connect( arkollonproc, SIGNAL(processExited(KProcess *)), SLOT(torkInstallationExited(KProcess *)) );
+ connect( arkollonproc, SIGNAL(processExited(TDEProcess *)), SLOT(torkInstallationExited(TDEProcess *)) );
arkollonproc->start();
}
}
@@ -429,7 +429,7 @@ void TorkUpdate::slotProg()
}
-void TorkUpdate::torkInstallationExited(KProcess* arkollonproc)
+void TorkUpdate::torkInstallationExited(TDEProcess* arkollonproc)
{
arkollonproc = 0;
@@ -487,7 +487,7 @@ void TorkUpdate::getLatestVersionFromSFHack(KURL url)
if (!filelist)
- filelist = new KHTMLPart();
+ filelist = new TDEHTMLPart();
connect( filelist, SIGNAL( completed() ), this,
SLOT( parseSFPageHack() ) );