From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/library/engine.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'noatun/library/engine.cpp') 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 #include #include -#include -#include +#include +#include #include #include #include @@ -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(); -- cgit v1.2.1