summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/widgets/browser/dirlister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/widgets/browser/dirlister.cpp')
-rw-r--r--kftpgrabber/src/widgets/browser/dirlister.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kftpgrabber/src/widgets/browser/dirlister.cpp b/kftpgrabber/src/widgets/browser/dirlister.cpp
index 4d539e4..9336a59 100644
--- a/kftpgrabber/src/widgets/browser/dirlister.cpp
+++ b/kftpgrabber/src/widgets/browser/dirlister.cpp
@@ -40,8 +40,8 @@
#include "kftpsession.h"
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
using namespace KFTPEngine;
@@ -49,8 +49,8 @@ namespace KFTPWidgets {
namespace Browser {
-DirLister::DirLister(QObject *parent)
- : QObject(parent)
+DirLister::DirLister(TQObject *parent)
+ : TQObject(parent)
{
m_localLister = new KDirLister();
m_localLister->setAutoUpdate(true);
@@ -97,7 +97,7 @@ void DirLister::fetchLocation(const KURL &url, bool reload)
void DirLister::enableLocal()
{
m_localLister->stop();
- m_localLister->QObject::disconnect(this);
+ m_localLister->TQObject::disconnect(this);
connect(m_localLister, SIGNAL(clear()), this, SIGNAL(clear()));
connect(m_localLister, SIGNAL(completed()), this, SIGNAL(completed()));
@@ -108,15 +108,15 @@ void DirLister::enableLocal()
void DirLister::enableRemote()
{
m_localLister->stop();
- m_localLister->QObject::disconnect(this);
- m_remoteSession->getClient()->eventHandler()->QObject::disconnect(this);
+ m_localLister->TQObject::disconnect(this);
+ m_remoteSession->getClient()->eventHandler()->TQObject::disconnect(this);
connect(m_remoteSession->getClient()->eventHandler(), SIGNAL(engineEvent(KFTPEngine::Event*)), this, SLOT(slotRemoteEngineEvent(KFTPEngine::Event*)));
}
void DirLister::disableRemote()
{
- m_remoteSession->getClient()->eventHandler()->QObject::disconnect(this);
+ m_remoteSession->getClient()->eventHandler()->TQObject::disconnect(this);
}
void DirLister::stop()
@@ -145,9 +145,9 @@ void DirLister::slotRemoteEngineEvent(KFTPEngine::Event *event)
m_items.clear();
// Populate the item list
- QValueList<DirectoryEntry> list = event->getParameter(0).asDirectoryListing().list();
- QValueList<DirectoryEntry>::ConstIterator end(list.end());
- for (QValueList<DirectoryEntry>::ConstIterator i(list.begin()); i != end; ++i) {
+ TQValueList<DirectoryEntry> list = event->getParameter(0).asDirectoryListing().list();
+ TQValueList<DirectoryEntry>::ConstIterator end(list.end());
+ for (TQValueList<DirectoryEntry>::ConstIterator i(list.begin()); i != end; ++i) {
if (!m_showHidden && (*i).filename().at(0) == '.')
continue;