author | zautrix <zautrix> | 2005-07-02 17:31:20 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-02 17:31:20 (UTC) |
commit | 0233482f5f4baf7a0af45229b02c5deaab17a412 (patch) (unidiff) | |
tree | f22927da2ae116c53dc87026ce60b56704309e56 /korganizer/kolistview.cpp | |
parent | 78866028c185f4227bfb653ee2050d7feb2e2b78 (diff) | |
download | kdepimpi-0233482f5f4baf7a0af45229b02c5deaab17a412.zip kdepimpi-0233482f5f4baf7a0af45229b02c5deaab17a412.tar.gz kdepimpi-0233482f5f4baf7a0af45229b02c5deaab17a412.tar.bz2 |
mv warnings removed
-rw-r--r-- | korganizer/kolistview.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 1b4397f..db3f802 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -324,6 +324,8 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, | |||
324 | SLOT( populateCalPopup() )); | 324 | SLOT( populateCalPopup() )); |
325 | QObject::connect(mCalPopup,SIGNAL(activated( int )),this, | 325 | QObject::connect(mCalPopup,SIGNAL(activated( int )),this, |
326 | SLOT( setCalendar( int ) )); | 326 | SLOT( setCalendar( int ) )); |
327 | QObject::connect(mPopupMenu,SIGNAL(categoryChanged( Incidence * )),this, | ||
328 | SLOT( catChanged( Incidence * ) )); | ||
327 | QPopupMenu * exportPO = new QPopupMenu ( this ); | 329 | QPopupMenu * exportPO = new QPopupMenu ( this ); |
328 | mPopupMenu->insertItem( i18n("Export"), exportPO ); | 330 | mPopupMenu->insertItem( i18n("Export"), exportPO ); |
329 | exportPO->insertItem( i18n("As iCal (ics) file..."),this, | 331 | exportPO->insertItem( i18n("As iCal (ics) file..."),this, |
@@ -380,6 +382,14 @@ KOListView::~KOListView() | |||
380 | #endif | 382 | #endif |
381 | } | 383 | } |
382 | 384 | ||
385 | void KOListView::catChanged( Incidence* inc) | ||
386 | { | ||
387 | KOListViewItem* item = getItemForEvent(inc); | ||
388 | if (item) { | ||
389 | ListItemVisitor v(item, mStartDate ); | ||
390 | inc->accept(v); | ||
391 | } | ||
392 | } | ||
383 | QString KOListView::getWhatsThisText(QPoint p) | 393 | QString KOListView::getWhatsThisText(QPoint p) |
384 | { | 394 | { |
385 | KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p ); | 395 | KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p ); |