-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 |