Diffstat (limited to 'korganizer/koeditorgeneral.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeditorgeneral.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/korganizer/koeditorgeneral.h b/korganizer/koeditorgeneral.h index b10a5d4..45f26fd 100644 --- a/korganizer/koeditorgeneral.h +++ b/korganizer/koeditorgeneral.h | |||
@@ -18,29 +18,30 @@ | |||
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef KOEDITORGENERAL_H | 23 | #ifndef KOEDITORGENERAL_H |
24 | #define KOEDITORGENERAL_H | 24 | #define KOEDITORGENERAL_H |
25 | 25 | ||
26 | #include <qframe.h> | 26 | #include <q3frame.h> |
27 | #include <qlabel.h> | 27 | #include <qlabel.h> |
28 | #include <qcheckbox.h> | 28 | #include <qcheckbox.h> |
29 | #include <qpushbutton.h> | 29 | #include <qpushbutton.h> |
30 | #include <qpopupmenu.h> | 30 | #include <q3popupmenu.h> |
31 | #include <qgroupbox.h> | 31 | #include <q3groupbox.h> |
32 | #include <qlineedit.h> | 32 | #include <qlineedit.h> |
33 | #include <qcombobox.h> | 33 | #include <qcombobox.h> |
34 | #include <qlistview.h> | 34 | #include <q3listview.h> |
35 | #include <qradiobutton.h> | 35 | #include <qradiobutton.h> |
36 | #include <qlayout.h> | 36 | #include <qlayout.h> |
37 | #include <qspinbox.h> | 37 | #include <qspinbox.h> |
38 | #include <qcombobox.h> | 38 | #include <qcombobox.h> |
39 | #include <Q3BoxLayout> | ||
39 | 40 | ||
40 | #include <ktextedit.h> | 41 | #include <ktextedit.h> |
41 | #include <krestrictedline.h> | 42 | #include <krestrictedline.h> |
42 | 43 | ||
43 | #include <libkcal/incidence.h> | 44 | #include <libkcal/incidence.h> |
44 | 45 | ||
45 | #include "ktimeedit.h" | 46 | #include "ktimeedit.h" |
46 | 47 | ||
@@ -50,21 +51,21 @@ using namespace KCal; | |||
50 | 51 | ||
51 | class KOEditorGeneral : public QObject | 52 | class KOEditorGeneral : public QObject |
52 | { | 53 | { |
53 | Q_OBJECT | 54 | Q_OBJECT |
54 | public: | 55 | public: |
55 | KOEditorGeneral (QObject* parent=0,const char* name=0); | 56 | KOEditorGeneral (QObject* parent=0,const char* name=0); |
56 | virtual ~KOEditorGeneral(); | 57 | virtual ~KOEditorGeneral(); |
57 | void setFocusOn( int i ); | 58 | void setFocusOn( int i ); |
58 | void initHeader(QWidget *,QBoxLayout *); | 59 | void initHeader(QWidget *,Q3BoxLayout *); |
59 | void initDescription(QWidget *,QBoxLayout *); | 60 | void initDescription(QWidget *,Q3BoxLayout *); |
60 | void initSecrecy(QWidget *,QBoxLayout *); | 61 | void initSecrecy(QWidget *,Q3BoxLayout *); |
61 | void initCategories(QWidget *,QBoxLayout *); | 62 | void initCategories(QWidget *,Q3BoxLayout *); |
62 | void initAlarm(QWidget *,QBoxLayout *); | 63 | void initAlarm(QWidget *,Q3BoxLayout *); |
63 | 64 | ||
64 | /** Set widgets to default values */ | 65 | /** Set widgets to default values */ |
65 | void setDefaults(bool allDay); | 66 | void setDefaults(bool allDay); |
66 | /** Read event object and setup widgets accordingly */ | 67 | /** Read event object and setup widgets accordingly */ |
67 | void readIncidence(Incidence *); | 68 | void readIncidence(Incidence *); |
68 | /** Write event settings to event object */ | 69 | /** Write event settings to event object */ |
69 | void writeIncidence(Incidence *); | 70 | void writeIncidence(Incidence *); |
70 | 71 | ||
@@ -110,16 +111,16 @@ class KOEditorGeneral : public QObject | |||
110 | KTextEdit *mDescriptionEdit; | 111 | KTextEdit *mDescriptionEdit; |
111 | QLabel *mOwnerLabel; | 112 | QLabel *mOwnerLabel; |
112 | QComboBox *mSecrecyCombo; | 113 | QComboBox *mSecrecyCombo; |
113 | QCheckBox *mCancelBox; | 114 | QCheckBox *mCancelBox; |
114 | QPushButton *mCategoriesButton; | 115 | QPushButton *mCategoriesButton; |
115 | QPushButton *mCategoriesLabel; | 116 | QPushButton *mCategoriesLabel; |
116 | 117 | ||
117 | private: | 118 | private: |
118 | QPopupMenu * mCatPopup; | 119 | Q3PopupMenu * mCatPopup; |
119 | QString getFittingPath( const QString &) ; | 120 | QString getFittingPath( const QString &) ; |
120 | QString mAlarmSound; | 121 | QString mAlarmSound; |
121 | QString mAlarmProgram; | 122 | QString mAlarmProgram; |
122 | QString mAlarmMessage; | 123 | QString mAlarmMessage; |
123 | }; | 124 | }; |
124 | 125 | ||
125 | #endif | 126 | #endif |