diff options
Diffstat (limited to 'kpercentage')
-rw-r--r-- | kpercentage/kpercentage/kpercentmain.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp index 2c71fb1a..b686a096 100644 --- a/kpercentage/kpercentage/kpercentmain.cpp +++ b/kpercentage/kpercentage/kpercentmain.cpp @@ -197,9 +197,9 @@ KPercentMain::KPercentMain( TQWidget *parent, const char *name ) : void KPercentMain::newTask() { // no Editline can be focused - line_edit_percentage->setFocusPolicy( TQ_NoFocus ); - line_edit_basevalue->setFocusPolicy( TQ_NoFocus ); - line_edit_percentvalue->setFocusPolicy( TQ_NoFocus ); + line_edit_percentage->setFocusPolicy( TQWidget::NoFocus ); + line_edit_basevalue->setFocusPolicy( TQWidget::NoFocus ); + line_edit_percentvalue->setFocusPolicy( TQWidget::NoFocus ); // set the number of managed tasks into a label label_count->setText( TQString( i18n("You got %1 of %2 exercises.").arg(count).arg(number) ) ); // update Label for the Progress @@ -245,7 +245,7 @@ void KPercentMain::newTask() // delete this one line_edit_input->clear(); // make the line_edit_layout accessable - line_edit_input->setFocusPolicy( TQ_StrongFocus ); + line_edit_input->setFocusPolicy( TQWidget::StrongFocus ); // set the focus on it line_edit_input->setFocus(); } |