diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-07 21:22:27 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-07 21:22:27 +0900 |
commit | f2b3ea52ef97d4d6f75d60d48f98a35bc1469368 (patch) | |
tree | 596c51468ab6339193f2b22de8e174ffef28be60 /src/kernel | |
parent | fb6884ead2891c09ee54fca2d753fb8d34359e28 (diff) | |
download | tqt3-f2b3ea52ef97d4d6f75d60d48f98a35bc1469368.tar.gz tqt3-f2b3ea52ef97d4d6f75d60d48f98a35bc1469368.zip |
Drop compatibility code for TQSignal
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/ntqsignal.h | 9 | ||||
-rw-r--r-- | src/kernel/qsignal.cpp | 35 |
2 files changed, 0 insertions, 44 deletions
diff --git a/src/kernel/ntqsignal.h b/src/kernel/ntqsignal.h index 55384f3a7..3d482e5b6 100644 --- a/src/kernel/ntqsignal.h +++ b/src/kernel/ntqsignal.h @@ -60,15 +60,6 @@ public: void activate(); -#ifndef TQT_NO_COMPAT - bool isBlocked() const { return TQObject::signalsBlocked(); } - void block( bool b ) { TQObject::blockSignals( b ); } -#ifndef TQT_NO_VARIANT - void setParameter( int value ); - int parameter() const; -#endif -#endif - #ifndef TQT_NO_VARIANT void setValue( const TQVariant &value ); TQVariant value() const; diff --git a/src/kernel/qsignal.cpp b/src/kernel/qsignal.cpp index c26106abb..53b0a62a0 100644 --- a/src/kernel/qsignal.cpp +++ b/src/kernel/qsignal.cpp @@ -176,27 +176,6 @@ bool TQSignal::disconnect( const TQObject *receiver, const char *member ) /*! - \fn bool TQSignal::isBlocked() const - \obsolete - Returns TRUE if the signal is blocked, or FALSE if it is not blocked. - - The signal is not blocked by default. - - \sa block(), TQObject::signalsBlocked() -*/ - -/*! - \fn void TQSignal::block( bool b ) - \obsolete - Blocks the signal if \a b is TRUE, or unblocks the signal if \a b is FALSE. - - An activated signal disappears into hyperspace if it is blocked. - - \sa isBlocked(), activate(), TQObject::blockSignals() -*/ - - -/*! \fn void TQSignal::activate() Emits the signal. If the platform supports TQVariant and a @@ -240,18 +219,4 @@ TQVariant TQSignal::value() const /*! \fn void TQSignal::intSignal( int ) \internal */ - -#ifndef TQT_NO_COMPAT -/*! \obsolete */ -void TQSignal::setParameter( int value ) -{ - val = value; -} - -/*! \obsolete */ -int TQSignal::parameter() const -{ - return val.toInt(); -} -#endif #endif //TQT_NO_VARIANT |