From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/kernel/qsignal.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/kernel/qsignal.cpp') diff --git a/src/kernel/qsignal.cpp b/src/kernel/qsignal.cpp index 8d91f0e6f..c26106abb 100644 --- a/src/kernel/qsignal.cpp +++ b/src/kernel/qsignal.cpp @@ -115,7 +115,7 @@ TQSignal::TQSignal( TQObject *parent, const char *name ) : TQObject( parent, name ) { isSignal = TRUE; -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT val = 0; #endif } @@ -127,7 +127,7 @@ TQSignal::TQSignal( TQObject *parent, const char *name ) TQSignal::~TQSignal() { } -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT // Returns TRUE if it matches ".+(.*int.*" static inline bool intSignature( const char *member ) { @@ -144,11 +144,11 @@ static inline bool intSignature( const char *member ) bool TQSignal::connect( const TQObject *receiver, const char *member ) { -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT if ( intSignature( member ) ) #endif return TQObject::connect( (TQObject *)this, SIGNAL(intSignal(int)), receiver, member ); -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT return TQObject::connect( (TQObject *)this, SIGNAL(signal(const TQVariant&)), receiver, member ); #endif @@ -164,11 +164,11 @@ bool TQSignal::disconnect( const TQObject *receiver, const char *member ) { if (!member) return TQObject::disconnect( (TQObject *)this, 0, receiver, member); -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT if ( intSignature( member ) ) #endif return TQObject::disconnect( (TQObject *)this, SIGNAL(intSignal(int)), receiver, member ); -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT return TQObject::disconnect( (TQObject *)this, SIGNAL(signal(const TQVariant&)), receiver, member ); #endif @@ -205,7 +205,7 @@ bool TQSignal::disconnect( const TQObject *receiver, const char *member ) */ void TQSignal::activate() { -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT /* Create this TQGuardedPtr on this, if we get destroyed after the intSignal (but before the variant signal) we cannot just emit the signal (because val has been destroyed already) */ TQGuardedPtr me = this; @@ -218,7 +218,7 @@ void TQSignal::activate() #endif } -#ifndef QT_NO_VARIANT +#ifndef TQT_NO_VARIANT /*! Sets the signal's parameter to \a value */ @@ -254,4 +254,4 @@ int TQSignal::parameter() const return val.toInt(); } #endif -#endif //QT_NO_VARIANT +#endif //TQT_NO_VARIANT -- cgit v1.2.1