summaryrefslogtreecommitdiffstats
path: root/doc/customstyles.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/customstyles.doc')
-rw-r--r--doc/customstyles.doc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/customstyles.doc b/doc/customstyles.doc
index 2b4b02b35..f51ce0600 100644
--- a/doc/customstyles.doc
+++ b/doc/customstyles.doc
@@ -92,9 +92,9 @@ public:
~CustomStyle();
void drawPrimitive( PrimitiveElement pe,
- QPainter *p,
+ TQPainter *p,
const QRect & r,
- const QColorGroup & cg,
+ const TQColorGroup & cg,
SFlags flags = Style_Default,
const TQStyleOption & = TQStyleOption::Default ) const;
@@ -124,9 +124,9 @@ CustomStyle::~CustomStyle()
}
void CustomStyle::drawPrimitive( PrimitiveElement pe,
- QPainter * p,
+ TQPainter * p,
const QRect & r,
- const QColorGroup & cg,
+ const TQColorGroup & cg,
SFlags flags,
const TQStyleOption & opt ) const
{
@@ -171,10 +171,10 @@ void CustomStyle::drawPrimitive( PrimitiveElement pe,
// enabled/disabled
if ( flags & Style_Enabled ) {
p->setPen( cg.mid() );
- p->setBrush( cg.brush( QColorGroup::ButtonText ) );
+ p->setBrush( cg.brush( TQColorGroup::ButtonText ) );
} else {
p->setPen( cg.buttonText() );
- p->setBrush( cg.brush( QColorGroup::Mid ) );
+ p->setBrush( cg.brush( TQColorGroup::Mid ) );
}
p->drawPolygon( pa );
} else {