summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventpopupmenu.h
Unidiff
Diffstat (limited to 'korganizer/koeventpopupmenu.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koeventpopupmenu.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/korganizer/koeventpopupmenu.h b/korganizer/koeventpopupmenu.h
index e28745b..de5220b 100644
--- a/korganizer/koeventpopupmenu.h
+++ b/korganizer/koeventpopupmenu.h
@@ -21,28 +21,30 @@
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23#ifndef KOEVENTPOPUPMENU_H 23#ifndef KOEVENTPOPUPMENU_H
24#define KOEVENTPOPUPMENU_H 24#define KOEVENTPOPUPMENU_H
25// 25//
26// Context menu for event views with standard event actions 26// Context menu for event views with standard event actions
27// 27//
28 28
29#include <qpopupmenu.h> 29#include <q3popupmenu.h>
30//Added by qt3to4:
31#include <Q3ValueList>
30 32
31#include <libkcal/incidence.h> 33#include <libkcal/incidence.h>
32 34
33using namespace KCal; 35using namespace KCal;
34 36
35class KOEventPopupMenu : public QPopupMenu { 37class KOEventPopupMenu : public Q3PopupMenu {
36 Q_OBJECT 38 Q_OBJECT
37 public: 39 public:
38 KOEventPopupMenu(); 40 KOEventPopupMenu();
39 41
40 void addAdditionalItem(const QIconSet &icon,const QString &text, 42 void addAdditionalItem(const QIcon &icon,const QString &text,
41 const QObject *receiver, const char *member, 43 const QObject *receiver, const char *member,
42 bool editOnly=false); 44 bool editOnly=false);
43 45
44 46
45 public slots: 47 public slots:
46 void showIncidencePopup(Incidence *); 48 void showIncidencePopup(Incidence *);
47 void enableDefault( bool ); 49 void enableDefault( bool );
48 50
@@ -68,16 +70,16 @@ class KOEventPopupMenu : public QPopupMenu {
68 void moveIncidenceSignal(Incidence *); 70 void moveIncidenceSignal(Incidence *);
69 void beamIncidenceSignal(Incidence *); 71 void beamIncidenceSignal(Incidence *);
70 void categoryChanged( Incidence * ); 72 void categoryChanged( Incidence * );
71 73
72 private: 74 private:
73 Incidence *mCurrentIncidence; 75 Incidence *mCurrentIncidence;
74 76
75 bool mHasAdditionalItems; 77 bool mHasAdditionalItems;
76 QValueList<int> mEditOnlyItems; 78 Q3ValueList<int> mEditOnlyItems;
77 QValueList<int> mSingleOnlyItems; 79 Q3ValueList<int> mSingleOnlyItems;
78 bool isDisabled; 80 bool isDisabled;
79 QPopupMenu *mCatPopup; 81 Q3PopupMenu *mCatPopup;
80 QPopupMenu *mCalPopup; 82 Q3PopupMenu *mCalPopup;
81}; 83};
82 84
83#endif 85#endif