diff options
Diffstat (limited to 'kmahjongg/HighScore.cpp')
-rw-r--r-- | kmahjongg/HighScore.cpp | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/kmahjongg/HighScore.cpp b/kmahjongg/HighScore.cpp index 3f947b51..acd1e5ba 100644 --- a/kmahjongg/HighScore.cpp +++ b/kmahjongg/HighScore.cpp @@ -112,23 +112,21 @@ HighScore::HighScore qtarch_PushButton_1->setGeometry( 110+35, 340+50, 100, 30 ); qtarch_PushButton_1->setMinimumSize( 0, 0 ); qtarch_PushButton_1->setMaximumSize( 32767, 32767 ); - qtarch_PushButton_1->setFocusPolicy( TQ_TabFocus ); + qtarch_PushButton_1->setFocusPolicy( TQWidget::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" ); resetBtn->setGeometry( 10, 5, 25, 25); resetBtn->setMinimumSize( 0, 0 ); resetBtn->setMaximumSize( 32767, 32767 ); - resetBtn->setFocusPolicy( TQ_TabFocus ); + resetBtn->setFocusPolicy( TQWidget::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)); @@ -138,21 +136,20 @@ HighScore::HighScore lineEdit = new TQLineEdit(this, ""); lineEdit->setGeometry( 50, 40+(20*30), 190, 30 ); - lineEdit->setFocusPolicy(TQ_StrongFocus); + lineEdit->setFocusPolicy(TQWidget::StrongFocus); lineEdit->setFrame(true); lineEdit->setEchoMode(TQLineEdit::Normal); lineEdit->setText(""); // 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( TQWidget::StrongFocus ); + combo->setSizeLimit( 10 ); + connect( combo, TQ_SIGNAL(activated(int)), TQ_SLOT(selectionChanged(int)) ); resize( 350+70,390+45 ); @@ -166,12 +163,12 @@ HighScore::HighScore selectedLine = -1; - connect(lineEdit, TQT_SIGNAL( textChanged(const TQString &)), - TQT_SLOT( nameChanged(const TQString &))); + connect(lineEdit, TQ_SIGNAL( textChanged(const TQString &)), + TQ_SLOT( nameChanged(const TQString &))); - connect(qtarch_PushButton_1, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); - connect(resetBtn, TQT_SIGNAL(clicked()), TQT_SLOT(reset())); + connect(qtarch_PushButton_1, TQ_SIGNAL(clicked()), TQ_SLOT(reject())); + connect(resetBtn, TQ_SIGNAL(clicked()), TQ_SLOT(reset())); } // free up the table structures |