From 5ab00b78b199b1a03d3f27faa8b1dcffd9a86ff7 Mon Sep 17 00:00:00 2001 From: drw Date: Mon, 07 Mar 2005 16:52:17 +0000 Subject: Use popup menu for edit, duplicate, delete and beam in week list view - patch courtesy of Thomas Schnetzer --- (limited to 'core/pim/datebook/datebook.cpp') diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 0a47bb8..a18a5b4 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp @@ -563,6 +563,9 @@ void DateBook::initWeekLst() { this, SLOT( slotNewEntry(const QDateTime&,const QDateTime&,const QString&, const QString&) ) ); connect( this, SIGNAL( newEvent() ), weekLstView, SLOT( redraw() ) ); connect( weekLstView, SIGNAL( editEvent(const Event&) ), this, SLOT( editEvent(const Event&) ) ); + connect( weekLstView, SIGNAL( duplicateEvent( const Event & ) ), this, SLOT( duplicateEvent( const Event & ) ) ); + connect( weekLstView, SIGNAL( beamEvent(const Event&) ), this, SLOT( beamEvent(const Event&) ) ); + connect( weekLstView, SIGNAL( removeEvent( const Event & ) ), this, SLOT( removeEvent( const Event & ) ) ); } } -- cgit v0.9.0.2