summaryrefslogtreecommitdiffstats
path: root/kexi
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:16:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 22:27:52 +0900
commit141d8c03654d4ba34e567dfb331f46a16630d349 (patch)
tree67654f0d693ac028b9c5a7f4346e9f9e8c25a8db /kexi
parent7b525ca12009d79fe90020690a4e7f0716dc97c2 (diff)
downloadkoffice-141d8c03654d4ba34e567dfb331f46a16630d349.tar.gz
koffice-141d8c03654d4ba34e567dfb331f46a16630d349.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cecd6a4a4814cb41562ea1d9bd36d40db7c9bdbe)
Diffstat (limited to 'kexi')
-rw-r--r--kexi/kexiutils/styleproxy.h4
-rw-r--r--kexi/widget/tableview/kexitableviewheader.cpp2
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
{