summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartEnums.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:00 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-06 03:55:17 +0200
commitfd30a5e3950c7412e6b02bdad34acaebf01ac78e (patch)
tree48b1cbf25403a8b3551961c6c03ccc4ca6ccc567 /libkdchart/KDChartEnums.h
parent1de308fd3b1aacec7769d867a6eeaa98af69c61c (diff)
downloadkmymoney-fd30a5e3950c7412e6b02bdad34acaebf01ac78e.tar.gz
kmymoney-fd30a5e3950c7412e6b02bdad34acaebf01ac78e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9)
Diffstat (limited to 'libkdchart/KDChartEnums.h')
-rw-r--r--libkdchart/KDChartEnums.h16
1 files changed, 8 insertions, 8 deletions
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" )