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-02 15:50:12 +0900 |
commit | 04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch) | |
tree | 5880f13b288d79e13e1a10f99c54b27bbe1fc942 /lib/koproperty/editors/fontedit.cpp | |
parent | d1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff) | |
download | koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/koproperty/editors/fontedit.cpp')
-rw-r--r-- | lib/koproperty/editors/fontedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp index 80a3d528..0ea29b6e 100644 --- a/lib/koproperty/editors/fontedit.cpp +++ b/lib/koproperty/editors/fontedit.cpp @@ -52,7 +52,7 @@ class FontEditRequester : public TDEFontRequester label()->setFrameShape(TQFrame::Box); label()->setIndent(-1); #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) - label()->setFocusPolicy(TQ_ClickFocus); + label()->setFocusPolicy(TQWidget::ClickFocus); TDEAcceleratorManager::setNoAccel(label()); #endif layout()->remove(label()); @@ -60,7 +60,7 @@ class FontEditRequester : public TDEFontRequester delete layout(); button()->setText(i18n("...")); TQToolTip::add(button(), i18n("Change font")); - button()->setFocusPolicy(TQ_NoFocus); + button()->setFocusPolicy(TQWidget::NoFocus); button()->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); TQFontMetrics fm(button()->font()); button()->setFixedWidth(fm.width(button()->text()+' ')); |