summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/nowlistening/nlamarok.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/nowlistening/nlamarok.cpp')
-rw-r--r--kopete/plugins/nowlistening/nlamarok.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/plugins/nowlistening/nlamarok.cpp b/kopete/plugins/nowlistening/nlamarok.cpp
index 15d19411..9101758c 100644
--- a/kopete/plugins/nowlistening/nlamarok.cpp
+++ b/kopete/plugins/nowlistening/nlamarok.cpp
@@ -22,7 +22,7 @@
*/
#include <kdebug.h>
-#include <qstring.h>
+#include <tqstring.h>
#include "nlmediaplayer.h"
#include "nlamarok.h"
@@ -38,10 +38,10 @@ void NLamaroK::update()
{
m_playing = false;
m_newTrack = false;
- QString newTrack;
- QByteArray data, replyData;
- QCString replyType;
- QString result;
+ TQString newTrack;
+ TQByteArray data, replyData;
+ TQCString replyType;
+ TQString result;
// see if amaroK is registered with DCOP
if ( !m_client->isApplicationRegistered( "amarok" ) )
@@ -64,7 +64,7 @@ void NLamaroK::update()
}
else
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
if ( replyType == "bool" ) {
reply >> m_playing;
}
@@ -74,7 +74,7 @@ void NLamaroK::update()
{
int status = 0;
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
if ( replyType == "int" ) {
reply >> status;
kdDebug( 14307 ) << k_funcinfo << "Amarok status()=" << status << endl;
@@ -89,9 +89,9 @@ void NLamaroK::update()
if ( m_client->call( "amarok", "player", "title()", data,
replyType, replyData ) )
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
- if ( replyType == "QString" ) {
+ if ( replyType == "TQString" ) {
reply >> newTrack;
}
}
@@ -105,9 +105,9 @@ void NLamaroK::update()
if ( m_client->call( "amarok", "player", "album()", data,
replyType, replyData ) )
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
- if ( replyType == "QString" ) {
+ if ( replyType == "TQString" ) {
reply >> m_album;
}
}
@@ -115,9 +115,9 @@ void NLamaroK::update()
if ( m_client->call( "amarok", "player", "artist()", data,
replyType, replyData ) )
{
- QDataStream reply( replyData, IO_ReadOnly );
+ TQDataStream reply( replyData, IO_ReadOnly );
- if ( replyType == "QString" ) {
+ if ( replyType == "TQString" ) {
reply >> m_artist;
}
}