summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/styleproxy.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/kexiutils/styleproxy.h
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/kexiutils/styleproxy.h')
-rw-r--r--kexi/kexiutils/styleproxy.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/kexiutils/styleproxy.h b/kexi/kexiutils/styleproxy.h
index 867ef23d..cf3eea50 100644
--- a/kexi/kexiutils/styleproxy.h
+++ b/kexi/kexiutils/styleproxy.h
@@ -67,10 +67,10 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
virtual void polishPopupMenu( TQPopupMenu* p ) { m_style->polishPopupMenu(p); }
- virtual TQRect tqitemRect( TQPainter *p, const TQRect &r,
+ virtual TQRect itemRect( TQPainter *p, const TQRect &r,
int flags, bool enabled, const TQPixmap *pixmap, const TQString &text, int len = -1 ) const
{
- return m_style->tqitemRect( p, r, flags, enabled, pixmap, text, len );
+ return m_style->itemRect( p, r, flags, enabled, pixmap, text, len );
}
virtual void drawItem( TQPainter *p, const TQRect &r,
@@ -87,18 +87,18 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
m_style->tqdrawPrimitive( pe, p, r, cg, flags, option );
}
- virtual void tqdrawControl( TQ_ControlElement element,
+ virtual void drawControl( TQ_ControlElement element,
TQPainter *p, const TQWidget *widget, const TQRect &r, const TQColorGroup &cg,
SFlags how = Style_Default, const TQStyleOption& option = TQStyleOption::Default ) const
{
- m_style->tqdrawControl( element, p, widget, r, cg, how, option );
+ m_style->drawControl( element, p, widget, r, cg, how, option );
}
- virtual void tqdrawControlMask( TQ_ControlElement element,
+ virtual void drawControlMask( TQ_ControlElement element,
TQPainter *p, const TQWidget *widget, const TQRect &r,
const TQStyleOption& option = TQStyleOption::Default ) const
{
- m_style->tqdrawControlMask( element, p, widget, r, option );
+ m_style->drawControlMask( element, p, widget, r, option );
}
virtual TQRect subRect( SubRect r, const TQWidget *widget ) const
@@ -106,7 +106,7 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
return m_style->subRect( r, widget );
}
- virtual void tqdrawComplexControl( TQ_ComplexControl control,
+ virtual void drawComplexControl( TQ_ComplexControl control,
TQPainter *p, const TQWidget *widget, const TQRect &r,
const TQColorGroup &cg, SFlags how = Style_Default,
#ifdef TQ_TQDOC
@@ -116,14 +116,14 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
#endif
SCFlags subActive = SC_None, const TQStyleOption& option = TQStyleOption::Default ) const
{
- tqdrawComplexControl( control, p, widget, r, cg, how, sub, subActive, option );
+ drawComplexControl( control, p, widget, r, cg, how, sub, subActive, option );
}
- virtual void tqdrawComplexControlMask( TQ_ComplexControl control,
+ virtual void drawComplexControlMask( TQ_ComplexControl control,
TQPainter *p, const TQWidget *widget, const TQRect &r,
const TQStyleOption& option = TQStyleOption::Default ) const
{
- m_style->tqdrawComplexControlMask( control, p, widget, r, option );
+ m_style->drawComplexControlMask( control, p, widget, r, option );
}
virtual TQRect querySubControlMetrics( TQ_ComplexControl control,
@@ -140,10 +140,10 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
return m_style->querySubControl( control, widget, pos, option );
}
- virtual int tqpixelMetric( PixelMetric metric,
+ virtual int pixelMetric( PixelMetric metric,
const TQWidget *widget = 0 ) const
{
- return m_style->tqpixelMetric( metric, widget );
+ return m_style->pixelMetric( metric, widget );
}
virtual TQSize tqsizeFromContents( ContentsType contents,
@@ -153,11 +153,11 @@ class KEXIUTILS_EXPORT StyleProxy : public TQStyle
return m_style->tqsizeFromContents( contents, widget, contentsSize, option );
}
- virtual int tqstyleHint( TQ_StyleHint stylehint,
+ virtual int styleHint( TQ_StyleHint stylehint,
const TQWidget *widget = 0, const TQStyleOption& option = TQStyleOption::Default,
TQStyleHintReturn* returnData = 0 ) const
{
- return m_style->tqstyleHint( stylehint, widget, option, returnData );
+ return m_style->styleHint( stylehint, widget, option, returnData );
}
virtual TQPixmap stylePixmap( StylePixmap stylepixmap,