summaryrefslogtreecommitdiffstats
path: root/kicker-applets/mediacontrol/amarokInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/mediacontrol/amarokInterface.cpp')
-rw-r--r--kicker-applets/mediacontrol/amarokInterface.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kicker-applets/mediacontrol/amarokInterface.cpp b/kicker-applets/mediacontrol/amarokInterface.cpp
index f52ae4b..a89e693 100644
--- a/kicker-applets/mediacontrol/amarokInterface.cpp
+++ b/kicker-applets/mediacontrol/amarokInterface.cpp
@@ -68,7 +68,7 @@ void AmarokInterface::myInit()
void AmarokInterface::appRegistered ( const TQCString &appId )
{
- if(appId.contains("amarok",false) )
+ if(appId.tqcontains("amarok",false) )
{
mAppId = appId;
emit playerStarted();
@@ -78,7 +78,7 @@ void AmarokInterface::appRegistered ( const TQCString &appId )
void AmarokInterface::appRemoved ( const TQCString &appId )
{
- if ( appId.contains("amarok",false) )
+ if ( appId.tqcontains("amarok",false) )
{
// is there still another amarok alive?
if ( findRunningAmarok() )
@@ -146,7 +146,7 @@ void AmarokInterface::updateSlider ( )
time = 0;
}
emit newSliderPosition(len,time);
- emit playingStatusChanged(playingStatus());
+ emit playingStatusChanged(playingtqStatus());
}
// Drag-n-Drop stuff =================================================================
@@ -242,7 +242,7 @@ const TQString AmarokInterface::getTrackTitle() const
else
{
TQDataStream reply(replyData, IO_ReadOnly);
- if (replyType == "TQString")
+ if (replyType == TQSTRING_OBJECT_NAME_STRING)
{
reply >> title;
return title;
@@ -264,7 +264,7 @@ bool AmarokInterface::findRunningAmarok()
for (iterator = allApps.constBegin(); iterator != allApps.constEnd(); ++iterator)
{
- if ((*iterator).contains("amarok",false))
+ if ((*iterator).tqcontains("amarok",false))
{
if (kapp->dcopClient()->call((*iterator), "player", "interfaces()", data, replyType, replyData) )
{
@@ -274,7 +274,7 @@ bool AmarokInterface::findRunningAmarok()
QCStringList list;
reply >> list;
- if ( list.contains("AmarokPlayerInterface") )
+ if ( list.tqcontains("AmarokPlayerInterface") )
{
kdDebug(90200) << "mediacontrol: amarok found" << endl;
mAppId = *iterator;
@@ -289,7 +289,7 @@ bool AmarokInterface::findRunningAmarok()
}
-int AmarokInterface::playingStatus()
+int AmarokInterface::playingtqStatus()
{
TQByteArray data, replyData;
TQCString replyType;