From 97ea83f8b23cc80320874b97b671c736a83c378a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 30 Dec 2023 16:28:59 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/gvcore/threadgate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gvcore/threadgate.cpp') diff --git a/src/gvcore/threadgate.cpp b/src/gvcore/threadgate.cpp index d5907ec..098e183 100644 --- a/src/gvcore/threadgate.cpp +++ b/src/gvcore/threadgate.cpp @@ -32,8 +32,8 @@ namespace Gwenview { // there's even no need to do any locking. ThreadGate::ThreadGate() { - connect( this, TQT_SIGNAL( signalColor( TQColor&, const char* )), - this, TQT_SLOT( slotColor( TQColor&, const char* ))); + connect( this, TQ_SIGNAL( signalColor( TQColor&, const char* )), + this, TQ_SLOT( slotColor( TQColor&, const char* ))); } ThreadGate* ThreadGate::instance() { @@ -48,7 +48,7 @@ TQColor ThreadGate::color( const char* name ) { if( TSThread::currentThread() == TSThread::mainThread()) return TQColor( name ); TQColor col; - TSThread::currentThread()->emitCancellableSignal( this, TQT_SIGNAL( signalColor( TQColor&, const char* )), col, name ); + TSThread::currentThread()->emitCancellableSignal( this, TQ_SIGNAL( signalColor( TQColor&, const char* )), col, name ); return col; } -- cgit v1.2.3