summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/nowlistening/nlkaffeine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/nowlistening/nlkaffeine.cpp')
-rw-r--r--kopete/plugins/nowlistening/nlkaffeine.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/plugins/nowlistening/nlkaffeine.cpp b/kopete/plugins/nowlistening/nlkaffeine.cpp
index fe02077f..d5823298 100644
--- a/kopete/plugins/nowlistening/nlkaffeine.cpp
+++ b/kopete/plugins/nowlistening/nlkaffeine.cpp
@@ -22,7 +22,7 @@
*/
#include <kdebug.h>
-#include <qstring.h>
+#include <tqstring.h>
#include "nlmediaplayer.h"
#include "nlkaffeine.h"
@@ -38,17 +38,17 @@ void NLKaffeine::update()
{
m_playing = false;
m_newTrack = false;
- QString newTrack;
+ TQString newTrack;
bool error = true; // Asume we have a error first.
- QCString kaffeineIface("Kaffeine"), kaffeineGetTrack("getTitle()");
+ TQCString kaffeineIface("Kaffeine"), kaffeineGetTrack("getTitle()");
// see if kaffeine is registered with DCOP
if ( m_client->isApplicationRegistered( "kaffeine" ) )
{
// see if it's playing
- QByteArray data, replyData;
- QCString replyType;
- QString result;
+ TQByteArray data, replyData;
+ TQCString replyType;
+ TQString result;
if ( !m_client->call( "kaffeine", kaffeineIface, "isPlaying()", data,
replyType, replyData ) )
{
@@ -73,7 +73,7 @@ void NLKaffeine::update()
// If we didn't get any DCOP error, check if Kaffeine is playing.
if(!error)
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
if ( replyType == "bool" ) {
reply >> m_playing;
kdDebug( 14307 ) << "checked if Kaffeine is playing!" << endl;
@@ -83,9 +83,9 @@ void NLKaffeine::update()
if ( m_client->call( "kaffeine", kaffeineIface, kaffeineGetTrack, data,
replyType, replyData ) )
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
- if ( replyType == "QString" ) {
+ if ( replyType == "TQString" ) {
reply >> newTrack;
}
}