diff options
author | Michele Calgaro <[email protected]> | 2023-07-16 14:45:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-16 14:45:23 +0900 |
commit | c3bb88817b109cb33264b1f8946943cb5df380ca (patch) | |
tree | 86a902a1a73da529e4ebce150a5baea33f9e5e23 /src/widgets/ntqbutton.h | |
parent | 9492e618a7bcc0a58db039d6700b508dec2c9db3 (diff) | |
download | tqt3-c3bb88817b109cb33264b1f8946943cb5df380ca.tar.gz tqt3-c3bb88817b109cb33264b1f8946943cb5df380ca.zip |
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/ntqbutton.h')
-rw-r--r-- | src/widgets/ntqbutton.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/widgets/ntqbutton.h b/src/widgets/ntqbutton.h index ee6b341c6..50d10e662 100644 --- a/src/widgets/ntqbutton.h +++ b/src/widgets/ntqbutton.h @@ -65,7 +65,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 ) @@ -96,11 +95,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; @@ -196,13 +190,6 @@ inline bool TQButton::isOn() const return ToggleState(stat) != Off; } -#ifndef TQT_NO_COMPAT -inline bool TQButton::autoResize() const -{ - return autoresize; -} -#endif - inline bool TQButton::autoRepeat() const { return repeat; |