summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/fontedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/fontedit.cpp')
-rw-r--r--lib/koproperty/editors/fontedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp
index f85279ce..a4f4b519 100644
--- a/lib/koproperty/editors/fontedit.cpp
+++ b/lib/koproperty/editors/fontedit.cpp
@@ -47,7 +47,7 @@ class FontEditRequester : public KFontRequester
FontEditRequester(TQWidget* parent)
: KFontRequester(parent)
{
- label()->setPaletteBackgroundColor(tqpalette().active().base());
+ label()->setPaletteBackgroundColor(palette().active().base());
label()->setMinimumWidth(0);
label()->setFrameShape(TQFrame::Box);
label()->setIndent(-1);
@@ -55,9 +55,9 @@ class FontEditRequester : public KFontRequester
label()->setFocusPolicy(TQ_ClickFocus);
KAcceleratorManager::setNoAccel(label());
#endif
- tqlayout()->remove(label());
- tqlayout()->remove(button());//->reparent(this, 0, TQPoint(0,0));
- delete tqlayout();
+ layout()->remove(label());
+ layout()->remove(button());//->reparent(this, 0, TQPoint(0,0));
+ delete layout();
button()->setText(i18n("..."));
TQToolTip::add(button(), i18n("Change font"));
button()->setFocusPolicy(TQ_NoFocus);