summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartParams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDChartParams.cpp')
-rw-r--r--kchart/kdchart/KDChartParams.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kchart/kdchart/KDChartParams.cpp b/kchart/kdchart/KDChartParams.cpp
index fd9f0e2e..c2647ccc 100644
--- a/kchart/kdchart/KDChartParams.cpp
+++ b/kchart/kdchart/KDChartParams.cpp
@@ -139,7 +139,7 @@ KDChartParams::KDChartParams()
setShadowBrightnessFactor( 1.0 );
// The default shadow fill style.
- setShadowPattern( Qt::SolidPattern );
+ setShadowPattern( TQt::SolidPattern );
// Some default colors for the data.
setDataDefaultColors();
@@ -151,7 +151,7 @@ KDChartParams::KDChartParams()
setOutlineDataLineWidth( 1 );
// Default line style for data display outlines.
- setOutlineDataLineStyle( Qt::SolidLine );
+ setOutlineDataLineStyle( TQt::SolidLine );
// END GENERAL
@@ -210,7 +210,7 @@ KDChartParams::KDChartParams()
setLineWidth( 1 );
// Lines are solid by default
- setLineStyle( Qt::SolidLine );
+ setLineStyle( TQt::SolidLine );
// Lines have the same color as their
// respective data points by default
@@ -333,8 +333,8 @@ KDChartParams::KDChartParams()
setLegendSpacing( 20 );
// Position of the legend
setLegendPosition( LegendRight );
- // Qt::Orientation of the legend
- setLegendOrientation( Qt::Vertical );
+ // Orientation of the legend
+ setLegendOrientation( TQt::Vertical );
// Whether the legend shall show lines or just
// show the markers (or squares, resp.)
setLegendShowLines( false );
@@ -427,7 +427,7 @@ KDChartParams::KDChartParams()
setProperties(KDCHART_PROPSET_NORMAL_DATA, *tempPropSetA);
// don't show the line, don't show the marker
tempPropSetA->setName("transparent data");
- tempPropSetA->setLineStyle( KDChartPropertySet::OwnID, Qt::NoPen );
+ tempPropSetA->setLineStyle( KDChartPropertySet::OwnID, TQt::NoPen );
tempPropSetA->setShowMarker( KDChartPropertySet::OwnID, false );
setProperties(KDCHART_PROPSET_TRANSPARENT_DATA, *tempPropSetA);
// don't show line nor marker, but do show the horizontal line
@@ -630,7 +630,7 @@ bool KDChartParams::calculateProperties( int startId, KDChartPropertySet& rSet )
if( bOk ){
int lineWidth;
TQColor lineColor;
- Qt::PenStyle lineStyle;
+ TQt::PenStyle lineStyle;
bool showMarker;
uint markerAlign;
TQSize markerSize;
@@ -641,7 +641,7 @@ bool KDChartParams::calculateProperties( int startId, KDChartPropertySet& rSet )
int extraLinesLength;
int extraLinesWidth;
TQColor extraLinesColor;
- Qt::PenStyle extraLinesStyle;
+ TQt::PenStyle extraLinesStyle;
uint extraMarkersAlign;
TQSize extraMarkersSize;
TQColor extraMarkersColor;
@@ -1296,7 +1296,7 @@ void KDChartParams::setPrintDataValues( bool active,
else
settings->_dataValuesColor = *color;
}
- settings->_dataValuesBrush = TQBrush(Qt::NoBrush);
+ settings->_dataValuesBrush = TQBrush(TQt::NoBrush);
// for values below zero:
settings->_dataValuesAnchorNegativePosition = negativePosition;
settings->_dataValuesAnchorNegativeAlign = negativeAlign;
@@ -3087,7 +3087,7 @@ void KDChartParams::setAdditionalChartType( ChartType chartType )
/**
- \fn void KDChartParams::setShadowPattern( Qt::BrushStyle style )
+ \fn void KDChartParams::setShadowPattern( TQt::BrushStyle style )
Specifies a filling style for filling the shadow areas in
3-dimensional drawings like 3D bar charts. The default is to
@@ -3101,7 +3101,7 @@ void KDChartParams::setAdditionalChartType( ChartType chartType )
/**
- \fn Qt::BrushStyle KDChartParams::shadowPattern() const
+ \fn TQt::BrushStyle KDChartParams::shadowPattern() const
Returns the filling style used for filling the shadow areas in
3-dimensional drawings like 3D bar charts. The default is to
@@ -4857,7 +4857,7 @@ void KDChartParams::setLineMarkerStyles( LineMarkerStyleMap map ) {
\sa lineStyle, setLineWidth, setLineColor
\sa setLineMarker, setLineMarkerSize, setLineMarkerStyle
*/
-void KDChartParams::setLineStyle( Qt::PenStyle style, uint dataset )
+void KDChartParams::setLineStyle( TQt::PenStyle style, uint dataset )
{
if( KDCHART_GLOBAL_LINE_STYLE == dataset )
_lineStyle = style;
@@ -4880,7 +4880,7 @@ void KDChartParams::setLineStyle( Qt::PenStyle style, uint dataset )
\return the line style for the specified data set
\sa setLineStyle, setLineMarkerStyle
*/
-Qt::PenStyle KDChartParams::lineStyle( uint dataset ) const
+TQt::PenStyle KDChartParams::lineStyle( uint dataset ) const
{
if( KDCHART_GLOBAL_LINE_STYLE == dataset )
// global line style
@@ -6663,10 +6663,10 @@ void KDChartParams::setBWChartPrintStatistics( BWStatVal statValue,
/**
- \fn void KDChartParams::setLegendOrientation( Qt::Orientation orientation )
+ \fn void KDChartParams::setLegendOrientation( TQt::Orientation orientation )
- Specifies how the legend should be printed. Qt::Vertical (the default)
- prints the legend entries below each other, Qt::Horizontal prints them
+ Specifies how the legend should be printed. vertical (the default)
+ prints the legend entries below each other, horizontal prints them
aside each other.
\note Horizontal orientation is only possible if the chart is NOT making
@@ -6681,7 +6681,7 @@ void KDChartParams::setBWChartPrintStatistics( BWStatVal statValue,
/**
- \fn Qt::Orientation KDChartParams::legendOrientation() const
+ \fn TQt::Orientation KDChartParams::legendOrientation() const
Returns how the legend will be printed.
@@ -8423,7 +8423,7 @@ int KDChartParams::headerFooterFontRelSize( uint pos ) const
/**
- \var Qt::BrushStyle KDChartParams::_shadowPattern;
+ \var TQt::BrushStyle KDChartParams::_shadowPattern;
Stores a fill style to be used for filling shadow area in
3-dimensional drawings like e.g. 3D bar charts.
@@ -9233,7 +9233,7 @@ void KDChartParams::insertDefaultAxisTitleBox( uint n,
0, 0,
0, 0,
setColor ? axisTitleColor : TQt::darkBlue,
- Qt::NoBrush,
+ TQt::NoBrush,
KDChartEnums::AreaAxisBASE + n,
bVert ? KDChartEnums::PosCenterLeft : KDChartEnums::PosBottomCenter, bVert ? (TQt::AlignTop + TQt::AlignHCenter) : (TQt::AlignBottom + TQt::AlignHCenter),
0,0,0,