kalarm
EditAlarmDlg Class Reference
#include <editdlg.h>

Detailed Description
Definition at line 51 of file editdlg.h.
Public Types | |
| enum | GetResourceType { RES_PROMPT, RES_USE_EVENT_ID, RES_IGNORE } |
| enum | Type { DISPLAY, COMMAND, EMAIL } |
Public Member Functions | |
| bool | getEvent (KAEvent &, AlarmResource *&) |
| virtual QSize | minimumSizeHint () const |
| virtual void | setAction (KAEvent::Action, const AlarmText &=AlarmText())=0 |
| virtual | ~EditAlarmDlg () |
Static Public Member Functions | |
| static EditAlarmDlg * | create (bool Template, const KAEvent *, bool newAlarm, QWidget *parent=0, GetResourceType=RES_PROMPT, bool readOnly=false) |
| static EditAlarmDlg * | create (bool Template, Type, bool newAlarm, QWidget *parent=0, GetResourceType=RES_PROMPT) |
| static QString | i18n_chk_ShowInKOrganizer () |
Protected Slots | |
| virtual void | slotButtonClicked (int button) |
| virtual void | slotDefault () |
| virtual void | slotTry () |
Protected Member Functions | |
| virtual bool | checkText (QString &result, bool showErrorMessage=true) const =0 |
| virtual Reminder * | createReminder (QWidget *parent) |
| bool | dateOnly () const |
| EditAlarmDlg (bool Template, const KAEvent *, QWidget *parent=0, GetResourceType=RES_PROMPT, bool readOnly=false) | |
| EditAlarmDlg (bool Template, KAEvent::Action, QWidget *parent=0, GetResourceType=RES_PROMPT) | |
| virtual int | getAlarmFlags () const |
| void | init (const KAEvent *event, bool newAlarm) |
| bool | isTemplate () const |
| bool | isTimedRecurrence () const |
| LateCancelSelector * | lateCancel () const |
| Reminder * | reminder () const |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | saveState (const KAEvent *)=0 |
| virtual void | setReadOnly (bool readOnly)=0 |
| virtual void | showEvent (QShowEvent *) |
| void | showMainPage () |
| virtual QString | type_caption (bool newAlarm) const =0 |
| virtual CheckBox * | type_createConfirmAckCheckbox (QWidget *parent) |
| virtual void | type_init (QWidget *parent, QVBoxLayout *frameLayout)=0 |
| virtual void | type_initValues (const KAEvent *)=0 |
| virtual void | type_setEvent (KAEvent &, const KDateTime &, const QString &text, int lateCancel, bool trial)=0 |
| virtual bool | type_stateChanged () const =0 |
| virtual void | type_trySuccessMessage (ShellProcess *, const QString &text)=0 |
| virtual bool | type_validate (bool trial)=0 |
Protected Attributes | |
| KAEvent::Action | mAlarmType |
Member Enumeration Documentation
| enum EditAlarmDlg::Type |
Constructor & Destructor Documentation
| EditAlarmDlg::~EditAlarmDlg | ( | ) | [virtual] |
Definition at line 412 of file editdlg.cpp.
| EditAlarmDlg::EditAlarmDlg | ( | bool | Template, | |
| KAEvent::Action | action, | |||
| QWidget * | parent = 0, |
|||
| GetResourceType | getResource = RES_PROMPT | |||
| ) | [protected] |
Definition at line 134 of file editdlg.cpp.
| EditAlarmDlg::EditAlarmDlg | ( | bool | Template, | |
| const KAEvent * | event, | |||
| QWidget * | parent = 0, |
|||
| GetResourceType | getResource = RES_PROMPT, |
|||
| bool | readOnly = false | |||
| ) | [protected] |
Definition at line 155 of file editdlg.cpp.
Member Function Documentation
| virtual bool EditAlarmDlg::checkText | ( | QString & | result, | |
| bool | showErrorMessage = true | |||
| ) | const [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| EditAlarmDlg * EditAlarmDlg::create | ( | bool | Template, | |
| const KAEvent * | event, | |||
| bool | newAlarm, | |||
| QWidget * | parent = 0, |
|||
| GetResourceType | getResource = RES_PROMPT, |
|||
| bool | readOnly = false | |||
| ) | [static] |
Definition at line 110 of file editdlg.cpp.
| EditAlarmDlg * EditAlarmDlg::create | ( | bool | Template, | |
| Type | type, | |||
| bool | newAlarm, | |||
| QWidget * | parent = 0, |
|||
| GetResourceType | getResource = RES_PROMPT | |||
| ) | [static] |
Definition at line 98 of file editdlg.cpp.
| bool EditAlarmDlg::dateOnly | ( | ) | const [protected] |
Definition at line 1175 of file editdlg.cpp.
| int EditAlarmDlg::getAlarmFlags | ( | ) | const [protected, virtual] |
Reimplemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
Definition at line 716 of file editdlg.cpp.
| bool EditAlarmDlg::getEvent | ( | KAEvent & | event, | |
| AlarmResource *& | resource | |||
| ) |
Definition at line 627 of file editdlg.cpp.
| QString EditAlarmDlg::i18n_chk_ShowInKOrganizer | ( | ) | [static] |
Definition at line 95 of file editdlg.cpp.
| void EditAlarmDlg::init | ( | const KAEvent * | event, | |
| bool | newAlarm | |||
| ) | [protected] |
Definition at line 198 of file editdlg.cpp.
| bool EditAlarmDlg::isTemplate | ( | ) | const [inline, protected] |
| bool EditAlarmDlg::isTimedRecurrence | ( | ) | const [protected] |
Definition at line 1180 of file editdlg.cpp.
| LateCancelSelector* EditAlarmDlg::lateCancel | ( | ) | const [inline, protected] |
| QSize EditAlarmDlg::minimumSizeHint | ( | ) | const [virtual] |
Definition at line 753 of file editdlg.cpp.
| Reminder* EditAlarmDlg::reminder | ( | ) | const [inline, protected] |
| void EditAlarmDlg::resizeEvent | ( | QResizeEvent * | re | ) | [protected, virtual] |
Definition at line 766 of file editdlg.cpp.
| void EditAlarmDlg::saveState | ( | const KAEvent * | event | ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
Definition at line 556 of file editdlg.cpp.
| virtual void EditAlarmDlg::setAction | ( | KAEvent::Action | , | |
| const AlarmText & | = AlarmText() | |||
| ) | [pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| void EditAlarmDlg::setReadOnly | ( | bool | readOnly | ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
Definition at line 535 of file editdlg.cpp.
| void EditAlarmDlg::showEvent | ( | QShowEvent * | se | ) | [protected, virtual] |
Definition at line 728 of file editdlg.cpp.
| void EditAlarmDlg::showMainPage | ( | ) | [protected] |
Definition at line 1185 of file editdlg.cpp.
| void EditAlarmDlg::slotButtonClicked | ( | int | button | ) | [protected, virtual, slot] |
Definition at line 780 of file editdlg.cpp.
| void EditAlarmDlg::slotDefault | ( | ) | [protected, virtual, slot] |
Definition at line 984 of file editdlg.cpp.
| void EditAlarmDlg::slotTry | ( | ) | [protected, virtual, slot] |
Definition at line 956 of file editdlg.cpp.
| virtual QString EditAlarmDlg::type_caption | ( | bool | newAlarm | ) | const [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual void EditAlarmDlg::type_init | ( | QWidget * | parent, | |
| QVBoxLayout * | frameLayout | |||
| ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual void EditAlarmDlg::type_initValues | ( | const KAEvent * | ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual void EditAlarmDlg::type_setEvent | ( | KAEvent & | , | |
| const KDateTime & | , | |||
| const QString & | text, | |||
| int | lateCancel, | |||
| bool | trial | |||
| ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual bool EditAlarmDlg::type_stateChanged | ( | ) | const [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual void EditAlarmDlg::type_trySuccessMessage | ( | ShellProcess * | , | |
| const QString & | text | |||
| ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
| virtual bool EditAlarmDlg::type_validate | ( | bool | trial | ) | [protected, pure virtual] |
Implemented in EditDisplayAlarmDlg, EditCommandAlarmDlg, and EditEmailAlarmDlg.
Member Data Documentation
KAEvent::Action EditAlarmDlg::mAlarmType [protected] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference