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-15 21:04:41 +0900
commit6e6261b436683673556f7cc1efd90e72d09dad8f (patch)
treec8a620648c04fa2720fdd7bf9f9353b9311ff0b9
parent72486eea13870ff4b77a887f61ad55cd2c927928 (diff)
downloadtdegames-6e6261b436683673556f7cc1efd90e72d09dad8f.tar.gz
tdegames-6e6261b436683673556f7cc1efd90e72d09dad8f.zip
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 );