-rw-r--r-- | korganizer/koagendaview.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h index 0079253..221b0ea 100644 --- a/korganizer/koagendaview.h +++ b/korganizer/koagendaview.h | |||
@@ -54,33 +54,38 @@ class TimeLabels : public QScrollView { | |||
54 | 54 | ||
55 | /** Calculates the minimum width */ | 55 | /** Calculates the minimum width */ |
56 | virtual int minimumWidth() const; | 56 | virtual int minimumWidth() const; |
57 | 57 | ||
58 | /** updates widget's internal state */ | 58 | /** updates widget's internal state */ |
59 | void updateConfig(); | 59 | void updateConfig(); |
60 | 60 | ||
61 | /** */ | 61 | /** */ |
62 | void setAgenda(KOAgenda* agenda); | 62 | void setAgenda(KOAgenda* agenda); |
63 | 63 | ||
64 | /** */ | 64 | /** */ |
65 | virtual void paintEvent(QPaintEvent* e); | 65 | virtual void paintEvent(QPaintEvent* e); |
66 | void contentsMousePressEvent ( QMouseEvent * ) ; | ||
67 | void contentsMouseReleaseEvent ( QMouseEvent * ); | ||
68 | void contentsMouseMoveEvent ( QMouseEvent * ); | ||
66 | 69 | ||
67 | public slots: | 70 | public slots: |
68 | /** update time label positions */ | 71 | /** update time label positions */ |
69 | void positionChanged(); | 72 | void positionChanged(); |
70 | 73 | signals: | |
74 | void scaleChanged(); | ||
71 | protected: | 75 | protected: |
72 | void drawContents(QPainter *p,int cx, int cy, int cw, int ch); | 76 | void drawContents(QPainter *p,int cx, int cy, int cw, int ch); |
73 | 77 | ||
74 | private: | 78 | private: |
79 | int mMouseDownY; | ||
75 | int mRows; | 80 | int mRows; |
76 | int mCellHeight; | 81 | int mCellHeight; |
77 | 82 | ||
78 | /** */ | 83 | /** */ |
79 | KOAgenda* mAgenda; | 84 | KOAgenda* mAgenda; |
80 | }; | 85 | }; |
81 | 86 | ||
82 | class EventIndicator : public QFrame { | 87 | class EventIndicator : public QFrame { |
83 | Q_OBJECT | 88 | Q_OBJECT |
84 | public: | 89 | public: |
85 | enum Location { Top, Bottom }; | 90 | enum Location { Top, Bottom }; |
86 | EventIndicator(Location loc=Top,QWidget *parent=0,const char *name=0); | 91 | EventIndicator(Location loc=Top,QWidget *parent=0,const char *name=0); |