summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexisectionheader.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /kexi/widget/kexisectionheader.cpp
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-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 'kexi/widget/kexisectionheader.cpp')
-rw-r--r--kexi/widget/kexisectionheader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/kexisectionheader.cpp b/kexi/widget/kexisectionheader.cpp
index 2a3003ab..7a414d2b 100644
--- a/kexi/widget/kexisectionheader.cpp
+++ b/kexi/widget/kexisectionheader.cpp
@@ -66,7 +66,7 @@ KexiSectionHeader::KexiSectionHeader(const TQString &caption, Qt::Orientation o,
d->lbl_b = new TQHBox(this);
d->lbl = new TQLabel(TQString(" ")+caption, d->lbl_b);
d->lbl->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Preferred);
- d->lbl->setFocusPolicy(TQ_StrongFocus);
+ d->lbl->setFocusPolicy(TQWidget::StrongFocus);
d->lbl->installEventFilter(this);
installEventFilter(this);
setCaption(caption);
@@ -82,7 +82,7 @@ void KexiSectionHeader::addButton(const TQString& icon, const TQString& toolTip,
{
KPushButton *btn = new KPushButton(d->lbl_b);
btn->setFlat(true);
- btn->setFocusPolicy(TQ_NoFocus);
+ btn->setFocusPolicy(TQWidget::NoFocus);
btn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred);
if (receiver && member) {
connect(btn, TQT_SIGNAL(clicked()), receiver, member);