summaryrefslogtreecommitdiffabout
path: root/korganizer/kolistview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kolistview.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index db3f802..cdcbbf0 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -304,22 +304,28 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
i18n("Hide all selected"),this,
SLOT(hideAll()),true);
- mPopupMenu->insertSeparator();
+ selPopup->insertSeparator();
#ifdef DESKTOP_VERSION
+ mPopupMenu->insertSeparator();
mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
i18n("Print complete list"),this,
SLOT(printList()),true);
- mPopupMenu->insertSeparator();
#endif
mCalPopup = new QPopupMenu ( this );
- mPopupMenu->insertItem( i18n("Set Calendar"), mCalPopup );
+ selPopup->insertItem( i18n("Set Calendar"), mCalPopup );
+ selPopup->insertItem(i18n("Set categories")+"...",this,
+ SLOT(setCat()) );
+ selPopup->insertItem( i18n("Set alarm..."),this,
+ SLOT(setAlarm()));
+#if 0
mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
i18n("Set categories")+"...",this,
SLOT(setCat()),true);
mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
i18n("Set alarm..."),this,
SLOT(setAlarm()),true);
+#endif
QObject::connect(mCalPopup,SIGNAL(aboutToShow()),this,
SLOT( populateCalPopup() ));
QObject::connect(mCalPopup,SIGNAL(activated( int )),this,
@@ -327,7 +333,7 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
QObject::connect(mPopupMenu,SIGNAL(categoryChanged( Incidence * )),this,
SLOT( catChanged( Incidence * ) ));
QPopupMenu * exportPO = new QPopupMenu ( this );
- mPopupMenu->insertItem( i18n("Export"), exportPO );
+ selPopup->insertItem( i18n("Export"), exportPO );
exportPO->insertItem( i18n("As iCal (ics) file..."),this,
SLOT(saveToFile()));
exportPO->insertItem( i18n("As vCal (vcs) file..."),this,
@@ -340,11 +346,15 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
// SLOT(addCat()),true);
//mPopupMenu->insertSeparator();
#ifndef DESKTOP_VERSION
- mPopupMenu->insertSeparator();
+ selPopup->insertSeparator();
+ selPopup->insertItem( i18n("Beam via IR"),this,
+ SLOT(beamSelected()));
+#if 0
mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
i18n("Beam via IR"),this,
SLOT(beamSelected()),true);
#endif
+#endif
/*
mPopupMenu = new QPopupMenu;
mPopupMenu->insertItem(i18n("Edit Event"), this,