diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 23:21:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 23:21:47 -0600 |
commit | da47dd9fc60e6e0eecf609fb934eb0e2bd3ef3fb (patch) | |
tree | b42ba87fcdfa425a31e243a62d71e1de248b6ee8 /kget/transfer.cpp | |
parent | 4ed8d784e29102ed1659f4ccf71fcc6fb0dad5c8 (diff) | |
download | tdenetwork-da47dd9fc60e6e0eecf609fb934eb0e2bd3ef3fb.tar.gz tdenetwork-da47dd9fc60e6e0eecf609fb934eb0e2bd3ef3fb.zip |
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'kget/transfer.cpp')
-rw-r--r-- | kget/transfer.cpp | 12 |
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; } |