31 #include <tqtooltip.h>
33 #include <libkcal/incidence.h>
35 #include "koeventview.h"
36 #include "customlistviewitem.h"
40 typedef CustomListViewItem<Incidence *> KOListViewItem;
44 class KOListViewToolTip : public TQToolTip
47 KOListViewToolTip ( TQWidget* parent, Calendar *calendar, TDEListView* lv );
50 void maybeTip( const TQPoint &pos );
54 TDEListView* eventlist;
76 bool nonInteractive = false );
79 virtual int maxDatesHint();
80 virtual int currentDateCount();
81 virtual Incidence::List selectedIncidences();
82 virtual DateList selectedIncidenceDates();
84 void showDates( bool show );
89 void readSettings(TDEConfig *config);
90 void writeSettings(TDEConfig *config);
93 TQSize sizeHint() const;
96 virtual void updateView();
97 virtual void showDates( const TQDate &start, const TQDate &end );
98 virtual void showIncidences( const Incidence::List &incidenceList, const TQDate &date );
100 void clearSelection();
105 void changeIncidenceDisplay( Incidence *, int);
107 void defaultItemAction(TQListViewItem *item);
108 void popupMenu(TQListViewItem *item, const TQPoint &, int);
111 void processSelectionChange();
114 void addIncidences( const Incidence::List &, const TQDate &date);
115 void addIncidence( Incidence *, const TQDate &date);
116 KOListViewItem *getItemForIncidence( Incidence *incidence);
119 class ListItemVisitor;
120 TDEListView *mListView;
121 KOEventPopupMenu *mPopupMenu;
122 KOListViewItem *mActiveItem;
123 TQDict<Incidence> mUidDict;
124 TQMap<TQString, TQDate>mDateList;
125 DateList mSelectedDates;
128 bool mIsNonInteractive;
KOEventView is the abstract base class from which all other calendar views for event data are derived...
This class provides a multi-column list view of events.
|