summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventpopupmenu.cpp
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/koeventpopupmenu.cpp
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'korganizer/koeventpopupmenu.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koeventpopupmenu.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/korganizer/koeventpopupmenu.cpp b/korganizer/koeventpopupmenu.cpp
index fc4d9a4..81047c1 100644
--- a/korganizer/koeventpopupmenu.cpp
+++ b/korganizer/koeventpopupmenu.cpp
@@ -24,2 +24,5 @@
#include <qcursor.h>
+//Added by qt3to4:
+#include <Q3ValueList>
+#include <Q3PopupMenu>
@@ -34,3 +37,3 @@
-KOEventPopupMenu::KOEventPopupMenu(): QPopupMenu()
+KOEventPopupMenu::KOEventPopupMenu(): Q3PopupMenu()
{
@@ -55,3 +58,3 @@ KOEventPopupMenu::KOEventPopupMenu(): QPopupMenu()
isDisabled = false;
- mCatPopup = new QPopupMenu ( this );
+ mCatPopup = new Q3PopupMenu ( this );
mCatPopup->setCheckable (true);
@@ -59,3 +62,3 @@ KOEventPopupMenu::KOEventPopupMenu(): QPopupMenu()
connect(mCatPopup,SIGNAL( activated ( int ) ), this ,SLOT( computeCatPopup( int )));
- mCalPopup = new QPopupMenu ( this );
+ mCalPopup = new Q3PopupMenu ( this );
mCalPopup->setCheckable (true);
@@ -67,3 +70,3 @@ KOEventPopupMenu::KOEventPopupMenu(): QPopupMenu()
insertItem (i18n("Calendar"),mCalPopup );
- QValueList<int>::Iterator it;
+ Q3ValueList<int>::Iterator it;
for( it = mEditOnlyItems.begin(); it != mEditOnlyItems.end(); ++it ) {
@@ -76,3 +79,3 @@ void KOEventPopupMenu::enableDefault( bool enable )
isDisabled = !enable;
- QValueList<int>::Iterator it;
+ Q3ValueList<int>::Iterator it;
for( it = mSingleOnlyItems.begin(); it != mSingleOnlyItems.end(); ++it ) {
@@ -148,3 +151,3 @@ void KOEventPopupMenu::showIncidencePopup(Incidence *incidence)
if ( !isDisabled ) {
- QValueList<int>::Iterator it;
+ Q3ValueList<int>::Iterator it;
for( it = mEditOnlyItems.begin(); it != mEditOnlyItems.end(); ++it ) {
@@ -157,3 +160,3 @@ void KOEventPopupMenu::showIncidencePopup(Incidence *incidence)
-void KOEventPopupMenu::addAdditionalItem(const QIconSet &icon,const QString &text,
+void KOEventPopupMenu::addAdditionalItem(const QIcon &icon,const QString &text,
const QObject *receiver, const char *member,