summaryrefslogtreecommitdiffstats
path: root/src/kernel/qsignal.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/kernel/qsignal.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qsignal.cpp')
-rw-r--r--src/kernel/qsignal.cpp18
1 files changed, 9 insertions, 9 deletions
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<TQSignal> 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