Diffstat (limited to 'noncore/apps/checkbook/graph.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/graph.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/checkbook/graph.h b/noncore/apps/checkbook/graph.h index 7379be7..40b23cd 100644 --- a/noncore/apps/checkbook/graph.h +++ b/noncore/apps/checkbook/graph.h | |||
@@ -30,12 +30,13 @@ | |||
30 | #define GRAPH_H | 30 | #define GRAPH_H |
31 | 31 | ||
32 | #include <qpixmap.h> | 32 | #include <qpixmap.h> |
33 | #include <qwidget.h> | 33 | #include <qwidget.h> |
34 | 34 | ||
35 | class GraphInfo; | 35 | class GraphInfo; |
36 | class QPainter; | ||
36 | 37 | ||
37 | class Graph : public QWidget | 38 | class Graph : public QWidget |
38 | { | 39 | { |
39 | Q_OBJECT | 40 | Q_OBJECT |
40 | 41 | ||
41 | public: | 42 | public: |
@@ -52,12 +53,12 @@ class Graph : public QWidget | |||
52 | private: | 53 | private: |
53 | GraphInfo *data; | 54 | GraphInfo *data; |
54 | 55 | ||
55 | QPixmap graph; | 56 | QPixmap graph; |
56 | 57 | ||
57 | void initGraph(); | 58 | void initGraph(); |
58 | void drawBarChart(); | 59 | void drawBarChart( int, int, float ); |
59 | void drawLineChart(); | 60 | void drawLineChart( int, int, float ); |
60 | void drawPieChart(); | 61 | void drawPieChart( int, int, float ); |
61 | }; | 62 | }; |
62 | 63 | ||
63 | #endif | 64 | #endif |