diff options
Diffstat (limited to 'kexi/widget/tableview/kexitableviewheader.cpp')
-rw-r--r-- | kexi/widget/tableview/kexitableviewheader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/tableview/kexitableviewheader.cpp b/kexi/widget/tableview/kexitableviewheader.cpp index d4b64127..a313c1e5 100644 --- a/kexi/widget/tableview/kexitableviewheader.cpp +++ b/kexi/widget/tableview/kexitableviewheader.cpp @@ -38,7 +38,7 @@ class KexiTableViewHeaderStyle : public KexiUtils::StyleProxy } ~KexiTableViewHeaderStyle() {} - virtual void tqdrawPrimitive( TQ_PrimitiveElement pe, + virtual void drawPrimitive( TQ_PrimitiveElement pe, TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags = Style_Default, const TQStyleOption& option = TQStyleOption::Default ) const { @@ -46,10 +46,10 @@ class KexiTableViewHeaderStyle : public KexiUtils::StyleProxy TQColorGroup newCg(cg); newCg.setColor(TQColorGroup::Button, m_backgroundColor); newCg.setColor(TQColorGroup::Background, m_backgroundColor); //set background color as well (e.g. for thinkeramik) - m_style->tqdrawPrimitive( pe, p, r, newCg, flags, option ); + m_style->drawPrimitive( pe, p, r, newCg, flags, option ); return; } - m_style->tqdrawPrimitive( pe, p, r, cg, flags, option ); + m_style->drawPrimitive( pe, p, r, cg, flags, option ); } void setBackgroundColor( const TQColor& color ) { m_backgroundColor = color; } |