summaryrefslogtreecommitdiffstats
path: root/libkcal/dndfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/dndfactory.h')
-rw-r--r--libkcal/dndfactory.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libkcal/dndfactory.h b/libkcal/dndfactory.h
index 441a0a405..a8712f2b8 100644
--- a/libkcal/dndfactory.h
+++ b/libkcal/dndfactory.h
@@ -43,6 +43,7 @@ class LIBKCAL_EXPORT DndFactory
{
public:
DndFactory( Calendar * );
+ ~DndFactory();
/**
Create a drag object.
@@ -58,9 +59,20 @@ class LIBKCAL_EXPORT DndFactory
void cutIncidence( Incidence * );
/** copy the incidence to clipboard */
bool copyIncidence( Incidence * );
+
+ /** cuts a list of incidences to the clipboard */
+ bool cutIncidences( const Incidence::List &incidences );
+
+ /** copies a list of incidences to the clipboard */
+ bool copyIncidences( const Incidence::List &incidences );
+
/** pastes the event or todo and returns a pointer to the new incidence pasted. */
Incidence *pasteIncidence( const TQDate &, const TQTime *newTime = 0 );
+ /** pastes and returns the incidences from the clipboard
+ If no date and time are given, the incidences will be pasted at their original time */
+ Incidence::List pasteIncidences( const TQDate &newDate = TQDate(), const TQTime *newTime = 0 );
+
private:
Calendar *mCalendar;