From 6d6d6edb1d0cde2267d269bb9b172c9cd2b6767e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:34:43 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- libvncserver/main.cpp | 6 +++--- 1 file 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