• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kmail

  • sources
  • kde-4.14
  • kdepim
  • kmail
  • followupreminder
followupremindercreatejob.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2014-2015 Montel Laurent <montel@kde.org>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef FOLLOWUPREMINDERCREATEJOB_H
19 #define FOLLOWUPREMINDERCREATEJOB_H
20 
21 #include <QObject>
22 #include <QDate>
23 #include <Akonadi/Item>
24 #include <Akonadi/Collection>
25 #include "agents/followupreminderagent/followupreminderinfo.h"
26 #include <KJob>
27 
28 class FollowupReminderCreateJob : public KJob
29 {
30  Q_OBJECT
31 public:
32  explicit FollowupReminderCreateJob(QObject *parent=0);
33  ~FollowupReminderCreateJob();
34 
35  void setFollowUpReminderDate(const QDate &date);
36 
37  void setOriginalMessageItemId(Akonadi::Item::Id value);
38 
39  void setMessageId(const QString &messageId);
40 
41  void setTo(const QString &to);
42 
43  void setSubject(const QString &subject);
44 
45  void setCollectionToDo(const Akonadi::Collection &collection);
46 
47  void start();
48 
49 private Q_SLOTS:
50  void slotCreateNewTodo(KJob *job);
51 private:
52  void writeFollowupReminderInfo();
53  Akonadi::Collection mCollection;
54  FollowUpReminder::FollowUpReminderInfo *mInfo;
55 
56 };
57 
58 
59 
60 #endif // FOLLOWUPREMINDERCREATEJOB_H
61 
FollowupReminderCreateJob::setOriginalMessageItemId
void setOriginalMessageItemId(Akonadi::Item::Id value)
Definition: followupremindercreatejob.cpp:43
FollowupReminderCreateJob::FollowupReminderCreateJob
FollowupReminderCreateJob(QObject *parent=0)
Definition: followupremindercreatejob.cpp:26
date
time_t date() const
FollowupReminderCreateJob::setSubject
void setSubject(const QString &subject)
Definition: followupremindercreatejob.cpp:58
messageId
QString messageId() const
FollowupReminderCreateJob::~FollowupReminderCreateJob
~FollowupReminderCreateJob()
Definition: followupremindercreatejob.cpp:33
QObject
FollowupReminderCreateJob::setFollowUpReminderDate
void setFollowUpReminderDate(const QDate &date)
Definition: followupremindercreatejob.cpp:38
to
QString to() const
subject
QString subject() const
QDate
QString
FollowupReminderCreateJob::start
void start()
Definition: followupremindercreatejob.cpp:68
FollowupReminderCreateJob::setMessageId
void setMessageId(const QString &messageId)
Definition: followupremindercreatejob.cpp:48
FollowupReminderCreateJob::setCollectionToDo
void setCollectionToDo(const Akonadi::Collection &collection)
Definition: followupremindercreatejob.cpp:63
FollowupReminderCreateJob
Definition: followupremindercreatejob.h:28
KJob
FollowupReminderCreateJob::setTo
void setTo(const QString &to)
Definition: followupremindercreatejob.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal