summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/datebook/datebook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp
index 4fbcb10..6dd8918 100644
--- a/core/pim/datebook/datebook.cpp
+++ b/core/pim/datebook/datebook.cpp
@@ -383,6 +383,13 @@ void DateBook::viewMonth() {
view(MONTH,currentDate());
}
+void DateBook::insertEvent( const Event &e )
+{
+ qWarning("Adding Event!");
+ db->addEvent(e);
+ emit newEvent();
+}
+
void DateBook::duplicateEvent( const Event &e )
{
qWarning("Hmmm...");