summaryrefslogtreecommitdiffabout
path: root/korganizer/timeline.h
Unidiff
Diffstat (limited to 'korganizer/timeline.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/timeline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/timeline.h b/korganizer/timeline.h
index ab3e5d3..bf301fa 100644
--- a/korganizer/timeline.h
+++ b/korganizer/timeline.h
@@ -1,33 +1,33 @@
1#ifndef TIMELINE_H 1#ifndef TIMELINE_H
2#define TIMELINE_H 2#define TIMELINE_H
3 3
4#include <qscrollview.h> 4#include <q3scrollview.h>
5#include <qdatetime.h> 5#include <qdatetime.h>
6 6
7class TimeLine : public QScrollView 7class TimeLine : public Q3ScrollView
8{ 8{
9 Q_OBJECT 9 Q_OBJECT
10 public: 10 public:
11 TimeLine( QWidget *parent = 0, const char *name = 0 ); 11 TimeLine( QWidget *parent = 0, const char *name = 0 );
12 virtual ~TimeLine(); 12 virtual ~TimeLine();
13 13
14 void setDateRange( const QDateTime &start, const QDateTime &end ); 14 void setDateRange( const QDateTime &start, const QDateTime &end );
15 15
16 public slots: 16 public slots:
17 void setContentsPos( int pos ); 17 void setContentsPos( int pos );
18 18
19 protected: 19 protected:
20 void drawContents(QPainter* p, int cx, int cy, int cw, int ch); 20 void drawContents(QPainter* p, int cx, int cy, int cw, int ch);
21 21
22 private: 22 private:
23 QDateTime mStartDate; 23 QDateTime mStartDate;
24 QDateTime mEndDate; 24 QDateTime mEndDate;
25 25
26 int mPixelWidth; 26 int mPixelWidth;
27 int mDaySpacing; 27 int mDaySpacing;
28 int mDayOffset; 28 int mDayOffset;
29 int mSecsPerPixel; 29 int mSecsPerPixel;
30}; 30};
31 31
32#endif 32#endif
33 33