diff options
Diffstat (limited to 'kicker-applets/mediacontrol/xmmsInterface.cpp')
-rw-r--r-- | kicker-applets/mediacontrol/xmmsInterface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kicker-applets/mediacontrol/xmmsInterface.cpp b/kicker-applets/mediacontrol/xmmsInterface.cpp index e2512e5..7d8e236 100644 --- a/kicker-applets/mediacontrol/xmmsInterface.cpp +++ b/kicker-applets/mediacontrol/xmmsInterface.cpp @@ -34,9 +34,9 @@ XmmsInterface::XmmsInterface() : PlayerInterface() { timervalue = TIMER_FAST; bStartingXMMS = false; - xmms_timer = new QTimer ( this, "xmms_timer" ); + xmms_timer = new TQTimer ( this, "xmms_timer" ); - QObject::connect( xmms_timer, SIGNAL(timeout()), SLOT(updateSlider()) ); + TQObject::connect( xmms_timer, TQT_SIGNAL(timeout()), TQT_SLOT(updateSlider()) ); // Better start the timer as late as possible in initialization xmms_timer->start ( timervalue ); @@ -85,16 +85,16 @@ void XmmsInterface::updateSlider ( void ) // Drag-n-Drop stuff ================================================================= -void XmmsInterface::dragEnterEvent(QDragEnterEvent* event) +void XmmsInterface::dragEnterEvent(TQDragEnterEvent* event) { - event->accept( QTextDrag::canDecode(event) ); + event->accept( TQTextDrag::canDecode(event) ); } -void XmmsInterface::dropEvent(QDropEvent* event) +void XmmsInterface::dropEvent(TQDropEvent* event) { - QString text; + TQString text; // kdDebug(90200) << "XmmsInterface::dropEvent()" << endl; - if ( QTextDrag::decode(event, text) ) + if ( TQTextDrag::decode(event, text) ) { xmms_remote_playlist_add_url_string(XMMS_SESSION, (gchar *)text.local8Bit().data()); @@ -127,7 +127,7 @@ void XmmsInterface::playpause() return; startPlayer("xmms"); bStartingXMMS = true; - QTimer::singleShot(500, this, SLOT(playpause())); + TQTimer::singleShot(500, this, TQT_SLOT(playpause())); } else { @@ -174,9 +174,9 @@ int XmmsInterface::playingStatus() return Stopped; } -const QString XmmsInterface::getTrackTitle() const +const TQString XmmsInterface::getTrackTitle() const { - return QString::fromLocal8Bit( + return TQString::fromLocal8Bit( xmms_remote_get_playlist_title(XMMS_SESSION, xmms_remote_get_playlist_pos(XMMS_SESSION))); } |