summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-15 21:04:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-16 18:33:09 +0900
commit90e086914abde6832d468a4136c57b9456977b42 (patch)
treec8bfdb2d5996800303da3b815227500b14e9a6e4
parent565d502887d4dda9561f8c26b0333acee027adce (diff)
downloadtdegames-90e086914abde6832d468a4136c57b9456977b42.tar.gz
tdegames-90e086914abde6832d468a4136c57b9456977b42.zip
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6e6261b436683673556f7cc1efd90e72d09dad8f)
-rw-r--r--kmahjongg/HighScore.cpp23
1 files changed, 10 insertions, 13 deletions
diff --git a/kmahjongg/HighScore.cpp b/kmahjongg/HighScore.cpp
index 3f947b51..416fae2c 100644
--- a/kmahjongg/HighScore.cpp
+++ b/kmahjongg/HighScore.cpp
@@ -114,8 +114,7 @@ HighScore::HighScore
qtarch_PushButton_1->setMaximumSize( 32767, 32767 );
qtarch_PushButton_1->setFocusPolicy( TQ_TabFocus );
qtarch_PushButton_1->setAutoRepeat( false );
- qtarch_PushButton_1->setAutoResize( false );
- qtarch_PushButton_1->setDefault(true);
+ qtarch_PushButton_1->setDefault(true);
TQPushButton* resetBtn;
resetBtn= new TQPushButton( this, "resetBtn" );
@@ -125,10 +124,9 @@ HighScore::HighScore
resetBtn->setFocusPolicy( TQ_TabFocus );
//resetBtn->setText(i18n( "Reset" ));
resetBtn->setAutoRepeat( false );
- resetBtn->setAutoResize( false );
- TDEIconLoader *loader = TDEGlobal::iconLoader();
- resetBtn->setPixmap(loader->loadIcon("edit-delete", TDEIcon::Toolbar));
+ TDEIconLoader *loader = TDEGlobal::iconLoader();
+ resetBtn->setPixmap(loader->loadIcon("edit-delete", TDEIcon::Toolbar));
@@ -145,14 +143,13 @@ HighScore::HighScore
// the drop down for the board names
- combo = new TQComboBox( false, this, "combo" );
- combo->setGeometry( 65, 5, 220, 25 );
- combo->setMinimumSize( 0, 0 );
- combo->setMaximumSize( 32767, 32767 );
- combo->setFocusPolicy( TQ_StrongFocus );
- combo->setSizeLimit( 10 );
- combo->setAutoResize( false );
- connect( combo, TQT_SIGNAL(activated(int)), TQT_SLOT(selectionChanged(int)) );
+ combo = new TQComboBox( false, this, "combo" );
+ combo->setGeometry( 65, 5, 220, 25 );
+ combo->setMinimumSize( 0, 0 );
+ combo->setMaximumSize( 32767, 32767 );
+ combo->setFocusPolicy( TQ_StrongFocus );
+ combo->setSizeLimit( 10 );
+ connect( combo, TQT_SIGNAL(activated(int)), TQT_SLOT(selectionChanged(int)) );
resize( 350+70,390+45 );