kalarm
KAlarm Namespace Reference
Enumerations | |
enum | FileType { Unknown, TextPlain, TextFormatted, TextApplication, Image } |
enum | UpdateStatus { UPDATE_OK, UPDATE_KORG_ERR, UPDATE_ERROR, UPDATE_FAILED, SAVE_FAILED } |
enum | UpdateError { ERR_ADD, ERR_DELETE, ERR_REACTIVATE, ERR_TEMPLATE } |
enum | KOrgUpdateError { KORG_ERR_ADD, KORG_ERR_MODIFY, KORG_ERR_DELETE } |
Functions | |
MainWindow * | displayMainWindowSelected (const QString &eventID=QString::null) |
KAction * | createNewAlarmAction (const QString &label, QObject *receiver, const char *slot, KActionCollection *, const char *name) |
TemplateMenuAction * | createNewFromTemplateAction (const QString &label, QObject *receiver, const char *slot, KActionCollection *, const char *name) |
UpdateStatus | addEvent (KAEvent &event, AlarmListView *selectionView, QWidget *errmsgParent, bool useEventID, bool allowKOrgUpdate) |
bool | addExpiredEvent (KAEvent &event) |
UpdateStatus | addTemplate (KAEvent &event, TemplateListView *selectionView, QWidget *errmsgParent) |
UpdateStatus | modifyEvent (KAEvent &oldEvent, const KAEvent &newEvent, AlarmListView *selectionView, QWidget *errmsgParent) |
UpdateStatus | updateEvent (KAEvent &event, AlarmListView *selectionView, QWidget *errmsgParent, bool archiveOnDelete, bool incRevision) |
UpdateStatus | updateTemplate (const KAEvent &event, TemplateListView *selectionView, QWidget *errmsgParent) |
UpdateStatus | deleteEvent (KAEvent &event, bool archive, QWidget *errmsgParent) |
UpdateStatus | deleteTemplate (const KAEvent &event) |
void | deleteDisplayEvent (const QString &eventID) |
UpdateStatus | reactivateEvent (KAEvent &event, AlarmListView *selectionView, bool useEventID) |
UpdateStatus | enableEvent (KAEvent &event, AlarmListView *selectionView, bool enable) |
void | displayUpdateError (QWidget *parent, UpdateStatus, UpdateError code, int nAlarms) |
void | displayKOrgUpdateError (QWidget *parent, KOrgUpdateError code, int nAlarms) |
bool | edit (const QString &eventID) |
bool | editNew (const QString &templateName) |
QValueList< KAEvent > | templateList () |
void | outputAlarmWarnings (QWidget *parent, const KAEvent *event) |
void | resetDaemon () |
void | resetDaemonIfQueued () |
QString | runKMail (bool minimise) |
bool | runProgram (const QCString &program, const QCString &windowName, QCString &dcopName, QString &errorMessage) |
bool | readConfigWindowSize (const char *window, QSize &result) |
void | writeConfigWindowSize (const char *window, const QSize &size) |
int | Version () |
int | getVersionNumber (const QString &version, QString *subVersion) |
FileType | fileType (const QString &mimetype) |
QString | browseFile (const QString &caption, QString &defaultDir, const QString &initialFile, const QString &filter, int mode, QWidget *parent, const char *name) |
int | localeFirstDayOfWeek () |
QString | stripAccel (const QString &text) |
int | Version (int major, int minor, int rev) |
int | currentCalendarVersion () |
QString | currentCalendarVersionString () |
int | weekDay_to_localeDayInWeek (int weekDay) |
int | localeDayInWeek_to_weekDay (int index) |
Enumeration Type Documentation
|
Return codes from fileType().
Definition at line 47 of file functions.h. |
|
Error codes supplied as parameter to displayKOrgUpdateError().
Definition at line 61 of file functions.h. |
|
Error codes supplied as parameter to displayUpdateError().
Definition at line 59 of file functions.h. |
|
Return codes from calendar update functions. The codes are ordered by severity. Definition at line 51 of file functions.h. |
Function Documentation
|
Create a "New Alarm" KAction.
Definition at line 110 of file functions.cpp. |
|
Create a "New From Template" KAction.
Definition at line 118 of file functions.cpp. |
|
Return which version of KAlarm was the first to use the current calendar/event format.
Definition at line 77 of file functions.h. |
|
Display a main window with the specified event selected.
Definition at line 80 of file functions.cpp. |
|
Check from its mime type whether a file appears to be a text or image file. If a text file, its type is distinguished. Definition at line 827 of file functions.cpp. |
|
Returns a list of all alarm templates. If shell commands are disabled, command alarm templates are omitted. Definition at line 605 of file functions.cpp. |
|
Return current KAlarm version number.
Definition at line 774 of file functions.cpp. |