diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:09 +0900 |
commit | 8b08e8d5f6d410854393049d96157eded0f9b26c (patch) | |
tree | 0c982da5cea10ce8af72a79a5ff12f6101309e30 /kmahjongg | |
parent | 9f3f41c457e2b491bda3e7ba70ad5b4f312dbff7 (diff) | |
download | tdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.tar.gz tdegames-8b08e8d5f6d410854393049d96157eded0f9b26c.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmahjongg')
-rw-r--r-- | kmahjongg/Editor.cpp | 2 | ||||
-rw-r--r-- | kmahjongg/HighScore.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kmahjongg/Editor.cpp b/kmahjongg/Editor.cpp index 87893bf3..1271a760 100644 --- a/kmahjongg/Editor.cpp +++ b/kmahjongg/Editor.cpp @@ -61,7 +61,7 @@ Editor::Editor drawFrame->setGeometry( 10, 40 ,sWidth ,sHeight); drawFrame->setMinimumSize( 0, 0 ); drawFrame->setMaximumSize( 32767, 32767 ); - drawFrame->setFocusPolicy( TQ_NoFocus ); + drawFrame->setFocusPolicy( TQWidget::NoFocus ); drawFrame->setBackgroundMode( TQWidget::PaletteBackground ); drawFrame->setFrameStyle( 49 ); drawFrame->setMouseTracking(true); diff --git a/kmahjongg/HighScore.cpp b/kmahjongg/HighScore.cpp index 416fae2c..e926a4e7 100644 --- a/kmahjongg/HighScore.cpp +++ b/kmahjongg/HighScore.cpp @@ -112,7 +112,7 @@ 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->setDefault(true); @@ -121,7 +121,7 @@ HighScore::HighScore 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 ); @@ -136,7 +136,7 @@ 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(""); @@ -147,7 +147,7 @@ HighScore::HighScore combo->setGeometry( 65, 5, 220, 25 ); combo->setMinimumSize( 0, 0 ); combo->setMaximumSize( 32767, 32767 ); - combo->setFocusPolicy( TQ_StrongFocus ); + combo->setFocusPolicy( TQWidget::StrongFocus ); combo->setSizeLimit( 10 ); connect( combo, TQT_SIGNAL(activated(int)), TQT_SLOT(selectionChanged(int)) ); |