summaryrefslogtreecommitdiffabout
path: root/korganizer/kolistview.cpp
Unidiff
Diffstat (limited to 'korganizer/kolistview.cpp') (more/less context) (show 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
@@ -306,4 +306,5 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
306 306
307 mPopupMenu->insertSeparator(); 307 selPopup->insertSeparator();
308#ifdef DESKTOP_VERSION 308#ifdef DESKTOP_VERSION
309 mPopupMenu->insertSeparator();
309 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 310 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
@@ -311,7 +312,11 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
311 SLOT(printList()),true); 312 SLOT(printList()),true);
312 mPopupMenu->insertSeparator();
313#endif 313#endif
314 mCalPopup = new QPopupMenu ( this ); 314 mCalPopup = new QPopupMenu ( this );
315 mPopupMenu->insertItem( i18n("Set Calendar"), mCalPopup ); 315 selPopup->insertItem( i18n("Set Calendar"), mCalPopup );
316 316
317 selPopup->insertItem(i18n("Set categories")+"...",this,
318 SLOT(setCat()) );
319 selPopup->insertItem( i18n("Set alarm..."),this,
320 SLOT(setAlarm()));
321#if 0
317 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 322 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
@@ -322,2 +327,3 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
322 SLOT(setAlarm()),true); 327 SLOT(setAlarm()),true);
328#endif
323 QObject::connect(mCalPopup,SIGNAL(aboutToShow()),this, 329 QObject::connect(mCalPopup,SIGNAL(aboutToShow()),this,
@@ -329,3 +335,3 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
329 QPopupMenu * exportPO = new QPopupMenu ( this ); 335 QPopupMenu * exportPO = new QPopupMenu ( this );
330 mPopupMenu->insertItem( i18n("Export"), exportPO ); 336 selPopup->insertItem( i18n("Export"), exportPO );
331 exportPO->insertItem( i18n("As iCal (ics) file..."),this, 337 exportPO->insertItem( i18n("As iCal (ics) file..."),this,
@@ -342,3 +348,6 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
342#ifndef DESKTOP_VERSION 348#ifndef DESKTOP_VERSION
343 mPopupMenu->insertSeparator(); 349 selPopup->insertSeparator();
350 selPopup->insertItem( i18n("Beam via IR"),this,
351 SLOT(beamSelected()));
352#if 0
344 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 353 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
@@ -347,2 +356,3 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
347#endif 356#endif
357#endif
348 /* 358 /*