From fd30a5e3950c7412e6b02bdad34acaebf01ac78e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:05:00 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9) --- libkdchart/KDChartEnums.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libkdchart/KDChartEnums.h') diff --git a/libkdchart/KDChartEnums.h b/libkdchart/KDChartEnums.h index b3fe163..71373d5 100644 --- a/libkdchart/KDChartEnums.h +++ b/libkdchart/KDChartEnums.h @@ -53,10 +53,10 @@ class KDCHART_EXPORT KDChartEnums :public TQObject public: /** - Text tqlayout policy: what to do if text that is to be drawn would + Text layout policy: what to do if text that is to be drawn would cover neighboring text or neighboring areas. - \li \c LayoutJustOverwrite Just ignore the tqlayout collision and write the text nevertheless. + \li \c LayoutJustOverwrite Just ignore the layout collision and write the text nevertheless. \li \c LayoutPolicyRotate Try counter-clockwise rotation to make the text fit into the space. \li \c LayoutPolicyShiftVertically Shift the text baseline upwards (or downwards, resp.) and draw a connector line between the text and its anchor. \li \c LayoutPolicyShiftHorizontally Shift the text baseline to the left (or to the right, resp.) and draw a connector line between the text and its anchor. @@ -71,11 +71,11 @@ public: LayoutPolicyShrinkFontSize }; /** - Converts the specified text tqlayout policy enum to a + Converts the specified text layout policy enum to a string representation. - \param type the text tqlayout policy to convert - \return the string representation of the text tqlayout policy enum + \param type the text layout policy to convert + \return the string representation of the text layout policy enum */ static TQString layoutPolicyToString( TextLayoutPolicy type ) { switch( type ) { @@ -90,7 +90,7 @@ public: case LayoutPolicyShrinkFontSize: return "ShrinkFontSize"; default: // should not happen - qDebug( "Unknown text tqlayout policy" ); + qDebug( "Unknown text layout policy" ); return "JustOverwrite"; } } @@ -150,10 +150,10 @@ public: /** - Converts the specified string to a text tqlayout policy enum value. + Converts the specified string to a text layout policy enum value. \param string the string to convert - \return the text tqlayout policy enum value + \return the text layout policy enum value */ static TextLayoutPolicy stringToLayoutPolicy( const TQString& string ) { if( string == "JustOverwrite" ) -- cgit v1.2.1