summaryrefslogtreecommitdiffstats
path: root/arts/kde/kplayobject.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /arts/kde/kplayobject.cc
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/kde/kplayobject.cc')
-rw-r--r--arts/kde/kplayobject.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/arts/kde/kplayobject.cc b/arts/kde/kplayobject.cc
index af37735cb..becb20a58 100644
--- a/arts/kde/kplayobject.cc
+++ b/arts/kde/kplayobject.cc
@@ -24,13 +24,13 @@
#include "kplayobjectcreator.h"
#include <kdebug.h>
-KPlayObject::KPlayObject() : QObject()
+KPlayObject::KPlayObject() : TQObject()
{
m_playObject = Arts::PlayObject::null();
m_isStream = false;
}
-KPlayObject::KPlayObject(Arts::PlayObject playobject, bool isStream) : QObject()
+KPlayObject::KPlayObject(Arts::PlayObject playobject, bool isStream) : TQObject()
{
m_playObject = playobject;
m_isStream = isStream;
@@ -63,9 +63,9 @@ void KPlayObject::halt()
object().halt();
}
-QString KPlayObject::description()
+TQString KPlayObject::description()
{
- return QString::fromLatin1(object().description().c_str());
+ return TQString::fromLatin1(object().description().c_str());
}
Arts::poTime KPlayObject::currentTime()
@@ -83,9 +83,9 @@ Arts::poCapabilities KPlayObject::capabilities()
return object().capabilities();
}
-QString KPlayObject::mediaName()
+TQString KPlayObject::mediaName()
{
- return QString::fromLatin1(object().mediaName().c_str());
+ return TQString::fromLatin1(object().mediaName().c_str());
}
Arts::poState KPlayObject::state()
@@ -131,14 +131,14 @@ struct KDE::PlayObject::PrivateData
KURL url;
};
-KDE::PlayObject::PlayObject() : QObject()
+KDE::PlayObject::PlayObject() : TQObject()
{
m_playObject = Arts::PlayObject::null();
m_isStream = false;
d = new PrivateData;
}
-KDE::PlayObject::PlayObject(Arts::PlayObject playobject, bool isStream) : QObject()
+KDE::PlayObject::PlayObject(Arts::PlayObject playobject, bool isStream) : TQObject()
{
m_playObject = playobject;
m_isStream = isStream;
@@ -150,7 +150,7 @@ KDE::PlayObject::PlayObject(Arts::PlayObject playobject, bool isStream) : QObjec
//emit playObjectCreated();
}
-KDE::PlayObject::PlayObject( Arts::SoundServerV2 server, const KURL& url, bool isStream, bool createBUS ) : QObject()
+KDE::PlayObject::PlayObject( Arts::SoundServerV2 server, const KURL& url, bool isStream, bool createBUS ) : TQObject()
{
kdDebug( 400 ) << "KDE::PlayObject: created as proxy for URL " << url.url()<< endl;
@@ -179,7 +179,7 @@ void KDE::PlayObject::play()
if ( d->creator )
delete d->creator;
d->creator = new KDE::PlayObjectCreator( d->server );
- d->creator->create( d->url, d->createBUS, this, SLOT( attachPlayObject( Arts::PlayObject ) ) );
+ d->creator->create( d->url, d->createBUS, this, TQT_SLOT( attachPlayObject( Arts::PlayObject ) ) );
kdDebug( 400 ) << "KDE::PlayObject::play(): creator called" << endl;
d->internalState = Arts::posPlaying;
}
@@ -239,11 +239,11 @@ void KDE::PlayObject::halt()
d->internalState = Arts::posIdle;
}
-QString KDE::PlayObject::description()
+TQString KDE::PlayObject::description()
{
if ( object().isNull() )
- return QString();
- return QString::fromLatin1(object().description().c_str());
+ return TQString();
+ return TQString::fromLatin1(object().description().c_str());
}
Arts::poTime KDE::PlayObject::currentTime()
@@ -267,11 +267,11 @@ Arts::poCapabilities KDE::PlayObject::capabilities()
return object().capabilities();
}
-QString KDE::PlayObject::mediaName()
+TQString KDE::PlayObject::mediaName()
{
if ( object().isNull() )
- return QString();
- return QString::fromLatin1(object().mediaName().c_str());
+ return TQString();
+ return TQString::fromLatin1(object().mediaName().c_str());
}
Arts::poState KDE::PlayObject::state()