summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexismalltoolbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexismalltoolbutton.cpp')
-rw-r--r--kexi/widget/kexismalltoolbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/kexismalltoolbutton.cpp b/kexi/widget/kexismalltoolbutton.cpp
index a2ccf318..81bab0c6 100644
--- a/kexi/widget/kexismalltoolbutton.cpp
+++ b/kexi/widget/kexismalltoolbutton.cpp
@@ -70,8 +70,8 @@ void KexiSmallToolButton::updateAction()
void KexiSmallToolButton::init()
{
- setPaletteBackgroundColor(palette().active().background());
- setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred);
+ setPaletteBackgroundColor(tqpalette().active().background());
+ tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred);
TQFont f(KGlobalSettings::toolBarFont());
f.setPixelSize(Kexi::smallFont().pixelSize());
setFont(f);
@@ -125,7 +125,7 @@ void KexiSmallToolButton::drawButton( TQPainter *_painter )
if (isEnabled())
arrowFlags |= TQStyle::Style_Enabled;
tqstyle().tqdrawPrimitive(TQStyle::PE_ArrowDown, _painter,
- TQRect(width()-7, height()-7, 5, 5), colorGroup(),
+ TQRect(width()-7, height()-7, 5, 5), tqcolorGroup(),
arrowFlags, TQStyleOption() );
}
}