Diffstat (limited to 'noncore/apps/checkbook/graph.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/graph.h | 9 |
1 files changed, 5 insertions, 4 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 | |||
@@ -33,6 +33,7 @@ | |||
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 | { |
@@ -44,7 +45,7 @@ class Graph : public QWidget | |||
44 | void setGraphInfo( GraphInfo * ); | 45 | void setGraphInfo( GraphInfo * ); |
45 | 46 | ||
46 | void drawGraph( bool = FALSE ); | 47 | void drawGraph( bool = FALSE ); |
47 | 48 | ||
48 | protected: | 49 | protected: |
49 | void paintEvent( QPaintEvent * ); | 50 | void paintEvent( QPaintEvent * ); |
50 | void resizeEvent( QResizeEvent * ); | 51 | void resizeEvent( QResizeEvent * ); |
@@ -55,9 +56,9 @@ class Graph : public QWidget | |||
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 |