diff --git a/doc/html/ntqsignal.html b/doc/html/ntqsignal.html index e57bb471..67d2d3d3 100644 --- a/doc/html/ntqsignal.html +++ b/doc/html/ntqsignal.html @@ -44,10 +44,6 @@ that don't inherit TQObject.
  • bool connect ( const TQObject * receiver, const char * member )
  • bool disconnect ( const TQObject * receiver, const char * member = 0 )
  • void activate ()
  • -
  • bool isBlocked () const  (obsolete)
  • -
  • void block ( bool b )  (obsolete)
  • -
  • void setParameter ( int value )  (obsolete)
  • -
  • int parameter () const  (obsolete)
  • void setValue ( const TQVariant & value )
  • TQVariant value () const
  • @@ -129,14 +125,6 @@ with all TQObjects. parameter has been set with setValue(), this value is passed in the signal. -

    void TQSignal::block ( bool b ) -

    - -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Blocks the signal if b is TRUE, or unblocks the signal if b is FALSE. -

    An activated signal disappears into hyperspace if it is blocked. -

    See also isBlocked(), activate(), and TQObject::blockSignals(). -

    bool TQSignal::connect ( const TQObject * receiver, const char * member )

    Connects the signal to member in object receiver. @@ -147,20 +135,6 @@ Connects the signal to member in object receiver. Disonnects the signal from member in object receiver.

    See also connect() and TQObject::disconnect(). -

    bool TQSignal::isBlocked () const -

    - -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    Returns TRUE if the signal is blocked, or FALSE if it is not blocked. -

    The signal is not blocked by default. -

    See also block() and TQObject::signalsBlocked(). - -

    int TQSignal::parameter () const -

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. - -

    void TQSignal::setParameter ( int value ) -

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

    void TQSignal::setValue ( const TQVariant & value )

    Sets the signal's parameter to value diff --git a/doc/html/porting.html b/doc/html/porting.html index ee8cb52b..3698b959 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -261,6 +261,10 @@ have been changed:
  • TQPalette::setNormal(). Use TQPalette::setActive instead.
  • TQPointArray::quadBezier()
  • TQRegExp::find() +
  • TQSignal::block(bool b) +
  • TQSignal::isBlocked() const +
  • TQSignal::parameter() const. Use TQSignal::value() instead. +
  • TQSignal::setParameter(int value). Use TQSignal::setValue() instead.
  • TQSpinBox::downButton()
  • TQSpinBox::upButton()
  • TQString::basicDirection() @@ -360,10 +364,6 @@ new code.
  • TQRegExp::match( const TQString & str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
  • TQScrollView::childIsVisible( TQWidget *child )
  • TQScrollView::showChild( TQWidget *child, bool show = TRUE ) -
  • TQSignal::block( bool b ) -
  • TQSignal::isBlocked() const -
  • TQSignal::parameter() const -
  • TQSignal::setParameter( int value )
  • TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush *paper = 0 ) const
  • TQString::ascii() const
  • TQString::data() const diff --git a/doc/html/qsignal-h.html b/doc/html/qsignal-h.html index f2fd71e5..82e664d5 100644 --- a/doc/html/qsignal-h.html +++ b/doc/html/qsignal-h.html @@ -96,15 +96,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/doc/html/qsignal-members.html b/doc/html/qsignal-members.html index 802459ec..82b805eb 100644 --- a/doc/html/qsignal-members.html +++ b/doc/html/qsignal-members.html @@ -38,7 +38,6 @@ body { background: #ffffff; color: black; }
  • TQSignal()
  • ~TQSignal()
  • activate() -
  • block()
  • blockSignals()
  • checkConnectArgs()
  • child() @@ -61,7 +60,6 @@ body { background: #ffffff; color: black; }
  • insertChild()
  • installEventFilter()
  • isA() -
  • isBlocked()
  • isWidgetType()
  • killTimer()
  • killTimers() @@ -69,7 +67,6 @@ body { background: #ffffff; color: black; }
  • name()
  • normalizeSignalSlot()
  • objectTrees() -
  • parameter()
  • parent()
  • property()
  • queryList() @@ -77,7 +74,6 @@ body { background: #ffffff; color: black; }
  • removeEventFilter()
  • sender()
  • setName() -
  • setParameter()
  • setProperty()
  • setValue()
  • signalsBlocked() diff --git a/doc/man/man3/tqsignal.3qt b/doc/man/man3/tqsignal.3qt index 76791570..095283c3 100644 --- a/doc/man/man3/tqsignal.3qt +++ b/doc/man/man3/tqsignal.3qt @@ -31,18 +31,6 @@ Inherits QObject. .BI "void \fBactivate\fR ()" .br .ti -1c -.BI "bool isBlocked () const \fI(obsolete)\fR" -.br -.ti -1c -.BI "void block ( bool b ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "void setParameter ( int value ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "int parameter () const \fI(obsolete)\fR" -.br -.ti -1c .BI "void \fBsetValue\fR ( const QVariant & value )" .br .ti -1c @@ -138,14 +126,6 @@ Constructs a signal object called \fIname\fR, with the parent object \fIparent\f Destroys the signal. All connections are removed, as is the case with all QObjects. .SH "void QSignal::activate ()" Emits the signal. If the platform supports QVariant and a parameter has been set with setValue(), this value is passed in the signal. -.SH "void QSignal::block ( bool b )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Blocks the signal if \fIb\fR is TRUE, or unblocks the signal if \fIb\fR is FALSE. -.PP -An activated signal disappears into hyperspace if it is blocked. -.PP -See also isBlocked(), activate(), and QObject::blockSignals(). .SH "bool QSignal::connect ( const QObject * receiver, const char * member )" Connects the signal to \fImember\fR in object \fIreceiver\fR. .PP @@ -154,18 +134,6 @@ See also disconnect() and QObject::connect(). Disonnects the signal from \fImember\fR in object \fIreceiver\fR. .PP See also connect() and QObject::disconnect(). -.SH "bool QSignal::isBlocked () const" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Returns TRUE if the signal is blocked, or FALSE if it is not blocked. -.PP -The signal is not blocked by default. -.PP -See also block() and QObject::signalsBlocked(). -.SH "int QSignal::parameter () const" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void QSignal::setParameter ( int value )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "void QSignal::setValue ( const QVariant & value )" Sets the signal's parameter to \fIvalue\fR .SH "QVariant QSignal::value () const" diff --git a/doc/porting3.doc b/doc/porting3.doc index 696919b4..96022918 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -210,6 +210,10 @@ All these functions have been removed in TQt 3.x: \i QPalette::setNormal(). Use TQPalette::setActive instead. \i QPointArray::quadBezier() \i QRegExp::find() +\i QSignal::block(bool b) +\i QSignal::isBlocked() const +\i QSignal::parameter() const. Use TQSignal::value() instead. +\i QSignal::setParameter(int value). Use TQSignal::setValue() instead. \i QSpinBox::downButton() \i QSpinBox::upButton() \i QString::basicDirection() @@ -313,10 +317,6 @@ new code. \i QRegExp::match( const QString \& str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const \i QScrollView::childIsVisible( QWidget *child ) \i QScrollView::showChild( QWidget *child, bool show = TRUE ) -\i QSignal::block( bool b ) -\i QSignal::isBlocked() const -\i QSignal::parameter() const -\i QSignal::setParameter( int value ) \i QSimpleRichText::draw( QPainter *p, int x, int y, const QRegion \& clipRegion, const QColorGroup \& cg, const QBrush *paper = 0 ) const \i QString::ascii() const \i QString::data() const diff --git a/src/kernel/ntqsignal.h b/src/kernel/ntqsignal.h index 55384f3a..3d482e5b 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 c26106ab..53b0a62a 100644 --- a/src/kernel/qsignal.cpp +++ b/src/kernel/qsignal.cpp @@ -175,27 +175,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() @@ -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