author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/timeline.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/timeline.h | 4 |
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 @@ #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; }; #endif |