summaryrefslogtreecommitdiffstats
path: root/src/xvplayer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:37:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:15:32 +0900
commit1f99527a72e8c797114ec9524f22b47b5340d9d8 (patch)
tree935d085e4f5d7db612f1b7ae2e28582c4d748b1f /src/xvplayer.cpp
parent436bc26605eddb1bc7c21b8efe6230674b86db60 (diff)
downloadkmplayer-1f99527a72e8c797114ec9524f22b47b5340d9d8.tar.gz
kmplayer-1f99527a72e8c797114ec9524f22b47b5340d9d8.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 861ae27a46c4bb5d5c67feb6d8bbb4a37961b9cd)
Diffstat (limited to 'src/xvplayer.cpp')
-rw-r--r--src/xvplayer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xvplayer.cpp b/src/xvplayer.cpp
index 4f61fc1..f10c9bd 100644
--- a/src/xvplayer.cpp
+++ b/src/xvplayer.cpp
@@ -129,7 +129,7 @@ void Backend::play (int) {
}
void Backend::stop () {
- TQTimer::singleShot (0, xvapp, TQT_SLOT (stop ()));
+ TQTimer::singleShot (0, xvapp, TQ_SLOT (stop ()));
}
void Backend::pause () {
@@ -179,7 +179,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) {
@@ -226,7 +226,7 @@ void KXVideoPlayer::init () {
wid = XCreateSimpleWindow(display, XDefaultRootWindow(display),
xpos, ypos, width, height, 1, 0, 0);
if (!callback)
- TQTimer::singleShot (10, this, TQT_SLOT (play ()));
+ TQTimer::singleShot (10, this, TQ_SLOT (play ()));
XSelectInput (display, wid,
(PointerMotionMask | ExposureMask | KeyPressMask | ButtonPressMask | StructureNotifyMask)); // | SubstructureNotifyMask));
XvAdaptorInfo * ai;
@@ -435,11 +435,11 @@ void KXVideoPlayer::stop () {
if (callback)
callback->finished ();
else
- TQTimer::singleShot (0, tqApp, TQT_SLOT (quit ()));
+ TQTimer::singleShot (0, tqApp, TQ_SLOT (quit ()));
}
void KXVideoPlayer::finished () {
- TQTimer::singleShot (10, this, TQT_SLOT (stop ()));
+ TQTimer::singleShot (10, this, TQ_SLOT (stop ()));
}
void KXVideoPlayer::saturation (int val) {