summaryrefslogtreecommitdiffstats
path: root/kget/transfer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/transfer.cpp')
-rw-r--r--kget/transfer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kget/transfer.cpp b/kget/transfer.cpp
index e9631091..43bc6939 100644
--- a/kget/transfer.cpp
+++ b/kget/transfer.cpp
@@ -29,7 +29,7 @@
#include <kmessagebox.h>
#include <klocale.h>
#include <ksimpleconfig.h>
-#include <kaction.h>
+#include <tdeaction.h>
#include <kiconloader.h>
#include <kstandarddirs.h>
#include <twin.h>
@@ -39,7 +39,7 @@
#include "safedelete.h"
#include "settings.h"
#include "logwindow.h"
-#include "kmainwidget.h"
+#include "tdemainwidget.h"
#include "dlgIndividual.h"
#include "transferlist.h"
#include "transfer.h"
@@ -118,10 +118,10 @@ Transfer::init(const uint _id)
status = ST_STOPPED;
- connect(this, TQT_SIGNAL(statusChanged(Transfer *, int)), kmain, TQT_SLOT(slotStatusChanged(Transfer *, int)));
+ connect(this, TQT_SIGNAL(statusChanged(Transfer *, int)), tdemain, TQT_SLOT(slotStatusChanged(Transfer *, int)));
connect(this, TQT_SIGNAL(statusChanged(Transfer *, int)), this, TQT_SLOT(slotUpdateActions()));
- connect(this, TQT_SIGNAL(log(uint, const TQString &, const TQString &)), kmain->logwin(), TQT_SLOT(logTransfer(uint, const TQString &, const TQString &)));
+ connect(this, TQT_SIGNAL(log(uint, const TQString &, const TQString &)), tdemain->logwin(), TQT_SLOT(logTransfer(uint, const TQString &, const TQString &)));
// setup actions
m_paResume = new TDEAction(i18n("&Resume"), "tool_resume", 0, this, TQT_SLOT(slotResume()), this, "resume");
@@ -782,7 +782,7 @@ bool Transfer::read(KSimpleConfig * config, int id)
}
if (!src.isValid() && !ksettings.b_expertMode) {
- KMessageBox::error(kmain, i18n("Malformed URL:\n") + src.prettyURL(), i18n("Error"));
+ KMessageBox::error(tdemain, i18n("Malformed URL:\n") + src.prettyURL(), i18n("Error"));
return false;
}
@@ -840,7 +840,7 @@ void Transfer::slotExecPause()
m_paResume->setEnabled(true);
slotUpdateActions();
//TODO WE NEED TO UPDATE ACTIONS..
- kmain->slotUpdateActions();
+ tdemain->slotUpdateActions();
emit statusChanged(this, OP_PAUSED);
sDebugOut << endl;
}