diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kmplot/kmplot/diagr.h | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmplot/kmplot/diagr.h')
-rw-r--r-- | kmplot/kmplot/diagr.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmplot/kmplot/diagr.h b/kmplot/kmplot/diagr.h index 45cae5a6..23375821 100644 --- a/kmplot/kmplot/diagr.h +++ b/kmplot/kmplot/diagr.h @@ -33,7 +33,7 @@ #include <stdio.h> // Qt includes -#include <qpainter.h> +#include <tqpainter.h> //@{ /// Some abbreviations for horizontal and vertical lines. @@ -61,18 +61,18 @@ public: ~CDiagr(); /// Sets all members to current values. - void Create( QPoint Ref, + void Create( TQPoint Ref, int lx, int ly, double xmin, double xmax, double ymin, double ymax ); /// Sets the current values for the scaling factors void Skal( double ex, double ey ); /// Draws all requested parts of the diagram (axes, labels, grid e.g.) - void Plot( QPainter* pDC ); + void Plot( TQPainter* pDC ); /// Returns the rectangle around the core of the plot area. - QRect GetPlotArea() { return PlotArea; } + TQRect GetPlotArea() { return PlotArea; } /// Returns the rectangle for the frame around the plot. Extra frame is bigger. - QRect GetFrame() { return m_frame; } + TQRect GetFrame() { return m_frame; } /** @name Transformations */ //@{ @@ -104,11 +104,11 @@ public: private: /// Draw the coordinate axes. - void drawAxes(QPainter*); + void drawAxes(TQPainter*); /// Draw the grid. - void drawGrid( QPainter* ); + void drawGrid( TQPainter* ); /// Write labels. - void drawLabels(QPainter*); + void drawLabels(TQPainter*); /// Current grid style. int g_mode; @@ -138,8 +138,8 @@ private: double skx, sky; //@} - QRect PlotArea; ///< plot area - QRect m_frame; ///< frame around the plot + TQRect PlotArea; ///< plot area + TQRect m_frame; ///< frame around the plot }; #endif // diagr_included |