summaryrefslogtreecommitdiffstats
path: root/noatun/library/engine.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/library/engine.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();