Git commit 251713006ef0fa090843eb1080972d314cacd1fe by Alex Fiestas. Committed on 17/05/2012 at 18:08. Pushed by mklapetek into branch 'master'. Implement a slot from where start the job M +5 -0 jobs/ocreatecalendar.cpp M +3 -0 jobs/ocreatecalendar.h http://commits.kde.org/kaccounts-providers/251713006ef0fa090843eb1080972d31= 4cacd1fe diff --git a/jobs/ocreatecalendar.cpp b/jobs/ocreatecalendar.cpp index 8a59270..39264d7 100644 --- a/jobs/ocreatecalendar.cpp +++ b/jobs/ocreatecalendar.cpp @@ -34,6 +34,11 @@ void OCreateCalendar::start() OCreateContact::start(); } = +void OCreateCalendar::startByContact() +{ + start(); +} + const QString OCreateCalendar::davUrl() { KUrl url(m_config.readEntry("server", "")); diff --git a/jobs/ocreatecalendar.h b/jobs/ocreatecalendar.h index 8c69450..a8ca0da 100644 --- a/jobs/ocreatecalendar.h +++ b/jobs/ocreatecalendar.h @@ -30,6 +30,9 @@ class OCreateCalendar : public OCreateContact = virtual void start(); = + public Q_SLOTS: + void startByContact(); + protected: virtual const QString davUrl(); };