diff options
author | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
commit | 97ea83f8b23cc80320874b97b671c736a83c378a (patch) | |
tree | 8da6950abf3ecb5696ffd969bac30d6e05ce9620 /src/gvcore/threadgate.cpp | |
parent | 831670cd1aa76b314b447cfa2d9c71603cbbf43e (diff) | |
download | gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.tar.gz gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
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; } |