summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qbutton.cpp')
-rw-r--r--src/widgets/qbutton.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index 00d90fc94..90fe7cb0c 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -38,7 +38,6 @@
**
**********************************************************************/
-#undef TQT_NO_COMPAT
#include "ntqbutton.h"
#ifndef TQT_NO_BUTTON
#include "ntqbuttongroup.h"
@@ -268,14 +267,6 @@ TQTimer *TQButton::timer()
effect on toggle buttons. autoRepeat is off by default.
*/
-/*! \property TQButton::autoResize
- \brief whether autoResize is enabled
- \obsolete
-
- If autoResize is enabled then the button will resize itself
- whenever the contents are changed.
-*/
-
/*!
\property TQButton::down
\brief whether the button is pressed
@@ -554,19 +545,6 @@ void TQButton::setAccel( const TQKeySequence& key )
}
#endif
-#ifndef TQT_NO_COMPAT
-
-void TQButton::setAutoResize( bool enable )
-{
- if ( (bool)autoresize != enable ) {
- autoresize = enable;
- if ( autoresize )
- adjustSize(); // calls resize which repaints
- }
-}
-
-#endif
-
void TQButton::setAutoRepeat( bool enable )
{
repeat = (uint)enable;