diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:19 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:29:39 +0900 |
commit | 4396343fcc0f4dfd74042cbee01e311f6601f3ac (patch) | |
tree | 09ed426853fb47f0e0c0d24bdf2d27200c447ece /kolourpaint | |
parent | 3eed571e596d6f96c676abc5cda6dd2f16756bc2 (diff) | |
download | tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.tar.gz tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0e051a3c83fc5e121be7a0497c823ed9546157eb)
Diffstat (limited to 'kolourpaint')
-rw-r--r-- | kolourpaint/kpview.cpp | 2 | ||||
-rw-r--r-- | kolourpaint/tools/kptoolresizescale.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp index ced8f825..8c979816 100644 --- a/kolourpaint/kpview.cpp +++ b/kolourpaint/kpview.cpp @@ -122,7 +122,7 @@ kpView::kpView (kpDocument *document, setBackgroundMode (TQt::NoBackground); // no flicker - setFocusPolicy (TQ_WheelFocus); + setFocusPolicy (TQWidget::WheelFocus); setMouseTracking (true); // mouseMoveEvent's even when no mousebtn down setKeyCompression (true); setInputMethodEnabled (true); // ensure using InputMethod diff --git a/kolourpaint/tools/kptoolresizescale.cpp b/kolourpaint/tools/kptoolresizescale.cpp index 3ced0735..73e6303c 100644 --- a/kolourpaint/tools/kptoolresizescale.cpp +++ b/kolourpaint/tools/kptoolresizescale.cpp @@ -634,7 +634,7 @@ static void toolButtonSetLook (TQToolButton *button, button->setUsesTextLabel (true); button->setTextLabel (name, false/*no tooltip*/); button->setAccel (TQAccel::shortcutKey (name)); - button->setFocusPolicy (TQ_StrongFocus); + button->setFocusPolicy (TQWidget::StrongFocus); button->setToggleButton (true); } |