Incidenceeditor
incidencedefaults.cpp
57 [[nodiscard]] KCalendarCore::Attendee organizerAsAttendee(const KCalendarCore::Person &organizer) const;
112KCalendarCore::Attendee IncidenceDefaultsPrivate::organizerAsAttendee(const KCalendarCore::Person &organizer) const
145 const int defaultDuration = (defaultDurationTime.hour() * 3600) + (defaultDurationTime.minute() * 60);
209 } else if (relatedTodo && relatedTodo->hasStartDate() && relatedTodo->dtStart() <= todo->dtDue()) {
224 // So don't be smart and try to guess a good default priority for the user, just use unspecified.
324 d->mAttendees << KCalendarCore::Attendee(name, email, true, KCalendarCore::Attendee::NeedsAction);
430 defaults.setGroupWareDomain(QUrl(Akonadi::CalendarSettings::self()->freeBusyRetrieveUrl()).host());
void setAttendees(const QStringList &attendees)
Sets the attendees that are added by default to incidences.
Definition incidencedefaults.cpp:315
void setFullEmails(const QStringList &fullEmails)
Sets the list of identities to be used for the user.
Definition incidencedefaults.cpp:328
static IncidenceDefaults minimalIncidenceDefaults(bool cleanupAttachmentTempFiles=false)
Returns minimal incidence defaults: e-mails and groupware domain.
Definition incidencedefaults.cpp:416
void setGroupWareDomain(const QString &domain)
This is used to do a smarter guess about which identity to use for the organizer.
Definition incidencedefaults.cpp:334
void setStartDateTime(const QDateTime &startDT)
Set the start date/time to use for passed incidences.
Definition incidencedefaults.cpp:346
IncidenceDefaults(bool cleanupAttachmentTEmporaryFiles=false)
IncidenceDefaults.
Definition incidencedefaults.cpp:234
void setEndDateTime(const QDateTime &endDT)
Set the end date/time to use for passed incidences.
Definition incidencedefaults.cpp:352
void setDefaults(const KCalendarCore::Incidence::Ptr &incidence) const
Sets the default values for.
Definition incidencedefaults.cpp:358
void setAttachments(const QStringList &attachments, const QStringList &attachmentMimetypes=QStringList(), const QStringList &attachmentLabels=QStringList(), bool inlineAttachment=false)
Sets the attachments that are added by default to incidences.
Definition incidencedefaults.cpp:256
void setRelatedIncidence(const KCalendarCore::Incidence::Ptr &incidence)
Sets the incidence related to the incidence for which to set the defaults.
Definition incidencedefaults.cpp:340
bool isEmpty() const
QString uri() const
bool isUri() const
QString label() const
void setShowInline(bool showinline)
void setLabel(const QString &label)
void setStatus(PartStat status)
ReqParticipant
void setName(const QString &name)
void setRole(Role role)
NeedsAction
void setEmail(const QString &email)
TypeJournal
StatusNone
SecrecyPublic
QString email() const
QString name() const
void setEmail(const QString &email)
void setName(const QString &name)
static void parseEmailAddress(const QString &rawEmail, QString &fullName, QString &email)
KCODECS_EXPORT bool extractEmailAddressAndName(const QString &aStr, QString &mail, QString &name)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
AKONADI_CALENDAR_EXPORT KCalendarCore::Journal::Ptr journal(const Akonadi::Item &item)
AKONADI_CALENDAR_EXPORT KCalendarCore::Todo::Ptr todo(const Akonadi::Item &item)
KIOCORE_EXPORT StoredTransferJob * storedGet(const QUrl &url, LoadType reload=NoReload, JobFlags flags=DefaultFlags)
bool isValid(QStringView ifopt)
QString name(StandardAction id)
char * data()
QByteArray toBase64(Base64Options options) const const
QDateTime addDays(qint64 ndays) const const
QDateTime addSecs(qint64 s) const const
QDateTime currentDateTime()
bool isValid() const const
void setTime(QTime time)
void setTimeZone(const QTimeZone &toZone)
Qt::TimeSpec timeSpec() const const
QDateTime toTimeZone(const QTimeZone &timeZone) const const
bool remove()
ConstIterator
iterator begin()
const_iterator constBegin() const const
const_iterator constEnd() const const
qsizetype count() const const
iterator end()
bool isEmpty() const const
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
LocalTime
int hour() const const
int minute() const const
QTimeZone systemTimeZone()
QUrl fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.