korganizer
koeventview.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _KOEVENTVIEW_H
00026 #define _KOEVENTVIEW_H
00027
00028 #include <libkcal/incidencebase.h>
00029
00030 #include <korganizer/baseview.h>
00031
00032
00033 namespace KCal {
00034 class Incidence;
00035 }
00036 using namespace KCal;
00037
00038 class KOEventPopupMenu;
00039 class CalPrinter;
00040 class QPopupMenu;
00041
00056 class KOEventView : public KOrg::BaseView
00057 {
00058 Q_OBJECT
00059
00060 public:
00068 KOEventView(Calendar *cal,QWidget *parent=0,const char *name=0);
00069
00073 virtual ~KOEventView();
00074
00079 virtual int maxDatesHint() = 0;
00080
00084 KOEventPopupMenu *eventPopup();
00085
00089 QPopupMenu *newEventPopup();
00090
00092 bool isEventView() { return true; }
00093
00094 public slots:
00095
00100 void defaultAction( Incidence * );
00101
00102 signals:
00110 void datesSelected(const DateList);
00111
00112
00117 void shiftedEvent(const QDate& olddate, const QDate& newdate);
00118
00119
00120 protected slots:
00121 void popupShow();
00122 void popupEdit();
00123 void popupDelete();
00124 void popupCut();
00125 void popupCopy();
00126 virtual void showNewEventPopup();
00127
00128 protected:
00129 Incidence *mCurrentIncidence;
00130 };
00131
00132 #endif
|