diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:56:09 +0900 |
commit | 7b525ca12009d79fe90020690a4e7f0716dc97c2 (patch) | |
tree | d0561e6888afed3a1aef5058cc5a1c6348546f2f /kword | |
parent | c4525c81c3e7a2d7cc4c0afecc8bb5e217be9822 (diff) | |
download | koffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.tar.gz koffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 04e50e547f8ed2d6db996bc4816179fa962bd6b1)
Diffstat (limited to 'kword')
-rw-r--r-- | kword/KWCanvas.cpp | 2 | ||||
-rw-r--r-- | kword/KWView.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp index 044801ae..6dc6bbb3 100644 --- a/kword/KWCanvas.cpp +++ b/kword/KWCanvas.cpp @@ -115,7 +115,7 @@ KWCanvas::KWCanvas(const TQString& viewMode, TQWidget *parent, KWDocument *d, KW this, TQT_SLOT( doAutoScroll() ) ); viewport()->setFocusProxy( this ); - viewport()->setFocusPolicy( TQ_WheelFocus ); + viewport()->setFocusPolicy( TQWidget::WheelFocus ); setInputMethodEnabled( true ); setFocus(); viewport()->installEventFilter( this ); diff --git a/kword/KWView.cpp b/kword/KWView.cpp index fb96aa8d..7100a562 100644 --- a/kword/KWView.cpp +++ b/kword/KWView.cpp @@ -7662,7 +7662,7 @@ KWGUI::KWGUI( const TQString& viewMode, TQWidget *parent, KWView *daView ) setKeyCompression( TRUE ); setAcceptDrops( TRUE ); - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); } void KWGUI::showGUI() |