diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:16:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:16:00 +0900 |
commit | cecd6a4a4814cb41562ea1d9bd36d40db7c9bdbe (patch) | |
tree | d28f295cb7fd0e2f604d8c7370b4c117fb41a565 | |
parent | 04e50e547f8ed2d6db996bc4816179fa962bd6b1 (diff) | |
download | koffice-cecd6a4a4814cb41562ea1d9bd36d40db7c9bdbe.tar.gz koffice-cecd6a4a4814cb41562ea1d9bd36d40db7c9bdbe.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kexi/kexiutils/styleproxy.h | 4 | ||||
-rw-r--r-- | kexi/widget/tableview/kexitableviewheader.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexiutils/styleproxy.h b/kexi/kexiutils/styleproxy.h index c1621240..a0d6792d 100644 --- a/kexi/kexiutils/styleproxy.h +++ b/kexi/kexiutils/styleproxy.h @@ -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 { diff --git a/kexi/widget/tableview/kexitableviewheader.cpp b/kexi/widget/tableview/kexitableviewheader.cpp index a313c1e5..0ee90f5a 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 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 { |