summaryrefslogtreecommitdiffstats
path: root/noatun/library/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/engine.cpp')
-rw-r--r--noatun/library/engine.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/noatun/library/engine.cpp b/noatun/library/engine.cpp
index e937fa7f..00f26022 100644
--- a/noatun/library/engine.cpp
+++ b/noatun/library/engine.cpp
@@ -14,8 +14,8 @@
#include <kstandarddirs.h>
#include <kconfig.h>
#include <kdebug.h>
-#include <qfile.h>
-#include <qdir.h>
+#include <tqfile.h>
+#include <tqdir.h>
#include <sys/wait.h>
#include <kplayobject.h>
#include <kplayobjectfactory.h>
@@ -248,7 +248,7 @@ Noatun::StereoEffectStack *Engine::globalEffectStack() const { return &d->globa
Noatun::Equalizer *Engine::equalizer() const { return &d->equalizer; }
Noatun::Session *Engine::session() const { return &d->session; }
-Engine::Engine(QObject *parent) : QObject(parent, "Engine"), mPlay(false)
+Engine::Engine(TQObject *parent) : TQObject(parent, "Engine"), mPlay(false)
{
d=new EnginePrivate;
// Connect to aRts
@@ -293,19 +293,19 @@ bool Engine::open(const PlaylistItem &file)
d->pProxy = new TitleProxy::Proxy(KURL(file.property("stream_")));
d->playobj = factory.createPlayObject(d->pProxy->proxyUrl(), false);
- connect(d->playobj, SIGNAL(destroyed()), this, SLOT(deleteProxy()));
+ connect(d->playobj, TQT_SIGNAL(destroyed()), this, TQT_SLOT(deleteProxy()));
connect(
- d->pProxy, SIGNAL(
+ d->pProxy, TQT_SIGNAL(
metaData(
- const QString &, const QString &,
- const QString &, const QString &,
- const QString &, const QString &)),
- this, SIGNAL(
- receivedStreamMeta(const QString &, const QString &,
- const QString &, const QString &,
- const QString &, const QString &))
+ const TQString &, const TQString &,
+ const TQString &, const TQString &,
+ const TQString &, const TQString &)),
+ this, TQT_SIGNAL(
+ receivedStreamMeta(const TQString &, const TQString &,
+ const TQString &, const TQString &,
+ const TQString &, const TQString &))
);
- connect(d->pProxy, SIGNAL(proxyError()), this, SLOT(slotProxyError()));
+ connect(d->pProxy, TQT_SIGNAL(proxyError()), this, TQT_SLOT(slotProxyError()));
}
else
{
@@ -328,7 +328,7 @@ bool Engine::open(const PlaylistItem &file)
}
else
{
- connect( d->playobj, SIGNAL( playObjectCreated() ), this, SLOT( connectPlayObject() ) );
+ connect( d->playobj, TQT_SIGNAL( playObjectCreated() ), this, TQT_SLOT( connectPlayObject() ) );
}
if (mPlay)
@@ -463,7 +463,7 @@ bool Engine::initArts()
// aRts seems not to be running, let's try to run it
// First, let's read the configuration as in kcmarts
KConfig config("kcmartsrc");
- QCString cmdline;
+ TQCString cmdline;
config.setGroup("Arts");
@@ -472,7 +472,7 @@ bool Engine::initArts()
// put the value of x11Comm into .mcoprc
{
- KConfig X11CommConfig(QDir::homeDirPath()+"/.mcoprc");
+ KConfig X11CommConfig(TQDir::homeDirPath()+"/.mcoprc");
if(x11Comm)
X11CommConfig.writeEntry("GlobalComm", "Arts::X11GlobalComm");
@@ -482,15 +482,15 @@ bool Engine::initArts()
X11CommConfig.sync();
}
- cmdline = QFile::encodeName(KStandardDirs::findExe(QString::fromLatin1("kdeinit_wrapper")));
+ cmdline = TQFile::encodeName(KStandardDirs::findExe(TQString::fromLatin1("kdeinit_wrapper")));
cmdline += " ";
if (rt)
- cmdline += QFile::encodeName(KStandardDirs::findExe(
- QString::fromLatin1("artswrapper")));
+ cmdline += TQFile::encodeName(KStandardDirs::findExe(
+ TQString::fromLatin1("artswrapper")));
else
- cmdline += QFile::encodeName(KStandardDirs::findExe(
- QString::fromLatin1("artsd")));
+ cmdline += TQFile::encodeName(KStandardDirs::findExe(
+ TQString::fromLatin1("artsd")));
cmdline += " ";
cmdline += config.readEntry("Arguments","-F 10 -S 4096 -s 60 -m artsmessage -l 3 -f").utf8();