diff options
Diffstat (limited to 'kexi/widget/kexismalltoolbutton.cpp')
-rw-r--r-- | kexi/widget/kexismalltoolbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/kexismalltoolbutton.cpp b/kexi/widget/kexismalltoolbutton.cpp index 237130f2..ab703923 100644 --- a/kexi/widget/kexismalltoolbutton.cpp +++ b/kexi/widget/kexismalltoolbutton.cpp @@ -70,7 +70,7 @@ void KexiSmallToolButton::updateAction() void KexiSmallToolButton::init() { - setPaletteBackgroundColor(tqpalette().active().background()); + setPaletteBackgroundColor(palette().active().background()); setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred); TQFont f(KGlobalSettings::toolBarFont()); f.setPixelSize(Kexi::smallFont().pixelSize()); @@ -124,7 +124,7 @@ void KexiSmallToolButton::drawButton( TQPainter *_painter ) arrowFlags |= TQStyle::Style_Down; if (isEnabled()) arrowFlags |= TQStyle::Style_Enabled; - tqstyle().tqdrawPrimitive(TQStyle::PE_ArrowDown, _painter, + style().tqdrawPrimitive(TQStyle::PE_ArrowDown, _painter, TQRect(width()-7, height()-7, 5, 5), colorGroup(), arrowFlags, TQStyleOption() ); } |