summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexisectionheader.cpp
diff options
context:
space:
mode:
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);