diff options
Diffstat (limited to 'src/gstplayer.cpp')
-rw-r--r-- | src/gstplayer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gstplayer.cpp b/src/gstplayer.cpp index 74bcee0..3683989 100644 --- a/src/gstplayer.cpp +++ b/src/gstplayer.cpp @@ -461,7 +461,7 @@ void Backend::play (int repeat) { } void Backend::stop () { - TQTimer::singleShot (0, gstapp, TQT_SLOT (stop ())); + TQTimer::singleShot (0, gstapp, TQ_SLOT (stop ())); } void Backend::pause () { @@ -507,7 +507,7 @@ void Backend::quit () { if (running) stop (); else - TQTimer::singleShot (0, tqApp, TQT_SLOT (quit ())); + TQTimer::singleShot (0, tqApp, TQ_SLOT (quit ())); } bool updateConfigEntry (const TQString & name, const TQString & value) { @@ -709,7 +709,7 @@ void KGStreamerPlayer::play (int repeat) { gstPollForStateChange (gst_elm_play, GST_STATE_PLAYING); } g_free (uri); - TQTimer::singleShot (500, this, TQT_SLOT (updatePosition ())); + TQTimer::singleShot (500, this, TQ_SLOT (updatePosition ())); return; fail: if (videosink) { @@ -757,7 +757,7 @@ void KGStreamerPlayer::stop () { } void KGStreamerPlayer::finished () { - TQTimer::singleShot (10, this, TQT_SLOT (stop ())); + TQTimer::singleShot (10, this, TQ_SLOT (stop ())); } static void adjustColorSetting (const char * channel, int val) { @@ -832,7 +832,7 @@ void KGStreamerPlayer::updatePosition () { callback->moviePosition (int (val / (GST_MSECOND * 100))); } mutex.unlock (); - TQTimer::singleShot (500, this, TQT_SLOT (updatePosition ())); + TQTimer::singleShot (500, this, TQ_SLOT (updatePosition ())); } } @@ -859,7 +859,7 @@ bool KGStreamerPlayer::event (TQEvent * e) { if (callback) callback->finished (); else - TQTimer::singleShot (0, this, TQT_SLOT (quit ())); + TQTimer::singleShot (0, this, TQ_SLOT (quit ())); break; } //callback->movieParams (se->length/100, se->width, se->height, se->height ? 1.0*se->width/se->height : 1.0); @@ -1075,7 +1075,7 @@ int main(int argc, char **argv) { getConfigEntries (buf); callback->started (dcopclient.appId (), buf); } else - TQTimer::singleShot (10, gstapp, TQT_SLOT (play (int))); + TQTimer::singleShot (10, gstapp, TQ_SLOT (play (int))); gstapp->exec (); |