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-02 11:37:36 +0900
commit861ae27a46c4bb5d5c67feb6d8bbb4a37961b9cd (patch)
tree60d518a0a91ed14bfb31abf12ff0effb10bcec56 /src/xvplayer.cpp
parentc8a3b81b3c22a3eb79afd726cfef71c0949efb7d (diff)
downloadkmplayer-861ae27a46c4bb5d5c67feb6d8bbb4a37961b9cd.tar.gz
kmplayer-861ae27a46c4bb5d5c67feb6d8bbb4a37961b9cd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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) {