summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartParamsWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartParamsWrapper.h')
-rw-r--r--libkdchart/KDChartParamsWrapper.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/libkdchart/KDChartParamsWrapper.h b/libkdchart/KDChartParamsWrapper.h
index 827cef1..f691408 100644
--- a/libkdchart/KDChartParamsWrapper.h
+++ b/libkdchart/KDChartParamsWrapper.h
@@ -1,26 +1,27 @@
#ifndef KDCHARTPARAMSWRAPPER_H
#define KDCHARTPARAMSWRAPPER_H
-#include <qobject.h>
+#include <tqobject.h>
#include <KDFrame.h>
#include <KDChartParams.h>
-#include <qvariant.h>
+#include <tqvariant.h>
class KDChartAxisParams;
-class KDChartParamsWrapper :public QObject
+class KDChartParamsWrapper :public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KDChartParamsWrapper( KDChartParams* );
public slots:
const KDChartAxisParams* axisParams( uint n ) const;
- void setExplodeValues( QVariant explodeList );
- void setExplodeFactors( QVariant factors );
+ void setExplodeValues( TQVariant explodeList );
+ void setExplodeFactors( TQVariant factors );
void setAxisLabelStringParams( uint n,
- QVariant axisLabelStringList,
- QVariant axisShortLabelStringList,
- const QString& valueStart = QString::null,
- const QString& valueEnd = QString::null );
+ TQVariant axisLabelStringList,
+ TQVariant axisShortLabelStringList,
+ const TQString& valueStart = TQString(),
+ const TQString& valueEnd = TQString() );
// These methods need to be here, for the enums to work.
void setSimpleFrame( uint area,
@@ -33,9 +34,9 @@ public slots:
int simpleFrame = KDFrame::FrameFlat,
int lineWidth = 1,
int midLineWidth = 0,
- QPen pen = QPen(),
- QBrush background = QBrush( Qt::NoBrush ),
- const QPixmap* backPixmap = 0, // no pixmap
+ TQPen pen = TQPen(),
+ TQBrush background = TQBrush( TQt::NoBrush ),
+ const TQPixmap* backPixmap = 0, // no pixmap
int backPixmapMode = KDFrame::PixStretched,
int shadowWidth = 0,
int sunPos = KDFrame::CornerTopLeft )
@@ -55,7 +56,7 @@ public slots:
int simpleFrame = KDFrame::FrameFlat,
int lineWidth = 1,
int midLineWidth = 0,
- QPen pen = QPen(),
+ TQPen pen = TQPen(),
int shadowWidth = 0,
int sunPos = KDFrame::CornerTopLeft )
{
@@ -80,18 +81,18 @@ public slots:
uint chart = KDCHART_ALL_CHARTS,
int divPow10 = 0,
int digitsBehindComma = KDCHART_DATA_VALUE_AUTO_DIGITS,
- QFont* font = 0,
+ TQFont* font = 0,
uint size = UINT_MAX, // <-- makes us use the *default* font params
// by IGNORING settings of
// the following parameters!
- const QColor* color = KDCHART_DATA_VALUE_AUTO_COLOR,
+ const TQColor* color = KDCHART_DATA_VALUE_AUTO_COLOR,
int negativePosition = KDChartEnums::PosCenter,
- uint negativeAlign = Qt::AlignCenter,
+ uint negativeAlign = TQt::AlignCenter,
int negativeDeltaX = 0,
int negativeDeltaY = 0,
int negativeRotation = 0,
int positivePosition = KDChartEnums::PosCenter,
- uint positiveAlign = Qt::AlignCenter,
+ uint positiveAlign = TQt::AlignCenter,
int positiveDeltaX = 0,
int positiveDeltaY = 0,
int positiveRotation = 0,
@@ -151,15 +152,15 @@ public slots:
void setAxisLabelTextParams( uint n,
bool axisSteadyValueCalc = true,
- QVariant axisValueStart = KDCHART_AXIS_LABELS_AUTO_LIMIT,
- QVariant axisValueEnd = KDCHART_AXIS_LABELS_AUTO_LIMIT,
+ TQVariant axisValueStart = KDCHART_AXIS_LABELS_AUTO_LIMIT,
+ TQVariant axisValueEnd = KDCHART_AXIS_LABELS_AUTO_LIMIT,
double axisValueDelta = KDCHART_AXIS_LABELS_AUTO_DELTA,
int axisDigitsBehindComma = KDCHART_AXIS_LABELS_AUTO_DIGITS,
int axisMaxEmptyInnerSpan = 67,
int takeLabelsFromDataRow = KDChartAxisParams::LabelsFromDataRowNo,
int labelTextsDataRow = 0,
- const QVariant& axisLabelStringList = QStringList(),
- const QVariant& axisShortLabelsStringList = QStringList(),
+ const TQVariant& axisLabelStringList = TQStringList(),
+ const TQVariant& axisShortLabelsStringList = TQStringList(),
int axisValueLeaveOut = KDCHART_AXIS_LABELS_AUTO_LEAVEOUT,
int axisValueDeltaScale = KDChartAxisParams::ValueScaleNumerical );