diff options
Diffstat (limited to 'kchart/kdchart/KDChart.h')
-rw-r--r-- | kchart/kdchart/KDChart.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kchart/kdchart/KDChart.h b/kchart/kdchart/KDChart.h index 4d4944e7..1f91f255 100644 --- a/kchart/kdchart/KDChart.h +++ b/kchart/kdchart/KDChart.h @@ -29,9 +29,9 @@ #ifndef __KDCHART_H__ #define __KDCHART_H__ -#ifdef QSA -#include <qsproject.h> -#endif // QSA +#ifdef TQSA +#include <tqsproject.h> +#endif // TQSA #include "KDChartGlobal.h" #include "KDChartTable.h" @@ -41,15 +41,15 @@ /** \file KDChart.h \brief Definition of a single entry-point to the charting engine for - applications that wish to provide their own QPainter. + applications that wish to provide their own TQPainter. - It is not useful to instantiate the KDChart class as it only contains + It is not useful to instantiate the KDChart class as it only tqcontains static methods. */ class KDChartPainter; -class QPainter; -class QSInterpreter; +class TQPainter; +class TQSInterpreter; class KDCHART_EXPORT KDChart @@ -57,26 +57,26 @@ class KDCHART_EXPORT KDChart friend void cleanupPainter(); public: - static bool setupGeometry( QPainter* painter, + static bool setupGeometry( TQPainter* painter, KDChartParams* params, KDChartTableDataBase* data, - const QRect& drawRect ); + const TQRect& drawRect ); - static bool painterToDrawRect( QPainter* painter, QRect& drawRect ); + static bool painterToDrawRect( TQPainter* painter, TQRect& drawRect ); - static void paint( QPainter*, KDChartParams*, KDChartTableDataBase*, + static void paint( TQPainter*, KDChartParams*, KDChartTableDataBase*, KDChartDataRegionList* regions = 0, - const QRect* rect = 0, + const TQRect* rect = 0, bool mustCalculateGeometry = true ); - static void print( QPainter*, KDChartParams*, KDChartTableDataBase*, + static void print( TQPainter*, KDChartParams*, KDChartTableDataBase*, KDChartDataRegionList* regions = 0, - const QRect* rect = 0, + const TQRect* rect = 0, bool mustCalculateGeometry = true ); -#ifdef QSA - static void initInterpreter( QSInterpreter* ); - static void initProject( QSProject* ); +#ifdef TQSA + static void initInterpreter( TQSInterpreter* ); + static void initProject( TQSProject* ); #endif private: @@ -88,9 +88,9 @@ class KDCHART_EXPORT KDChart static KDChartParams::ChartType cpainterType; static KDChartParams::ChartType cpainterType2; -#ifdef QSA - static QString globals(); - static void privateInitInterpreter( QSInterpreter* interpreter ); +#ifdef TQSA + static TQString globals(); + static void privateInitInterpreter( TQSInterpreter* interpreter ); #endif }; |