summaryrefslogtreecommitdiffstats
path: root/src/gvcore/threadgate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/threadgate.cpp')
-rw-r--r--src/gvcore/threadgate.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gvcore/threadgate.cpp b/src/gvcore/threadgate.cpp
index fb0c65b..290059d 100644
--- a/src/gvcore/threadgate.cpp
+++ b/src/gvcore/threadgate.cpp
@@ -33,8 +33,8 @@ namespace Gwenview {
// there's even no need to do any locking.
ThreadGate::ThreadGate() {
- connect( this, SIGNAL( signalColor( QColor&, const char* )),
- this, SLOT( slotColor( QColor&, const char* )));
+ connect( this, TQT_SIGNAL( signalColor( TQColor&, const char* )),
+ this, TQT_SLOT( slotColor( TQColor&, const char* )));
}
ThreadGate* ThreadGate::instance() {
@@ -42,19 +42,19 @@ ThreadGate* ThreadGate::instance() {
return &gate;
}
-QColor ThreadGate::color( const char* name ) {
+TQColor ThreadGate::color( const char* name ) {
if( name == NULL || name[ 0 ] == '\0' || name[ 0 ] == '#' )
- return QColor( name );
+ return TQColor( name );
// named color ... needs to be created in the main thread
if( TSThread::currentThread() == TSThread::mainThread())
- return QColor( name );
- QColor col;
- TSThread::currentThread()->emitCancellableSignal( this, SIGNAL( signalColor( QColor&, const char* )), col, name );
+ return TQColor( name );
+ TQColor col;
+ TSThread::currentThread()->emitCancellableSignal( this, TQT_SIGNAL( signalColor( TQColor&, const char* )), col, name );
return col;
}
-void ThreadGate::slotColor( QColor& col, const char* name ) {
- col = QColor( name );
+void ThreadGate::slotColor( TQColor& col, const char* name ) {
+ col = TQColor( name );
}
} // namespace