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/timespanview.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/timespanview.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/korganizer/timespanview.h b/korganizer/timespanview.h index 34cb1f7..f652374 100644 --- a/korganizer/timespanview.h +++ b/korganizer/timespanview.h @@ -1,60 +1,62 @@ #ifndef TIMESPANVIEW_H #define TIMESPANVIEW_H #include <qwidget.h> +//Added by qt3to4: +#include <Q3ValueList> #include <libkcal/event.h> //class QSplitter; #ifndef DESKTOP_VERSION class QKSplitter; #else class QSplitter; #define QKSplitter QSplitter #endif -class QListView; +class Q3ListView; class LineView; class TimeLine; class TimeSpanView : public QWidget { Q_OBJECT public: TimeSpanView( QWidget *parent=0, const char *name=0 ); virtual ~TimeSpanView(); void addItem( KCal::Event * ); - QValueList<int> splitterSizes(); - void setSplitterSizes( QValueList<int> ); + Q3ValueList<int> splitterSizes(); + void setSplitterSizes( Q3ValueList<int> ); void clear(); void setDateRange( const QDateTime &start, const QDateTime &end ); QDateTime startDateTime(); QDateTime endDateTime(); public slots: void updateView(); void zoomIn(); void zoomOut(); void centerView(); signals: void dateRangeChanged(); private: QKSplitter *mSplitter; - QListView *mList; + Q3ListView *mList; TimeLine *mTimeLine; LineView *mLineView; QDateTime mStartDate; QDateTime mEndDate; int mSecsPerPixel; }; #endif |