summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexitableviewheader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-08-08 17:28:45 -0500
committerTimothy Pearson <[email protected]>2012-08-08 17:28:45 -0500
commit5ac0bbacaf0ad76cbc65972df498b2f1789cc0f5 (patch)
tree7f945bd33aa74e45387e699c1a9a4d9f9a6a5232 /kexi/widget/tableview/kexitableviewheader.cpp
parent89d961e7cfa28f527023046963dffa078f5c69f3 (diff)
downloadkoffice-5ac0bbacaf0ad76cbc65972df498b2f1789cc0f5.tar.gz
koffice-5ac0bbacaf0ad76cbc65972df498b2f1789cc0f5.zip
Style API update
Diffstat (limited to 'kexi/widget/tableview/kexitableviewheader.cpp')
-rw-r--r--kexi/widget/tableview/kexitableviewheader.cpp6
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; }