KAlarm Library
26 #include "kalarmcal_export.h"
28 #ifndef KALARMCAL_USE_KRESOURCES
31 namespace KCal {
class Todo; }
33 #include <QtCore/QString>
72 void setText(
const QString& text);
77 void setScript(
const QString& text);
88 const QString& subject,
const QString& body,
unsigned long kmailSerialNumber = 0);
90 #ifndef KALARMCAL_USE_KRESOURCES
99 void setTodo(
const KCal::Todo* todo);
151 bool isEmpty()
const;
153 bool isEmail()
const;
155 bool isScript()
const;
162 unsigned long kmailSerialNumber()
const;
171 static QString summary(
const KAEvent& event,
int maxLines = 1,
bool* truncated = 0);
176 static bool checkIfEmail(
const QString& text);
185 static QString emailHeaders(
const QString& text,
bool subjectOnly);
193 static QString fromCalendarText(
const QString& text,
bool& email);
210 #endif // ALARMTEXT_H
Parses email, todo and script alarm texts.
KAEvent represents a KAlarm event.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:49 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.