diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-16 14:45:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-16 14:45:23 +0900 |
commit | c3bb88817b109cb33264b1f8946943cb5df380ca (patch) | |
tree | 86a902a1a73da529e4ebce150a5baea33f9e5e23 /doc/html | |
parent | 9492e618a7bcc0a58db039d6700b508dec2c9db3 (diff) | |
download | tqt3-c3bb88817b109cb33264b1f8946943cb5df380ca.tar.gz tqt3-c3bb88817b109cb33264b1f8946943cb5df380ca.zip |
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html')
-rw-r--r-- | doc/html/ntqbutton.html | 15 | ||||
-rw-r--r-- | doc/html/porting.html | 5 | ||||
-rw-r--r-- | doc/html/propertydocs | 10 | ||||
-rw-r--r-- | doc/html/propertyindex | 1 | ||||
-rw-r--r-- | doc/html/qbutton-h.html | 13 | ||||
-rw-r--r-- | doc/html/qbutton-members.html | 2 | ||||
-rw-r--r-- | doc/html/qcheckbox-members.html | 2 | ||||
-rw-r--r-- | doc/html/qpushbutton-members.html | 2 | ||||
-rw-r--r-- | doc/html/qradiobutton-members.html | 2 | ||||
-rw-r--r-- | doc/html/qtoolbutton-members.html | 2 |
10 files changed, 3 insertions, 51 deletions
diff --git a/doc/html/ntqbutton.html b/doc/html/ntqbutton.html index 92676a71f..61c5fb155 100644 --- a/doc/html/ntqbutton.html +++ b/doc/html/ntqbutton.html @@ -56,8 +56,6 @@ widgets, providing functionality common to buttons. <li class=fn>bool <a href="#isOn"><b>isOn</b></a> () const</li> <li class=fn>enum <a href="#ToggleState-enum"><b>ToggleState</b></a> { Off, NoChange, On }</li> <li class=fn>ToggleState <a href="#state"><b>state</b></a> () const</li> -<li class=fn>bool autoResize () const <em>(obsolete)</em></li> -<li class=fn>void setAutoResize ( bool ) <em>(obsolete)</em></li> <li class=fn>bool <a href="#autoRepeat"><b>autoRepeat</b></a> () const</li> <li class=fn>virtual void <a href="#setAutoRepeat"><b>setAutoRepeat</b></a> ( bool )</li> <li class=fn>bool <a href="#isExclusiveToggle"><b>isExclusiveToggle</b></a> () const</li> @@ -80,7 +78,6 @@ widgets, providing functionality common to buttons. <ul> <li class=fn>TQKeySequence <a href="#accel-prop"><b>accel</b></a> - the accelerator associated with the button</li> <li class=fn>bool <a href="#autoRepeat-prop"><b>autoRepeat</b></a> - whether autoRepeat is enabled</li> -<li class=fn>bool autoResize - whether autoResize is enabled <em>(obsolete)</em></li> <li class=fn>bool <a href="#down-prop"><b>down</b></a> - whether the button is pressed</li> <li class=fn>bool <a href="#exclusiveToggle-prop"><b>exclusiveToggle</b></a> - whether the button is an exclusive toggle <em>(read only)</em></li> <li class=fn>bool <a href="#on-prop"><b>on</b></a> - whether the button is toggled <em>(read only)</em></li> @@ -231,9 +228,6 @@ short while later. <h3 class=fn>bool <a name="autoRepeat"></a>TQButton::autoRepeat () const </h3><p>Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. See the <a href="ntqbutton.html#autoRepeat-prop">"autoRepeat"</a> property for details. -<h3 class=fn>bool <a name="autoResize"></a>TQButton::autoResize () const -</h3><p>Returns TRUE if autoResize is enabled; otherwise returns FALSE. -See the <a href="ntqbutton.html#autoResize-prop">"autoResize"</a> property for details. <h3 class=fn>void <a name="clicked"></a>TQButton::clicked ()<tt> [signal]</tt> </h3> @@ -320,9 +314,6 @@ See the <a href="ntqbutton.html#accel-prop">"accel"</a> property for details. <h3 class=fn>void <a name="setAutoRepeat"></a>TQButton::setAutoRepeat ( bool )<tt> [virtual]</tt> </h3><p>Sets whether autoRepeat is enabled. See the <a href="ntqbutton.html#autoRepeat-prop">"autoRepeat"</a> property for details. -<h3 class=fn>void <a name="setAutoResize"></a>TQButton::setAutoResize ( bool ) -</h3><p>Sets whether autoResize is enabled. -See the <a href="ntqbutton.html#autoResize-prop">"autoResize"</a> property for details. <h3 class=fn>void <a name="setDown"></a>TQButton::setDown ( bool )<tt> [virtual]</tt> </h3><p>Sets whether the button is pressed. See the <a href="ntqbutton.html#down-prop">"down"</a> property for details. @@ -402,12 +393,6 @@ regular intervals if the button is down. This property has no effect on toggle buttons. autoRepeat is off by default. <p>Set this property's value with <a href="#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <a href="#autoRepeat">autoRepeat</a>(). -<h3 class=fn>bool <a name="autoResize-prop"></a>autoResize</h3> <p>This property holds whether autoResize is enabled. -<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If autoResize is enabled then the button will resize itself -whenever the contents are changed. - -<p>Set this property's value with <a href="#setAutoResize">setAutoResize</a>() and get this property's value with <a href="#autoResize">autoResize</a>(). <h3 class=fn>bool <a name="down-prop"></a>down</h3> <p>This property holds whether the button is pressed. <p>If this property is TRUE, the button is pressed down. The signals diff --git a/doc/html/porting.html b/doc/html/porting.html index 574d8edf2..5629a1983 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -234,6 +234,7 @@ have been changed: </h2> <a name="4-1"></a><p> All these properties have been removed in TQt 3.x: <ul> +<li> TQButton::autoResize <li> TQLineEdit::hasMarkedText. Use TQLineEdit::hasSelectedText instead. <li> TQLineEdit::markedText. Use TQLineEdit::selectedText instead. <li> TQToolButton::offIconSet. Use TQToolButton::iconSet instead. @@ -243,6 +244,8 @@ have been changed: </h2> <a name="4-2"></a><p> All these functions have been removed in TQt 3.x: <ul> +<li> TQButton::autoResize() const +<li> TQButton::setAutoResize(bool) <li> TQFont::charSet() <li> TQFont::setCharSet() <li> TQLineEdit::cursorLeft(bool mark, int steps = 1). Use TQLineEdit::cursorBackward instead. @@ -292,8 +295,6 @@ new code. <li> <a href="ntqaccel.html#keyToString">TQAccel::keyToString</a>( <a href="ntqkeysequence.html">TQKeySequence</a> k ) <li> <a href="ntqaccel.html#stringToKey">TQAccel::stringToKey</a>( const <a href="ntqstring.html">TQString</a> & s ) <li> <a href="qactiongroup.html#insert">TQActionGroup::insert</a>( <a href="ntqaction.html">TQAction</a> *a ) -<li> <a href="ntqbutton.html#autoResize">TQButton::autoResize</a>() const -<li> <a href="ntqbutton.html#setAutoResize">TQButton::setAutoResize</a>( bool ) <li> <a href="qcanvasitem.html#active">TQCanvasItem::active</a>() const <li> <a href="qcanvasitem.html#enabled">TQCanvasItem::enabled</a>() const <li> <a href="qcanvasitem.html#selected">TQCanvasItem::selected</a>() const diff --git a/doc/html/propertydocs b/doc/html/propertydocs index 8f33f3e3f..e5b0e1040 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -268,16 +268,6 @@ effect on toggle buttons. autoRepeat is off by default. </doc> </property> <property> - <name>QButton::autoResize</name> - <doc href="ntqbutton.html#autoResize-prop"> <p>This property holds whether autoResize is enabled. -<p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If autoResize is enabled then the button will resize itself -whenever the contents are changed. - -<p>Set this property's value with <a href="ntqbutton.html#setAutoResize">setAutoResize</a>() and get this property's value with <a href="ntqbutton.html#autoResize">autoResize</a>(). -</doc> -</property> -<property> <name>QButton::down</name> <doc href="ntqbutton.html#down-prop"> <p>This property holds whether the button is pressed. diff --git a/doc/html/propertyindex b/doc/html/propertyindex index 8c57d45f3..9ed914242 100644 --- a/doc/html/propertyindex +++ b/doc/html/propertyindex @@ -15,7 +15,6 @@ "QAxBase/control" qaxbase.html#control-prop "QButton/accel" ntqbutton.html#accel-prop "QButton/autoRepeat" ntqbutton.html#autoRepeat-prop -"QButton/autoResize" ntqbutton.html#autoResize-prop "QButton/down" ntqbutton.html#down-prop "QButton/exclusiveToggle" ntqbutton.html#exclusiveToggle-prop "QButton/on" ntqbutton.html#on-prop diff --git a/doc/html/qbutton-h.html b/doc/html/qbutton-h.html index 280669f0c..ccd2bc5bd 100644 --- a/doc/html/qbutton-h.html +++ b/doc/html/qbutton-h.html @@ -101,7 +101,6 @@ class Q_EXPORT TQButton : public TQWidget TQ_PROPERTY( bool down READ isDown WRITE setDown DESIGNABLE false ) TQ_PROPERTY( bool on READ isOn ) TQ_PROPERTY( ToggleState toggleState READ state ) - TQ_PROPERTY( bool autoResize READ autoResize WRITE setAutoResize DESIGNABLE false ) TQ_PROPERTY( bool autoRepeat READ autoRepeat WRITE setAutoRepeat ) TQ_PROPERTY( bool exclusiveToggle READ isExclusiveToggle ) @@ -132,11 +131,6 @@ public: enum ToggleState { Off, NoChange, On }; ToggleState state() const; -#ifndef TQT_NO_COMPAT - bool autoResize() const; - void setAutoResize( bool ); -#endif - bool autoRepeat() const; virtual void setAutoRepeat( bool ); bool isExclusiveToggle() const; @@ -232,13 +226,6 @@ inline bool TQButton::isOn() const return stat != Off; } -#ifndef TQT_NO_COMPAT -inline bool TQButton::autoResize() const -{ - return autoresize; -} -#endif - inline bool TQButton::autoRepeat() const { return repeat; diff --git a/doc/html/qbutton-members.html b/doc/html/qbutton-members.html index c1b297303..6c341f37c 100644 --- a/doc/html/qbutton-members.html +++ b/doc/html/qbutton-members.html @@ -43,7 +43,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqbutton.html#animateClick">animateClick</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqbutton.html#autoRepeat">autoRepeat</a>() -<li><a href="ntqbutton.html#autoResize">autoResize</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() <li><a href="ntqwidget.html#backgroundMode">backgroundMode</a>() @@ -238,7 +237,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setActiveWindow">setActiveWindow</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() -<li><a href="ntqbutton.html#setAutoResize">setAutoResize</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() diff --git a/doc/html/qcheckbox-members.html b/doc/html/qcheckbox-members.html index 52741c587..826cf458e 100644 --- a/doc/html/qcheckbox-members.html +++ b/doc/html/qcheckbox-members.html @@ -42,7 +42,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqbutton.html#animateClick">animateClick</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqbutton.html#autoRepeat">autoRepeat</a>() -<li><a href="ntqbutton.html#autoResize">autoResize</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() <li><a href="ntqwidget.html#backgroundMode">backgroundMode</a>() @@ -239,7 +238,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setActiveWindow">setActiveWindow</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() -<li><a href="ntqbutton.html#setAutoResize">setAutoResize</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() diff --git a/doc/html/qpushbutton-members.html b/doc/html/qpushbutton-members.html index d1c6ec588..f772f370f 100644 --- a/doc/html/qpushbutton-members.html +++ b/doc/html/qpushbutton-members.html @@ -44,7 +44,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqpushbutton.html#autoDefault">autoDefault</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqbutton.html#autoRepeat">autoRepeat</a>() -<li><a href="ntqbutton.html#autoResize">autoResize</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() <li><a href="ntqwidget.html#backgroundMode">backgroundMode</a>() @@ -245,7 +244,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqpushbutton.html#setAutoDefault">setAutoDefault</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() -<li><a href="ntqbutton.html#setAutoResize">setAutoResize</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() diff --git a/doc/html/qradiobutton-members.html b/doc/html/qradiobutton-members.html index 84b0e9f0f..2b277aac0 100644 --- a/doc/html/qradiobutton-members.html +++ b/doc/html/qradiobutton-members.html @@ -42,7 +42,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqbutton.html#animateClick">animateClick</a>() <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqbutton.html#autoRepeat">autoRepeat</a>() -<li><a href="ntqbutton.html#autoResize">autoResize</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() <li><a href="ntqwidget.html#backgroundMode">backgroundMode</a>() @@ -238,7 +237,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setActiveWindow">setActiveWindow</a>() <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() -<li><a href="ntqbutton.html#setAutoResize">setAutoResize</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() diff --git a/doc/html/qtoolbutton-members.html b/doc/html/qtoolbutton-members.html index f5a593ed8..d00f16ce6 100644 --- a/doc/html/qtoolbutton-members.html +++ b/doc/html/qtoolbutton-members.html @@ -44,7 +44,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#autoMask">autoMask</a>() <li><a href="ntqtoolbutton.html#autoRaise">autoRaise</a>() <li><a href="ntqbutton.html#autoRepeat">autoRepeat</a>() -<li><a href="ntqbutton.html#autoResize">autoResize</a>() <li><a href="ntqwidget.html#backgroundBrush">backgroundBrush</a>() <li><a href="ntqwidget.html#backgroundColor">backgroundColor</a>() <li><a href="ntqwidget.html#backgroundMode">backgroundMode</a>() @@ -244,7 +243,6 @@ body { background: #ffffff; color: black; } <li><a href="ntqwidget.html#setAutoMask">setAutoMask</a>() <li><a href="ntqtoolbutton.html#setAutoRaise">setAutoRaise</a>() <li><a href="ntqbutton.html#setAutoRepeat">setAutoRepeat</a>() -<li><a href="ntqbutton.html#setAutoResize">setAutoResize</a>() <li><a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>() <li><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>() <li><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() |