summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/oblique.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/oblique/oblique.cpp')
-rw-r--r--noatun-plugins/oblique/oblique.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/noatun-plugins/oblique/oblique.cpp b/noatun-plugins/oblique/oblique.cpp
index 97e75be..234833a 100644
--- a/noatun-plugins/oblique/oblique.cpp
+++ b/noatun-plugins/oblique/oblique.cpp
@@ -15,7 +15,7 @@
#include <kio/job.h>
#include <kfileitem.h>
-#include <qtimer.h>
+#include <tqtimer.h>
extern "C" Plugin *create_plugin()
{
@@ -35,15 +35,15 @@ Oblique::Oblique()
mBase = new Base(::locate("data", "noatun/")+"/oblique-list");
mView = new View(this);
- connect(napp->player(), SIGNAL(loopTypeChange(int)), SLOT(loopTypeChange(int)));
+ connect(napp->player(), TQT_SIGNAL(loopTypeChange(int)), TQT_SLOT(loopTypeChange(int)));
mSelector = new SequentialSelector(mView->tree());
new Configure(this);
// psst, window's gone, pass it on!
- connect(mView, SIGNAL(listHidden()), SIGNAL(listHidden()));
- connect(mView, SIGNAL(listShown()), SIGNAL(listShown()));
+ connect(mView, TQT_SIGNAL(listHidden()), TQT_SIGNAL(listHidden()));
+ connect(mView, TQT_SIGNAL(listShown()), TQT_SIGNAL(listShown()));
loopTypeChange(napp->player()->loopStyle());
}
@@ -185,21 +185,21 @@ void Oblique::beginDirectoryAdd(const KURL &url)
else
{
mAdder = new DirectoryAdder(url, this);
- connect(mAdder, SIGNAL(done()), SLOT(adderDone()));
+ connect(mAdder, TQT_SIGNAL(done()), TQT_SLOT(adderDone()));
}
}
Loader::Loader(Tree *tree)
- : QObject(tree)
+ : TQObject(tree)
{
mTree = tree;
mBase = mTree->oblique()->base();
mDeferredLoaderAt=1;
- QTimer::singleShot(0, this, SLOT(loadItemsDeferred()));
+ TQTimer::singleShot(0, this, TQT_SLOT(loadItemsDeferred()));
}
void Loader::loadItemsDeferred()
@@ -228,7 +228,7 @@ void Loader::loadItemsDeferred()
mDeferredLoaderAt++;
}
- QTimer::singleShot(0, this, SLOT(loadItemsDeferred()));
+ TQTimer::singleShot(0, this, TQT_SLOT(loadItemsDeferred()));
}
@@ -265,16 +265,16 @@ void DirectoryAdder::addNextPending()
currentJobURL= *pendingIt;
listJob = KIO::listDir(currentJobURL, false, false);
connect(
- listJob, SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)),
- SLOT(slotEntries(KIO::Job*, const KIO::UDSEntryList&))
+ listJob, TQT_SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)),
+ TQT_SLOT(slotEntries(KIO::Job*, const KIO::UDSEntryList&))
);
connect(
- listJob, SIGNAL(result(KIO::Job *)),
- SLOT(slotResult(KIO::Job *))
+ listJob, TQT_SIGNAL(result(KIO::Job *)),
+ TQT_SLOT(slotResult(KIO::Job *))
);
connect(
- listJob, SIGNAL(redirection(KIO::Job *, const KURL &)),
- SLOT(slotRedirection(KIO::Job *, const KURL &))
+ listJob, TQT_SIGNAL(redirection(KIO::Job *, const KURL &)),
+ TQT_SLOT(slotRedirection(KIO::Job *, const KURL &))
);
pendingAddDirectories.remove(pendingIt);
lastAddedSubDirectory = pendingAddDirectories.begin();
@@ -293,7 +293,7 @@ void DirectoryAdder::slotResult(KIO::Job *job)
void DirectoryAdder::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
{
- QMap<QString,KURL> __list; // temp list to sort entries
+ TQMap<TQString,KURL> __list; // temp list to sort entries
KIO::UDSEntryListConstIterator it = entries.begin();
KIO::UDSEntryListConstIterator end = entries.end();
@@ -309,7 +309,7 @@ void DirectoryAdder::slotEntries(KIO::Job *, const KIO::UDSEntryList &entries)
// - copied over from old kdirlister hack <hans_meine@gmx.de>
__list.insert(file.url().path(), file.url());
}
- QMap<QString,KURL>::Iterator __it;
+ TQMap<TQString,KURL>::Iterator __it;
for( __it = __list.begin(); __it != __list.end(); ++__it )
{
oblique()->addFile(__it.data(), false);