summaryrefslogtreecommitdiffabout
path: root/korganizer/timeline.h
Side-by-side diff
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,31 +1,31 @@
#ifndef TIMELINE_H
#define TIMELINE_H
-#include <qscrollview.h>
+#include <q3scrollview.h>
#include <qdatetime.h>
-class TimeLine : public QScrollView
+class TimeLine : public Q3ScrollView
{
Q_OBJECT
public:
TimeLine( QWidget *parent = 0, const char *name = 0 );
virtual ~TimeLine();
void setDateRange( const QDateTime &start, const QDateTime &end );
public slots:
void setContentsPos( int pos );
protected:
void drawContents(QPainter* p, int cx, int cy, int cw, int ch);
private:
QDateTime mStartDate;
QDateTime mEndDate;
int mPixelWidth;
int mDaySpacing;
int mDayOffset;
int mSecsPerPixel;
};