summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
committerMichele Calgaro <[email protected]>2023-09-03 22:56:09 +0900
commit7b525ca12009d79fe90020690a4e7f0716dc97c2 (patch)
treed0561e6888afed3a1aef5058cc5a1c6348546f2f /lib/koproperty/editor.cpp
parentc4525c81c3e7a2d7cc4c0afecc8bb5e217be9822 (diff)
downloadkoffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.tar.gz
koffice-7b525ca12009d79fe90020690a4e7f0716dc97c2.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 04e50e547f8ed2d6db996bc4816179fa962bd6b1)
Diffstat (limited to 'lib/koproperty/editor.cpp')
-rw-r--r--lib/koproperty/editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp
index 2dc05f48..c6ebe14f 100644
--- a/lib/koproperty/editor.cpp
+++ b/lib/koproperty/editor.cpp
@@ -135,8 +135,8 @@ Editor::Editor(TQWidget *parent, bool autoSync, const char *name)
d->setListLater_list = 0;
d->undoButton = new TQPushButton(viewport());
- d->undoButton->setFocusPolicy(TQ_NoFocus);
- setFocusPolicy(TQ_ClickFocus);
+ d->undoButton->setFocusPolicy(TQWidget::NoFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
d->undoButton->setMinimumSize(TQSize(5,5)); // allow to resize undoButton even below pixmap size
d->undoButton->setPixmap(SmallIcon("edit-undo"));
TQToolTip::add(d->undoButton, i18n("Undo changes"));