Drop compatibility code for TQButton

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6e6261b436)
r14.1.x
Michele Calgaro 1 year ago
parent 565d502887
commit 90e086914a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 );

Loading…
Cancel
Save