summaryrefslogtreecommitdiffstats
path: root/kicker-applets/mediacontrol/xmmsInterface.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/mediacontrol/xmmsInterface.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/mediacontrol/xmmsInterface.cpp')
-rw-r--r--kicker-applets/mediacontrol/xmmsInterface.cpp20
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)));
}