korganizer Library API Documentation

kotimespanview.h

00001 #ifndef KOTIMESPANVIEW_H
00002 #define KOTIMESPANVIEW_H
00003 
00004 #include "koeventview.h"
00005 
00006 class KConfig;
00007 class TimeSpanView;
00008 
00009 class KOTimeSpanView : public KOEventView
00010 {
00011     Q_OBJECT
00012   public:
00013     KOTimeSpanView(Calendar *calendar, QWidget *parent = 0, 
00014                    const char *name = 0);
00015     ~KOTimeSpanView();
00016 
00017     virtual int maxDatesHint();
00018     virtual int currentDateCount();
00019     virtual QPtrList<Incidence> selectedIncidences();
00020     DateList selectedDates() 
00021       {DateList q;
00022        return q;}
00023 
00024     void readSettings();
00025     void readSettings( KConfig * );
00026     void writeSettings( KConfig * );
00027 
00028   public slots:
00029     virtual void updateView();
00030     virtual void showDates(const QDate &start, const QDate &end);
00031     virtual void showEvents(QPtrList<Event> eventList);
00032 
00033     void changeEventDisplay(Event *, int);
00034 
00035   private:
00036     void insertItems( const QDate &start, const QDate & end );
00037 
00038     TimeSpanView *mTimeSpanView;
00039 };
00040 
00041 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 15 11:41:10 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001