diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:26:22 +0900 |
commit | f476b77d1dda2e0e45cdf065b1907215c90fccd6 (patch) | |
tree | dec65915640fe8ca8f67f9c490575d939b89d5df /src/gvcore/threadgate.cpp | |
parent | 5eb453b778dba31ee1c5956ca9c9d6483c1cd620 (diff) | |
download | gwenview-f476b77d.tar.gz gwenview-f476b77d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 97ea83f8b23cc80320874b97b671c736a83c378a)
Diffstat (limited to 'src/gvcore/threadgate.cpp')
-rw-r--r-- | src/gvcore/threadgate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |