summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartAxisParams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartAxisParams.cpp')
-rw-r--r--libkdchart/KDChartAxisParams.cpp240
1 files changed, 120 insertions, 120 deletions
diff --git a/libkdchart/KDChartAxisParams.cpp b/libkdchart/KDChartAxisParams.cpp
index 158ea1a..31ec8de 100644
--- a/libkdchart/KDChartAxisParams.cpp
+++ b/libkdchart/KDChartAxisParams.cpp
@@ -152,7 +152,7 @@ KDChartAxisParams::KDChartAxisParams()
_axisLineWidth = -3; // == 3/1000
_axisTrueLineWidth = 1;
_axisLineVisible = true;
- _axisLineColor = QColor( 0, 0, 0 );
+ _axisLineColor = TQColor( 0, 0, 0 );
_axisShowFractionalValuesDelimiters = true;
_axisShowGrid = false;
@@ -165,18 +165,18 @@ KDChartAxisParams::KDChartAxisParams()
_axisGridSubLineWidth = KDCHART_AXIS_GRID_AUTO_LINEWIDTH;
_axisGridSubStyle = Qt::DotLine;
- _axisZeroLineColor = QColor( 0x00, 0x00, 0x80 );
+ _axisZeroLineColor = TQColor( 0x00, 0x00, 0x80 );
_axisLabelsVisible = true;
- _axisLabelsFont = QFont( "helvetica", 12,
- QFont::Normal, false );
+ _axisLabelsFont = TQFont( "helvetica", 12,
+ TQFont::Normal, false );
_axisLabelsFontUseRelSize = true;
_axisLabelsFontRelSize = 32;
_axisLabelsFontMinSize = 6;
_axisLabelsDontShrinkFont = false;
_axisLabelsDontAutoRotate = false;
_axisLabelsRotation = 0;
- _axisLabelsColor = QColor( 0, 0, 0 );
+ _axisLabelsColor = TQColor( 0, 0, 0 );
_axisSteadyValueCalc = true;
_axisValueStartIsExact = true;
@@ -202,7 +202,7 @@ KDChartAxisParams::KDChartAxisParams()
setAxisLastLabelText();
setTrueAxisDeltaPixels( 0.0 );
setTrueAxisLowHighDelta( 0.0, 0.0, 0.0 );
- setTrueAxisDtLowHighDeltaScale( QDateTime(), QDateTime(), ValueScaleDay );
+ setTrueAxisDtLowHighDeltaScale( TQDateTime(), TQDateTime(), ValueScaleDay );
_axisLabelsDivPow10 = 0;
_axisDigitsBehindComma = KDCHART_AXIS_LABELS_AUTO_DIGITS;
@@ -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 layout based upon the kind
+- Let the program calculate the chart tqlayout 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.
@@ -476,7 +476,7 @@ KDChartAxisParams::AxisAreaMode KDChartAxisParams::axisAreaMode() const
\param mode the axis area mode enum to convert
\return the string representation of the mode enum
*/
-QString KDChartAxisParams::axisAreaModeToString( AxisAreaMode mode ) {
+TQString KDChartAxisParams::axisAreaModeToString( AxisAreaMode mode ) {
switch( mode ) {
case AxisAreaModeFixedSize:
return "FixedSize";
@@ -496,7 +496,7 @@ QString KDChartAxisParams::axisAreaModeToString( AxisAreaMode mode ) {
\param string the string to convert
\return the axis area mode enum value
*/
-KDChartAxisParams::AxisAreaMode KDChartAxisParams::stringToAxisAreaMode( const QString& type ) {
+KDChartAxisParams::AxisAreaMode KDChartAxisParams::stringToAxisAreaMode( const TQString& type ) {
if( type == "FixedSize" )
return AxisAreaModeFixedSize;
else if( type == "AutoSize" )
@@ -723,7 +723,7 @@ void KDChartAxisParams::setAxisCalcMode( AxisCalcMode axisCalcMode )
\param mode the axis calc mode enum to convert
\return the string representation of the mode enum
*/
-QString KDChartAxisParams::axisCalcModeToString( AxisCalcMode mode ) {
+TQString KDChartAxisParams::axisCalcModeToString( AxisCalcMode mode ) {
switch( mode ) {
case AxisCalcLinear:
return "Linear";
@@ -741,7 +741,7 @@ QString KDChartAxisParams::axisCalcModeToString( AxisCalcMode mode ) {
\param string the string to convert
\return the axis calc mode enum value
*/
-KDChartAxisParams::AxisCalcMode KDChartAxisParams::stringToAxisCalcMode( const QString& type ) {
+KDChartAxisParams::AxisCalcMode KDChartAxisParams::stringToAxisCalcMode( const TQString& type ) {
if( type == "Linear" )
return AxisCalcLinear;
else if( type == "Logarithmic" )
@@ -838,7 +838,7 @@ void KDChartAxisParams::setIsometricReferenceAxis( uint isoRefAxis )
*/
/**
- \fn void KDChartAxisParams::setAxisTrueAreaRect( const QRect& axisTrueAreaRect )
+ \fn void KDChartAxisParams::setAxisTrueAreaRect( const TQRect& axisTrueAreaRect )
Specifies the true axis area rectangle.
\param axisAreaMax the true axis area rectangle
@@ -855,7 +855,7 @@ void KDChartAxisParams::setIsometricReferenceAxis( uint isoRefAxis )
*/
/**
- \fn QRect KDChartAxisParams::axisTrueAreaRect() const
+ \fn TQRect KDChartAxisParams::axisTrueAreaRect() const
Returns the true axis area rectangle
as calculated and drawn.
@@ -981,14 +981,14 @@ void KDChartAxisParams::setAxisLineWidth( int axisLineWidth )
\param axisLineColor the axis line colour.
\sa axisLineColor
*/
-void KDChartAxisParams::setAxisLineColor( QColor axisLineColor )
+void KDChartAxisParams::setAxisLineColor( TQColor axisLineColor )
{
_axisLineColor = axisLineColor;
emit changed();
}
/**
- \fn QColor KDChartAxisParams::axisLineColor() const
+ \fn TQColor KDChartAxisParams::axisLineColor() const
Returns the axis line colour.
\return the axis line colour.
@@ -1036,14 +1036,14 @@ void KDChartAxisParams::setAxisShowGrid( bool axisShowGrid )
\param axisGridColor the axis grid color.
\sa axisGridColor, setAxisShowGrid
*/
-void KDChartAxisParams::setAxisGridColor( QColor axisGridColor )
+void KDChartAxisParams::setAxisGridColor( TQColor axisGridColor )
{
_axisGridColor = axisGridColor;
emit changed();
}
/**
- \fn QColor KDChartAxisParams::axisGridColor() const
+ \fn TQColor KDChartAxisParams::axisGridColor() const
Returns the axis grid color.
\return the axis grid color.
@@ -1061,7 +1061,7 @@ void KDChartAxisParams::setAxisGridColor( QColor axisGridColor )
\param axisGridSubColor the axis grid sub color.
\sa axisGridSubColor, setAxisGridColor, setAxisShowGrid, setAxisShowSubDelimiters
*/
-void KDChartAxisParams::setAxisGridSubColor( QColor axisGridSubColor )
+void KDChartAxisParams::setAxisGridSubColor( TQColor axisGridSubColor )
{
_axisGridSubColor = axisGridSubColor;
emit changed();
@@ -1069,7 +1069,7 @@ void KDChartAxisParams::setAxisGridSubColor( QColor axisGridSubColor )
/**
- \fn QColor KDChartAxisParams::axisGridSubColor() const
+ \fn TQColor KDChartAxisParams::axisGridSubColor() const
Returns the axis grid sub color.
\return the axis grid sub color.
@@ -1089,7 +1089,7 @@ of the respective grid lines and use different grid colours
to show two grids at the same time. In such cases it might
also be a good idea to deactivate \c setAxisShowSubDelimiters
thus avoiding the dotted sub-grid lines or to set their
-style to Qt::NoPen to get sub-delimiters on the axis
+style to TQt::NoPen to get sub-delimiters on the axis
but no sub-grid lines.
You may use setAxisGridLineWidth( KDCHART_AXIS_GRID_AUTO_LINEWIDTH )
@@ -1137,7 +1137,7 @@ void KDChartAxisParams::setAxisGridSubLineWidth( int axisGridSubLineWidth )
/**
- \fn QColor KDChartAxisParams::axisGridSubLineWidth() const
+ \fn TQColor KDChartAxisParams::axisGridSubLineWidth() const
Returns the axis grid sub line width.
\return the axis grid sub line width.
@@ -1151,14 +1151,14 @@ void KDChartAxisParams::setAxisGridSubLineWidth( int axisGridSubLineWidth )
\param axisGridStyle the axis grid line pattern.
\sa axisGridStyle, setAxisShowGrid
*/
-void KDChartAxisParams::setAxisGridStyle( PenStyle axisGridStyle )
+void KDChartAxisParams::setAxisGridStyle( Qt::PenStyle axisGridStyle )
{
_axisGridStyle = axisGridStyle;
emit changed();
}
/**
- \fn PenStyle KDChartAxisParams::axisGridStyle() const
+ \fn Qt::PenStyle KDChartAxisParams::axisGridStyle() const
Returns the axis grid line pattern.
\return the axis grid line pattern.
@@ -1175,14 +1175,14 @@ void KDChartAxisParams::setAxisGridStyle( PenStyle axisGridStyle )
\sa axisGridSubStyle, setAxisGridStyle, axisGridStyle
\sa setAxisShowGrid
*/
-void KDChartAxisParams::setAxisGridSubStyle( PenStyle axisGridSubStyle )
+void KDChartAxisParams::setAxisGridSubStyle( Qt::PenStyle axisGridSubStyle )
{
_axisGridSubStyle = axisGridSubStyle;
emit changed();
}
/**
- \fn PenStyle KDChartAxisParams::axisGridSubStyle() const
+ \fn Qt::PenStyle KDChartAxisParams::axisGridSubStyle() const
Returns the axis grid line pattern for the thin lines
showing the sub-delimiter values.
@@ -1200,14 +1200,14 @@ void KDChartAxisParams::setAxisGridSubStyle( PenStyle axisGridSubStyle )
\param axisZeroLineColor the zero-line colour.
\sa axisZeroLineColor
*/
-void KDChartAxisParams::setAxisZeroLineColor( QColor axisZeroLineColor )
+void KDChartAxisParams::setAxisZeroLineColor( TQColor axisZeroLineColor )
{
_axisZeroLineColor = axisZeroLineColor;
emit changed();
}
/**
- \fn QColor KDChartAxisParams::axisZeroLineColor() const
+ \fn TQColor KDChartAxisParams::axisZeroLineColor() const
Returns the colour used for the zero-value line
that is drawn if zero is not at the lower
edge of the chart.
@@ -1296,14 +1296,14 @@ void KDChartAxisParams::setAxisLabelsTouchEdges( bool axisLabelsTouchEdges )
\sa setAxisLabelsFontRelSize, setAxisLabelsFontUseRelSize
\sa axisLabelsFont, axisLabelsFontRelSize
*/
-void KDChartAxisParams::setAxisLabelsFont( QFont axisLabelsFont, bool useFontSize )
+void KDChartAxisParams::setAxisLabelsFont( TQFont axisLabelsFont, bool useFontSize )
{
_axisLabelsFont = axisLabelsFont;
_axisLabelsFontUseRelSize = ! useFontSize;
emit changed();
}
/**
- \fn QFont KDChartAxisParams::axisLabelsFont() const
+ \fn TQFont KDChartAxisParams::axisLabelsFont() const
Returns the axis labels font.
\return the axis labels font.
@@ -1434,14 +1434,14 @@ void KDChartAxisParams::setAxisLabelsFontRelSize( int axisLabelsFontRelSize )
\param axisLabelsColor the axis labels colour.
\sa axisLabelsColor
*/
-void KDChartAxisParams::setAxisLabelsColor( QColor axisLabelsColor )
+void KDChartAxisParams::setAxisLabelsColor( TQColor axisLabelsColor )
{
_axisLabelsColor = axisLabelsColor;
emit changed();
}
/**
- \fn QColor KDChartAxisParams::axisLabelsColor() const
+ \fn TQColor KDChartAxisParams::axisLabelsColor() const
Returns the axis labels colour.
\return the axis labels colour.
@@ -1482,8 +1482,8 @@ void KDChartAxisParams::setAxisLabelsCalc( int divPow10,
\sa setAxisLabelsNotation
\sa axisLabelsDecimalPoint, axisLabelsThousandsPoint
*/
-void KDChartAxisParams::setAxisLabelsRadix( const QString& decimalPoint,
- const QString& thousandsPoint )
+void KDChartAxisParams::setAxisLabelsRadix( const TQString& decimalPoint,
+ const TQString& thousandsPoint )
{
_axisLabelsDecimalPoint = decimalPoint;
_axisLabelsThousandsPoint = thousandsPoint;
@@ -1532,10 +1532,10 @@ void KDChartAxisParams::setAxisLabelsNotation( KDChartEnums::NumberNotation nota
\sa axisLabelsPrefix, axisLabelsPostfix, axisLabelsTotalLen
\sa axisLabelsPadFill, axisLabelsBlockAlign
*/
-void KDChartAxisParams::setAxisLabelsFormat( const QString& prefix,
- const QString& postfix,
+void KDChartAxisParams::setAxisLabelsFormat( const TQString& prefix,
+ const TQString& postfix,
const int& totalLen,
- const QChar& padFill,
+ const TQChar& padFill,
const bool& blockAlign )
{
_axisLabelsPrefix = prefix;
@@ -1574,7 +1574,7 @@ void KDChartAxisParams::setAxisLabelsFormat( const QString& prefix,
\param mode the enum to convert
\return the string representation of the mode enum
*/
-QString KDChartAxisParams::labelsFromDataRowToString( LabelsFromDataRow mode ) {
+TQString KDChartAxisParams::labelsFromDataRowToString( LabelsFromDataRow mode ) {
switch( mode ) {
case LabelsFromDataRowYes:
return "Yes";
@@ -1594,7 +1594,7 @@ QString KDChartAxisParams::labelsFromDataRowToString( LabelsFromDataRow mode )
\param string the string to convert
\return the data row mode enum value
*/
-KDChartAxisParams::LabelsFromDataRow KDChartAxisParams::stringToLabelsFromDataRow( const QString& type ) {
+KDChartAxisParams::LabelsFromDataRow KDChartAxisParams::stringToLabelsFromDataRow( const TQString& type ) {
if( type == "Yes" )
return LabelsFromDataRowYes;
else if( type == "No" )
@@ -1640,7 +1640,7 @@ It shall be added once the automatic string support has been added!
Currently the following strings are supported by the automatical
numbering feature. (These strings are implemented for your convenience,
-you may specify any other set of label texts by passing a \c QStringList
+you may specify any other set of label texts by passing a \c TQStringList
pointer to \c axisLabelStringList.)
\li Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
@@ -1683,9 +1683,9 @@ By using negative numbers you can specify backward stepping.
\note Start and end values are \c KDChartData so you may either
specify numerical data or pass a string. <br>
However if passing a string make sure to also specify a
- valid QStringList* for \c axisLabelStringList.
+ valid TQStringList* for \c axisLabelStringList.
In that case it could be wise to also also specify a second
- QStringList* for \c axisShortLabelsStringsList to be used in
+ TQStringList* for \c axisShortLabelsStringsList to be used in
case the axes area is not wide enough to display the
label texts in their full length.
@@ -1800,11 +1800,11 @@ It will show no digits behind the comma.
KDChartParams p;
KDChartAxisParams pa( p.axisParams( KDChartAxisParams::AxisPosBottom ) );
-QStringList abscissaNames;
+TQStringList abscissaNames;
abscissaNames << "Sunday" << "Monday" << "Tuesday" << "Wednesday"
<< "Thursday" << "Friday" << "Saturday";
-QStringList abscissaShortNames;
+TQStringList abscissaShortNames;
abscissaShortNames << "Sun" << "Mon" << "Tue" << "Wed"
<< "Thu" << "Fri" << "Sat";
@@ -1824,10 +1824,10 @@ counting the days of the week as far as neccessary to represent
all the entries in the associated dataset.
Note this \c LabelsFromDataRowNo indicating that the texts are <b>not</b> to
be taken from a data row and note \c &abscissaNames indicating the
-\c QStringList where to take the texts from instead. (In case the axis area
+\c TQStringList where to take the texts from instead. (In case the axis area
is not wide enough to display the strings in their full length their
counterparts stored in abscissaShortNames will be displayed instead.)
-<b>Note also:</b> The strings in those two QStringList are <b>not</b>
+<b>Note also:</b> The strings in those two TQStringList are <b>not</b>
copied into the \c KDChartAxisParams nor into the \c KDChartParams
so please make sure the Lists are alive and valid till the end of
the param objects. Otherwise you will not be able to display the
@@ -1841,8 +1841,8 @@ texts.
\param axisDigitsBehindComma specifies how many digits are to be shown behind the axis label texts comma.
\param axisMaxEmptyInnerSpan specifies the percentage of the y-axis range that may to contain NO data entries, if - and only if - axisValueStart (or axisValueEnd, resp.) is set to KDCHART_AXIS_LABELS_AUTO_LIMIT. To prevent \c setAxisValues from changing the current setting you may specify KDCHART_DONT_CHANGE_EMPTY_INNER_SPAN_NOW here, to deactivate taking into account the inner span entirely just use KDCHART_AXIS_IGNORE_EMPTY_INNER_SPAN.
\param takeLabelsFromDataRow specifies whether the labels texts shall be taken from a special row (reserved for this in each dataset) or not.
-\param axisLabelStringList points to a \c QStringList containing the label texts to be used.
-\param axisShortLabelsStringList points to a \c QStringList containing the label texts to be used in case their full-size counterparts cannot be shown due to limited axis area size.
+\param axisLabelStringList points to a \c TQStringList containing the label texts to be used.
+\param axisShortLabelsStringList points to a \c TQStringList containing the label texts to be used in case their full-size counterparts cannot be shown due to limited axis area size.
\param axisValueLeaveOut is used for horizontal (top or bottom) axes only; it specifies whether some of the axis labels are to be skipped if there is not enough room for drawing them all without overlapping - this parameter may be set to KDCHART_AXIS_LABELS_AUTO_LEAVEOUT or to zero or to another positive value.
\param axisValueDeltaScale is used to specify the scaling mode of \c axisValueDelta - either just ValueScaleNumbers of a special time scale indicator.
\sa setAxisValueStart, setAxisValueEnd, setAxisValueDelta, setAxisValuesDecreasing
@@ -1851,15 +1851,15 @@ texts.
\sa axisSteadyValueCalc, setAxisValueLeaveOut
*/
void KDChartAxisParams::setAxisValues( bool axisSteadyValueCalc,
- const QVariant& axisValueStart,
- const QVariant& axisValueEnd,
+ const TQVariant& axisValueStart,
+ const TQVariant& axisValueEnd,
double axisValueDelta,
int axisDigitsBehindComma,
int axisMaxEmptyInnerSpan,
LabelsFromDataRow takeLabelsFromDataRow,
int labelTextsDataRow,
- QStringList* axisLabelStringList,
- QStringList* axisShortLabelsStringList,
+ TQStringList* axisLabelStringList,
+ TQStringList* axisShortLabelsStringList,
int axisValueLeaveOut,
ValueScale axisValueDeltaScale )
{
@@ -1891,7 +1891,7 @@ void KDChartAxisParams::setAxisValues( bool axisSteadyValueCalc,
setAxisLabelTexts( 0 );
setTrueAxisDeltaPixels( 0.0 );
setTrueAxisLowHighDelta( 0.0, 0.0, 0.0 );
- setTrueAxisDtLowHighDeltaScale( QDateTime(), QDateTime(), ValueScaleDay );
+ setTrueAxisDtLowHighDeltaScale( TQDateTime(), TQDateTime(), ValueScaleDay );
emit changed();
}
@@ -1933,7 +1933,7 @@ void KDChartAxisParams::setAxisValues( bool axisSteadyValueCalc,
with the next value lower than your start value that can be
divided by the delta factor.
- \param isExactValue set this to FALSE if KD Chart shall find
+ \param isExactValue set this to FALSE if KD Chart shall tqfind
a better value than the one you have specified by setAxisValueStart()
\sa setAxisValues, setAxisValueEnd, setAxisValueDelta
\sa axisValueStartIsExact, axisValueStart
@@ -2147,7 +2147,7 @@ void KDChartAxisParams::setTrueAxisLowHighDelta( double nLow, double nHigh, dou
-void KDChartAxisParams::setTrueAxisDtLowHighDeltaScale( QDateTime dtLow, QDateTime dtHigh,
+void KDChartAxisParams::setTrueAxisDtLowHighDeltaScale( TQDateTime dtLow, TQDateTime dtHigh,
ValueScale dtDeltaScale )
{
_trueDtLow = dtLow;
@@ -2156,12 +2156,12 @@ void KDChartAxisParams::setTrueAxisDtLowHighDeltaScale( QDateTime dtLow, QDateT
}
/**
- \fn void KDChartAxisParams::setTrueAxisDtLow( QDateTime dtLow )
+ \fn void KDChartAxisParams::setTrueAxisDtLow( TQDateTime dtLow )
*/
/**
- \fn void KDChartAxisParams::void setTrueAxisDtHigh( QDateTime dtHigh )
+ \fn void KDChartAxisParams::void setTrueAxisDtHigh( TQDateTime dtHigh )
*/
@@ -2171,12 +2171,12 @@ void KDChartAxisParams::setTrueAxisDtLowHighDeltaScale( QDateTime dtLow, QDateT
*/
/**
- \fn void KDChartAxisParams::QDateTime trueAxisDtLow() const
+ \fn void KDChartAxisParams::TQDateTime trueAxisDtLow() const
*/
/**
- \fn void KDChartAxisParams::QDateTime trueAxisDtHigh() const
+ \fn void KDChartAxisParams::TQDateTime trueAxisDtHigh() const
*/
@@ -2340,20 +2340,20 @@ void KDChartAxisParams::setAxisDtHighPos( double x, double y )
*/
/**
- \fn void KDChartAxisParams::setAxisLabelsDateTimeFormat( const QString& format )
+ \fn void KDChartAxisParams::setAxisLabelsDateTimeFormat( const TQString& format )
Specifies the format to be used for displaying abscissa axis
- QDateTime item labels.
+ TQDateTime item labels.
- \note This feature is only available when using Qt 3.0 or newer,
+ \note This feature is only available when using TQt 3.0 or newer,
previous versions use a non changable format.
To calculate the format automatically (based on the
time span to be displayed) use the special value
\c KDCHART_AXIS_LABELS_AUTO_DATETIME_FORMAT - this is the default setting.
- See Qt documentation on the format to be used here:
+ See TQt documentation on the format to be used here:
- $QTDIR/doc/html/qdatetime.html#toString-2
+ $TQTDIR/doc/html/qdatetime.html#toString-2
\note Insert a '\n' character if you want to print the labels in two rows, e.g. "h:mm:ss\nd.MM.yyyy" would do that.
@@ -2361,9 +2361,9 @@ void KDChartAxisParams::setAxisDtHighPos( double x, double y )
*/
/**
- \fn QString KDChartAxisParams::axisLabelsDateTimeFormat() const
+ \fn TQString KDChartAxisParams::axisLabelsDateTimeFormat() const
Returns the format to be used for displaying abscissa axis
- QDateTime item labels.
+ TQDateTime item labels.
\sa setAxisLabelsDateTimeFormat
*/
@@ -2401,7 +2401,7 @@ void KDChartAxisParams::setAxisDtHighPos( double x, double y )
\note Calling this function results in overwriting the information
that you might have set by previous calls of that function.
Only <b>one</b> data row can be specified as containing label texts.
- To specify a data row that contains (or might contain) axis label texts just
+ To specify a data row that tqcontains (or might contain) axis label texts just
call this function with \c LabelsFromDataRowYes (or \c LabelsFromDataRowGuess,
resp.) specifying this row but do <b>not</b> call the function n times with
the \c LabelsFromDataRowNo parameter to 'deactivate' the other rows.
@@ -2409,7 +2409,7 @@ void KDChartAxisParams::setAxisDtHighPos( double x, double y )
the data rows is containing the axis label texts (this is the default
setting).
- \param row the data row number that contains (or might contain, resp.) the labels
+ \param row the data row number that tqcontains (or might contain, resp.) the labels
\param mode the state of our information concerning that row (see: \c LabelsFromDataRow)
\sa LabelsFromDataRow, axisLabelTextsFormDataRow, setAxisValues
@@ -2434,24 +2434,24 @@ void KDChartAxisParams::setLabelTextsFormDataRow( int row, LabelsFromDataRow mo
/**
\fn int KDChartAxisParams::labelTextsDataRow() const
- Returns the number of the data row that contains (or might contain,
+ Returns the number of the data row that tqcontains (or might contain,
resp.) the texts to be taken for the axis labels.
<br>
Use \c axisLabelTextsFormDataRow to make sure the texts are
to be taken from that row.
<br>
- Use \c axisLabelStringList to get a QStringList* of texts from
+ Use \c axisLabelStringList to get a TQStringList* of texts from
which the texts to be drawn will be taken.
- Use \c axisShortLabelsStringList to get a QStringList* of texts from
+ Use \c axisShortLabelsStringList to get a TQStringList* of texts from
which the texts to be drawn will be taken in case the axis area size
is too small to display their full-size counterparts stored in
\c axisLabelStringList.
- Use \c axisLabelTexts to get a QStringList* containing the label
+ Use \c axisLabelTexts to get a TQStringList* containing the label
texts that are <b>actually</b> drawn at the axis.
- \return the number of the data row that contains (or might contain,
+ \return the number of the data row that tqcontains (or might contain,
resp.) the texts to be taken for the axis labels.
\sa setAxisValues
\sa axisValueStart, axisValueEnd
@@ -2461,7 +2461,7 @@ void KDChartAxisParams::setLabelTextsFormDataRow( int row, LabelsFromDataRow mo
/**
- Specifies a \c QStringList which the axis label texts are to
+ Specifies a \c TQStringList which the axis label texts are to
be taken from, the second parameter (if not zero) specifies an
alternative list of strings that are to be displayed in case
the axis area size is too small for showing the full-length names.
@@ -2472,10 +2472,10 @@ void KDChartAxisParams::setLabelTextsFormDataRow( int row, LabelsFromDataRow mo
the strings between these two values only, as shown here:
\verbatim
- QStringList abscissaNames;
+ TQStringList abscissaNames;
abscissaNames << "Sunday" << "Monday" << "Tuesday" << "Wednesday"
<< "Thursday" << "Friday" << "Saturday";
- QStringList abscissaShortNames;
+ TQStringList abscissaShortNames;
abscissaShortNames << "Sun" << "Mon" << "Tue" << "Wed"
<< "Thu" << "Fri" << "Sat";
@@ -2491,23 +2491,23 @@ void KDChartAxisParams::setLabelTextsFormDataRow( int row, LabelsFromDataRow mo
\endverbatim
- \param QStringList* axisLabelStringList points to the list of labels to be displayed
- \param QStringList* axisShortLabelStringList points to
+ \param TQStringList* axisLabelStringList points to the list of labels to be displayed
+ \param TQStringList* axisShortLabelStringList points to
an alternative list of short names to be displayed if the long labels take too much place
- \param QString valueStart ( default null ) the label to begin with
- \param QString valueEnd ( default null ) the label to end with
+ \param TQString valueStart ( default null ) the label to begin with
+ \param TQString valueEnd ( default null ) the label to end with
\sa KDChartParams::setAxisLabelStringParams
\sa axisLabelStringList, axisShortLabelsStringList
\sa setAxisValues, setLabelTextsFormDataRow
\sa axisLabelTexts
*/
-void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelStringList,
- QStringList* axisShortLabelStringList,
- const QString& valueStart,
- const QString& valueEnd )
+void KDChartAxisParams::setAxisLabelStringLists( TQStringList* axisLabelStringList,
+ TQStringList* axisShortLabelStringList,
+ const TQString& valueStart,
+ const TQString& valueEnd )
{
- QVariant axisValueStart, axisValueEnd;
+ TQVariant axisValueStart, axisValueEnd;
if( valueStart.isNull() )
axisValueStart = KDCHART_AXIS_LABELS_AUTO_LIMIT;
@@ -2535,11 +2535,11 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
/**
- \fn QStringList KDChartAxisParams::axisLabelStringList() const
- Returns a \c QStringList containing the label texts to be used.
+ \fn TQStringList KDChartAxisParams::axisLabelStringList() const
+ Returns a \c TQStringList containing the label texts to be used.
Calling \c axisShortLabelsStringList() instead will return
- another \c QStringList containing the label texts to be displayed
+ another \c TQStringList containing the label texts to be displayed
in case the axis area size is too small to show the full-size names.
\note This is the list of texts you specified by \c setAxisValues
@@ -2550,7 +2550,7 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
are calculated automatically the resulting labels are also stored in a
second list that you may access via \c axisLabelTexts().
- \return a \c QStringList containing the label texts to be used.
+ \return a \c TQStringList containing the label texts to be used.
\sa axisShortLabelsStringList
\sa setAxisLabelStringLists
\sa setAxisValues
@@ -2568,13 +2568,13 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
*/
/**
- \fn QStringList KDChartAxisParams::axisShortLabelsStringList() const
- Returns a \c QStringList containing the label texts to be used
+ \fn TQStringList KDChartAxisParams::axisShortLabelsStringList() const
+ Returns a \c TQStringList containing the label texts to be used
in case the axis area size is too small to show the full-size
label texts.
Calling \c axisLabelStringList() instead will return
- another \c QStringList containing their full-size counterparts.
+ another \c TQStringList containing their full-size counterparts.
\note This is the list of texts you specified by \c setAxisValues
or by \c setAxisShortLabelsStringList.
@@ -2584,7 +2584,7 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
are calculated automatically the resulting labels are also stored in a
second list that you may access via \c axisLabelTexts().
- \return a \c QStringList containing the label texts to be used
+ \return a \c TQStringList containing the label texts to be used
in case the axis area size is too small to show the full-size
label texts.
\sa axisLabelStringList
@@ -2605,8 +2605,8 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
/**
- \fn const QStringList* KDChartAxisParamsaxisLabelTexts() const
- Returns a \c QStringList containing the label texts
+ \fn const TQStringList* KDChartAxisParamsaxisLabelTexts() const
+ Returns a \c TQStringList containing the label texts
that are <b>actually</b> drawn at the axis.
In case the texts are unknown returns zero.
@@ -2618,7 +2618,7 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
automatically the resulting labels also stored in this list - it will
allways be a true copy of the texts painted at the axis.
- \return a \c QStringList containing the label texts actually being used.
+ \return a \c TQStringList containing the label texts actually being used.
\sa setAxisValues
\sa axisValueStart, axisValueEnd, axisLabelStringList
\sa axisLabelsFromDataRow, setLabelTextsFormDataRow
@@ -2637,7 +2637,7 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
For specifying another list of strings to be used as label texts
you might rather want to call \c setAxisLabelStringLists() or
\c setLabelTextsFormDataRow() depending from whether your texts
- are stored in a \c QStringList or in a data row.
+ are stored in a \c TQStringList or in a data row.
\param axisLabelTexts specifies the texts that are
<b>actually</b> drawn at the axis labels are unknown.
@@ -2645,7 +2645,7 @@ void KDChartAxisParams::setAxisLabelStringLists( QStringList* axisLabelString
\sa setAxisLabelStringLists, setLabelTextsFormDataRow, setAxisValues
\sa setAxisFirstLabelText, setAxisLastLabelText
*/
-void KDChartAxisParams::setAxisLabelTexts( const QStringList* axisLabelTexts )
+void KDChartAxisParams::setAxisLabelTexts( const TQStringList* axisLabelTexts )
{
_axisLabelTexts.clear();
_axisLabelTextsDirty = ( 0 == axisLabelTexts );
@@ -2665,7 +2665,7 @@ void KDChartAxisParams::setAxisLabelTexts( const QStringList* axisLabelTexts )
For specifying another list of strings to be used as label texts
you might rather want to call \c setAxisLabelStringLists() or
\c setLabelTextsFormDataRow() depending from whether your texts
- are stored in a \c QStringList or in a data row.
+ are stored in a \c TQStringList or in a data row.
\param axisLabelTextsDirty specifies whether the texts are
<b>actually</b> drawn at the axis labels are unknown.
@@ -2701,7 +2701,7 @@ void KDChartAxisParams::setAxisLabelTexts( const QStringList* axisLabelTexts )
\param axisFirstLabelText specifies the text that is
<b>actually</b> drawn as the first label: a NULL string
- ( as produced by QString() ) will be ignored, to suppress
+ ( as produced by TQString() ) will be ignored, to suppress
the first label please specify an EMPTY but NOT NULL string
by passing "" as parameter.
@@ -2709,7 +2709,7 @@ void KDChartAxisParams::setAxisLabelTexts( const QStringList* axisLabelTexts )
\sa setAxisLastLabelText
\sa setAxisLabelStringLists, setLabelTextsFormDataRow, setAxisValues
*/
-void KDChartAxisParams::setAxisFirstLabelText( const QString& axisFirstLabelText )
+void KDChartAxisParams::setAxisFirstLabelText( const TQString& axisFirstLabelText )
{
_axisFirstLabelText = axisFirstLabelText;
}
@@ -2729,14 +2729,14 @@ void KDChartAxisParams::setAxisFirstLabelText( const QString& axisFirstLabelTex
\param axisFirstLabelText specifies the text that is
<b>actually</b> drawn as the last label: a NULL string
- ( as produced by QString() ) will be ignored, to suppress
+ ( as produced by TQString() ) will be ignored, to suppress
the first label please specify an EMPTY but NOT NULL string
by passing "" as parameter.
\sa setAxisFirstLabelText
\sa setAxisLabelStringLists, setLabelTextsFormDataRow, setAxisValues
*/
-void KDChartAxisParams::setAxisLastLabelText( const QString& axisLastLabelText )
+void KDChartAxisParams::setAxisLastLabelText( const TQString& axisLastLabelText )
{
_axisLastLabelText = axisLastLabelText;
}
@@ -2763,7 +2763,7 @@ void KDChartAxisParams::setAxisLastLabelText( const QString& axisLastLabelText
*/
/**
- \fn KDChartAxisParams::KDChartAxisParams( const KDChartAxisParams& R ) : QObject()
+ \fn KDChartAxisParams::KDChartAxisParams( const KDChartAxisParams& R ) : TQObject()
Copy-constructor: By calling the copy method,
see also the assignment operator.
*/
@@ -2874,7 +2874,7 @@ void KDChartAxisParams::deepCopy( KDChartAxisParams& D, const KDChartAxisParams&
\param type the axis type enum to convert
\return the string representation of the axis type enum
*/
-QString KDChartAxisParams::axisTypeToString( AxisType type ) {
+TQString KDChartAxisParams::axisTypeToString( AxisType type ) {
switch( type ) {
case AxisTypeUnknown:
return "Unknown";
@@ -2896,7 +2896,7 @@ QString KDChartAxisParams::axisTypeToString( AxisType type ) {
\param string the string to convert
\return the axis type enum value
*/
-KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString& type ) {
+KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const TQString& type ) {
if( type == "Unknown" )
return AxisTypeUnknown;
else if( type == "East" )
@@ -3009,7 +3009,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QRect _axisTrueAreaRect
+ \var TQRect _axisTrueAreaRect
Specifies the true axis area rectangle
as it was calculated and drawn.
@@ -3043,7 +3043,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QColor _axisLineColor
+ \var TQColor _axisLineColor
Specifies the axis line colour.
\sa setAxisLineColor
@@ -3057,7 +3057,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QColor _axisGridColor
+ \var TQColor _axisGridColor
Specifies the axis grid colour.
\sa setAxisGridColor, setAxisShowGrid
@@ -3072,7 +3072,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QColor _axisGridSubColor
+ \var TQColor _axisGridSubColor
Specifies the axis grid sub colour.
\sa setAxisGridSubColor, setAxisShowGrid, setAxisShowSubDelimiters
@@ -3087,21 +3087,21 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var PenStyle _axisGridStyle
+ \var Qt::PenStyle _axisGridStyle
Specifies the axis grid line pattern for main grid lines.
\sa setAxisGridStyle, setAxisShowGrid
*/
/**
- \var PenStyle _axisGridSubStyle
+ \var Qt::PenStyle _axisGridSubStyle
Specifies the axis grid line pattern for sub-delimiter grid lines.
\sa setAxisGridSubStyle, setAxisGridStyle, setAxisShowGrid
*/
/**
- \var QColor _axisZeroLineColor
+ \var TQColor _axisZeroLineColor
Specifies the zero-line colour.
\sa setAxisZeroLineColor
@@ -3115,7 +3115,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QFont _axisLabelsFont
+ \var TQFont _axisLabelsFont
Specifies the axis labels font.
\sa setAxisLabelsFont
@@ -3141,7 +3141,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QColor _axisLabelsColor
+ \var TQColor _axisLabelsColor
Specifies the axis labels color.
\sa setAxisLabelsColor
@@ -3285,8 +3285,8 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QStringList _axisLabelStringList
- Specifies a QStringList containing the label texts to be used.
+ \var TQStringList _axisLabelStringList
+ Specifies a TQStringList containing the label texts to be used.
\sa _axisShortLabelsStringList
\sa setAxisValues, _axisLabelTexts, _axisLabelTextsDirty
@@ -3294,8 +3294,8 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
/**
- \var QStringList _axisShortLabelsStringList
- Specifies a QStringList containing the label texts to be used
+ \var TQStringList _axisShortLabelsStringList
+ Specifies a TQStringList containing the label texts to be used
in case the axis area is not wide enough to show their full-size
counterparts.
@@ -3304,7 +3304,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
*/
/**
- \var QStringList _axisLabelTexts
+ \var TQStringList _axisLabelTexts
Contains the label texts <b>actually</b> being used.
\sa setAxisValues, _axisLabelStringList, _axisLabelTextsDirty
@@ -3312,7 +3312,7 @@ KDChartAxisParams::AxisType KDChartAxisParams::stringToAxisType( const QString&
/**
\var bool _axisLabelTextsDirty
- Specifies whether the QStringList _axisLabelTexts content is invalid.
+ Specifies whether the TQStringList _axisLabelTexts content is invalid.
\sa setAxisValues, _axisLabelTexts
*/