author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/koeventpopupmenu.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'korganizer/koeventpopupmenu.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeventpopupmenu.h | 16 |
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 | |||
@@ -26,18 +26,20 @@ | |||
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 | ||
33 | using namespace KCal; | 35 | using namespace KCal; |
34 | 36 | ||
35 | class KOEventPopupMenu : public QPopupMenu { | 37 | class 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 | ||
@@ -73,11 +75,11 @@ class KOEventPopupMenu : public QPopupMenu { | |||
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 |