summaryrefslogtreecommitdiffstats
path: root/libkdchart
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:00 -0600
commit81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9 (patch)
tree984088ab9d226a14ccfea73720e580c16884702f /libkdchart
parentc70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (diff)
downloadkmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.tar.gz
kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'libkdchart')
-rw-r--r--libkdchart/KDChartAxisParams.cpp2
-rw-r--r--libkdchart/KDChartDataIntern.h4
-rw-r--r--libkdchart/KDChartEnums.h16
-rw-r--r--libkdchart/KDChartPainter.cpp2
-rw-r--r--libkdchart/KDChartParams.cpp4
-rw-r--r--libkdchart/KDDrawText.h4
6 files changed, 16 insertions, 16 deletions
diff --git a/libkdchart/KDChartAxisParams.cpp b/libkdchart/KDChartAxisParams.cpp
index a6e337f..b24892b 100644
--- a/libkdchart/KDChartAxisParams.cpp
+++ b/libkdchart/KDChartAxisParams.cpp
@@ -297,7 +297,7 @@ become wider or more narrow.
Also the graphical representation of the date will be comparable
since all your charts will use the same scale if you wish this.
-- Let the program calculate the chart tqlayout based upon the kind
+- Let the program calculate the chart layout based upon the kind
of and width of the labels to be drawn at the axes.
Also the program can calculate the labels for you and find the
boundary values for start and end of the scale automatically.
diff --git a/libkdchart/KDChartDataIntern.h b/libkdchart/KDChartDataIntern.h
index a1d6562..fe8cfc8 100644
--- a/libkdchart/KDChartDataIntern.h
+++ b/libkdchart/KDChartDataIntern.h
@@ -231,7 +231,7 @@ public:
}
}
// Note: We do *not* compare the _propSetID here since it contains
- // no values but is used to handle some tqlayout information...
+ // no values but is used to handle some layout information...
}
return bRet;
}
@@ -289,7 +289,7 @@ public:
/* NOOP */;
}
// Note: We do *not* copy the _propSetID here since it contains
- // no values but is used to handle some tqlayout information...
+ // no values but is used to handle some layout information...
}
}
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" )
diff --git a/libkdchart/KDChartPainter.cpp b/libkdchart/KDChartPainter.cpp
index 5ec6109..849d2b2 100644
--- a/libkdchart/KDChartPainter.cpp
+++ b/libkdchart/KDChartPainter.cpp
@@ -850,7 +850,7 @@ void KDChartPainter::paintDataValues( TQPainter* painter,
/*
NOTE: The following will be REMOVED again once
-the tqlayout policy feature is implemented !!!
+the layout policy feature is implemented !!!
*/
TQRect textRect( region->pTextRegion->boundingRect() );
diff --git a/libkdchart/KDChartParams.cpp b/libkdchart/KDChartParams.cpp
index deedda9..e59443f 100644
--- a/libkdchart/KDChartParams.cpp
+++ b/libkdchart/KDChartParams.cpp
@@ -3807,9 +3807,9 @@ int KDChartParams::dataValuesRotation( uint chart, bool negative ) const
a data text covers a neighboring data text (or a neighboring data
area, resp.).
- \note A tqlayout policy different from LayoutJustOverwrite from does
+ \note A layout policy different from LayoutJustOverwrite from does
not mean that this policy is followed in any case. Rather than
- giving up when the selected policy does not result in a good tqlayout
+ giving up when the selected policy does not result in a good layout
the program will automatically try the next policy: if
LayoutPolicyRotate did not succeed LayoutPolicyShiftVertically will
be tried, if this did not succeed either
diff --git a/libkdchart/KDDrawText.h b/libkdchart/KDDrawText.h
index 5fb9dbf..7842e9b 100644
--- a/libkdchart/KDDrawText.h
+++ b/libkdchart/KDDrawText.h
@@ -53,7 +53,7 @@ class KDDrawText
const TQString& text,
const TQFont* font = 0,
int align = TQt::AlignLeft | TQt::AlignTop,
- // useful for debugging of your tqlayout:
+ // useful for debugging of your layout:
bool showAnchor = false,
const TQFontMetrics* fontMet = 0,
bool noFirstrotate = false,
@@ -81,7 +81,7 @@ class KDDrawText
const TQString& text,
const TQFont* font = 0,
int align = TQt::AlignLeft | TQt::AlignTop,
- // usefull for debugging of your tqlayout:
+ // usefull for debugging of your layout:
bool showAnchor = false,
// speed-up parameters
// used internally by drawCircleText()