-rw-r--r-- | korganizer/koagendaview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h index 6dc81c6..30c9b05 100644 --- a/korganizer/koagendaview.h +++ b/korganizer/koagendaview.h | |||
@@ -80,48 +80,50 @@ class TimeLabels : public QScrollView { | |||
80 | /** Calculates the minimum width */ | 80 | /** Calculates the minimum width */ |
81 | virtual int minimumWidth() const; | 81 | virtual int minimumWidth() const; |
82 | 82 | ||
83 | /** updates widget's internal state */ | 83 | /** updates widget's internal state */ |
84 | void updateConfig(); | 84 | void updateConfig(); |
85 | 85 | ||
86 | /** */ | 86 | /** */ |
87 | void setAgenda(KOAgenda* agenda); | 87 | void setAgenda(KOAgenda* agenda); |
88 | 88 | ||
89 | /** */ | 89 | /** */ |
90 | virtual void paintEvent(QPaintEvent* e); | 90 | virtual void paintEvent(QPaintEvent* e); |
91 | void contentsMousePressEvent ( QMouseEvent * ) ; | 91 | void contentsMousePressEvent ( QMouseEvent * ) ; |
92 | void contentsMouseReleaseEvent ( QMouseEvent * ); | 92 | void contentsMouseReleaseEvent ( QMouseEvent * ); |
93 | void contentsMouseMoveEvent ( QMouseEvent * ); | 93 | void contentsMouseMoveEvent ( QMouseEvent * ); |
94 | 94 | ||
95 | public slots: | 95 | public slots: |
96 | /** update time label positions */ | 96 | /** update time label positions */ |
97 | void positionChanged(); | 97 | void positionChanged(); |
98 | signals: | 98 | signals: |
99 | void scaleChanged(); | 99 | void scaleChanged(); |
100 | protected: | 100 | protected: |
101 | void drawContents(QPainter *p,int cx, int cy, int cw, int ch); | 101 | void drawContents(QPainter *p,int cx, int cy, int cw, int ch); |
102 | 102 | ||
103 | private: | 103 | private: |
104 | QPixmap myPix; | ||
105 | bool mRedrawNeeded; | ||
104 | int mMiniWidth; | 106 | int mMiniWidth; |
105 | int mMouseDownY; | 107 | int mMouseDownY; |
106 | QString mOrgCap; | 108 | QString mOrgCap; |
107 | int mRows; | 109 | int mRows; |
108 | int mCellHeight; | 110 | int mCellHeight; |
109 | 111 | ||
110 | /** */ | 112 | /** */ |
111 | KOAgenda* mAgenda; | 113 | KOAgenda* mAgenda; |
112 | }; | 114 | }; |
113 | 115 | ||
114 | class EventIndicator : public QFrame { | 116 | class EventIndicator : public QFrame { |
115 | Q_OBJECT | 117 | Q_OBJECT |
116 | public: | 118 | public: |
117 | enum Location { Top, Bottom }; | 119 | enum Location { Top, Bottom }; |
118 | EventIndicator(Location loc=Top,QWidget *parent=0,const char *name=0); | 120 | EventIndicator(Location loc=Top,QWidget *parent=0,const char *name=0); |
119 | virtual ~EventIndicator(); | 121 | virtual ~EventIndicator(); |
120 | 122 | ||
121 | void changeColumns(int columns); | 123 | void changeColumns(int columns); |
122 | void setPaintWidget( KDGanttMinimizeSplitter* ); | 124 | void setPaintWidget( KDGanttMinimizeSplitter* ); |
123 | void setXOffset( int ); | 125 | void setXOffset( int ); |
124 | void enableColumn(int column, bool enable); | 126 | void enableColumn(int column, bool enable); |
125 | 127 | ||
126 | protected: | 128 | protected: |
127 | void drawContents(QPainter *); | 129 | void drawContents(QPainter *); |