Replace various tqtinterface's TQ_* defines with actual types

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/47/head
Michele Calgaro 1 year ago
parent 04e50e547f
commit cecd6a4a48
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -80,7 +80,7 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
m_style->drawItem( p, r, flags, g, enabled, pixmap, text, len, penColor );
}
virtual void drawPrimitive( TQ_PrimitiveElement pe,
virtual void drawPrimitive( PrimitiveElement pe,
TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg, SFlags flags = Style_Default,
const TQStyleOption& option = TQStyleOption::Default ) const
{
@ -153,7 +153,7 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
return m_style->sizeFromContents( contents, ceData, elementFlags, contentsSize, option, widget );
}
virtual int styleHint( TQ_StyleHint stylehint,
virtual int styleHint( StyleHint stylehint,
const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption& option = TQStyleOption::Default,
TQStyleHintReturn* returnData = 0, const TQWidget *widget = 0 ) const
{

@ -38,7 +38,7 @@ class KexiTableViewHeaderStyle : public KexiUtils::StyleProxy
}
~KexiTableViewHeaderStyle() {}
virtual void drawPrimitive( TQ_PrimitiveElement pe,
virtual void drawPrimitive( PrimitiveElement pe,
TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags = Style_Default,
const TQStyleOption& option = TQStyleOption::Default ) const
{

Loading…
Cancel
Save