kpilot/kpilot
todoEditor.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _KPILOT_TODOEDITOR_H
00031 #define _KPILOT_TODOEDITOR_H
00032
00033 #include <kdialogbase.h>
00034
00035 class PilotTodoEntry;
00036 struct ToDoAppInfo;
00037
00038 class QComboBox;
00039 class QTextEdit;
00040 class QCheckBox;
00041 class KDateWidget;
00042 class TodoEditorBase;
00043
00044 class TodoEditor : public KDialogBase
00045 {
00046 Q_OBJECT
00047
00048
00049 public:
00050 TodoEditor(PilotTodoEntry *todo,
00051 struct ToDoAppInfo *appInfo,
00052 QWidget *parent, const char *name=0L);
00053 ~TodoEditor();
00054
00055
00056 signals:
00057 void recordChangeComplete ( PilotTodoEntry* );
00058
00059 public slots:
00060 void slotOk();
00061 void slotCancel();
00062 void updateRecord(PilotTodoEntry *);
00063
00064 private:
00065 TodoEditorBase*fWidget;
00066 bool fDeleteOnCancel;
00067
00068 PilotTodoEntry* fTodo;
00069 struct ToDoAppInfo *fAppInfo;
00070
00071 void fillFields();
00072 };
00073 #endif
00074
|