diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:00 +0900 |
commit | f673794b12fa8685c6682fad9ce67a3a971e25f9 (patch) | |
tree | 69d91438b76689d69e1c260e938f921ed38c3007 /kpercentage | |
parent | 1a98e8940e38ae92cf28efcbc945e88c4b25af1c (diff) | |
download | tdeedu-f673794b12fa8685c6682fad9ce67a3a971e25f9.tar.gz tdeedu-f673794b12fa8685c6682fad9ce67a3a971e25f9.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); } |