summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:34:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:34:43 +0900
commit6d6d6edb1d0cde2267d269bb9b172c9cd2b6767e (patch)
tree3e0482818d56403119f67810d9c294abcff625c8
parent3867fea38f7ac178f4e0d0b2e7b0eb7a2acb48b0 (diff)
downloadlibtdevnc-6d6d6edb1d0cde2267d269bb9b172c9cd2b6767e.tar.gz
libtdevnc-6d6d6edb1d0cde2267d269bb9b172c9cd2b6767e.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--libvncserver/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncserver/main.cpp b/libvncserver/main.cpp
index bfd6736..7765302 100644
--- a/libvncserver/main.cpp
+++ b/libvncserver/main.cpp
@@ -540,7 +540,7 @@ clientInput(void *data)
ClientOutputHandlerObject* clientOutputHandler = new ClientOutputHandlerObject();
clientOutputHandler->d = cl;
clientOutputHandler->moveToThread(clientOutputHandlerThread);
- TQTimer::singleShot(0, clientOutputHandler, SLOT(run()));
+ TQTimer::singleShot(0, clientOutputHandler, TQ_SLOT(run()));
clientOutputHandlerThread->start();
while (1) {
@@ -675,7 +675,7 @@ rfbStartOnHoldClient(rfbClientPtr cl)
mOnHoldClientHandler = new OnHoldClientHandlerObject();
mOnHoldClientHandler->d = cl;
mOnHoldClientHandler->moveToThread(mOnHoldClientHandlerThread);
- TQTimer::singleShot(0, mOnHoldClientHandler, SLOT(run()));
+ TQTimer::singleShot(0, mOnHoldClientHandler, TQ_SLOT(run()));
mOnHoldClientHandlerThread->start();
}
@@ -1307,7 +1307,7 @@ void rfbRunEventLoop(rfbScreenInfoPtr screen, long usec, rfbBool runInBackground
mControlPipeHandler = new ControlPipeHandlerObject();
mControlPipeHandler->d = screen;
mControlPipeHandler->moveToThread(mControlPipeHandlerThread);
- TQTimer::singleShot(0, mControlPipeHandler, SLOT(run()));
+ TQTimer::singleShot(0, mControlPipeHandler, TQ_SLOT(run()));
mControlPipeHandlerThread->start();
return;
#else