author | zautrix <zautrix> | 2005-07-04 14:29:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 14:29:18 (UTC) |
commit | 7221ff029af217ae703e8217333bd9b170203181 (patch) (unidiff) | |
tree | f294b7f4c0235858868c2a44f70b3014b7c53aab /korganizer/journalentry.h | |
parent | 172078c08cd183e9f7ec913a9bf42426e3585b78 (diff) | |
download | kdepimpi-7221ff029af217ae703e8217333bd9b170203181.zip kdepimpi-7221ff029af217ae703e8217333bd9b170203181.tar.gz kdepimpi-7221ff029af217ae703e8217333bd9b170203181.tar.bz2 |
box
-rw-r--r-- | korganizer/journalentry.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h index cc9b5ef..fb19fb1 100644 --- a/korganizer/journalentry.h +++ b/korganizer/journalentry.h | |||
@@ -23,24 +23,25 @@ | |||
23 | #ifndef JOURNALENTRY_H | 23 | #ifndef JOURNALENTRY_H |
24 | #define JOURNALENTRY_H | 24 | #define JOURNALENTRY_H |
25 | // | 25 | // |
26 | // Widget showing one Journal entry | 26 | // Widget showing one Journal entry |
27 | 27 | ||
28 | #include <qframe.h> | 28 | #include <qframe.h> |
29 | 29 | ||
30 | #include <libkcal/calendar.h> | 30 | #include <libkcal/calendar.h> |
31 | 31 | ||
32 | class QLabel; | 32 | class QLabel; |
33 | class KTextEdit; | 33 | class KTextEdit; |
34 | class KLineEdit; | 34 | class KLineEdit; |
35 | class KOLocationBox; | ||
35 | 36 | ||
36 | using namespace KCal; | 37 | using namespace KCal; |
37 | 38 | ||
38 | class JournalEntry : public QFrame { | 39 | class JournalEntry : public QFrame { |
39 | Q_OBJECT | 40 | Q_OBJECT |
40 | public: | 41 | public: |
41 | JournalEntry(Calendar *,QWidget *parent); | 42 | JournalEntry(Calendar *,QWidget *parent); |
42 | virtual ~JournalEntry(); | 43 | virtual ~JournalEntry(); |
43 | 44 | ||
44 | void setJournal(Journal *); | 45 | void setJournal(Journal *); |
45 | Journal *journal() const; | 46 | Journal *journal() const; |
46 | 47 | ||
@@ -67,18 +68,18 @@ class JournalEntry : public QFrame { | |||
67 | bool eventFilter( QObject *o, QEvent *e ); | 68 | bool eventFilter( QObject *o, QEvent *e ); |
68 | 69 | ||
69 | void writeJournal(); | 70 | void writeJournal(); |
70 | 71 | ||
71 | private: | 72 | private: |
72 | bool visibleMode; | 73 | bool visibleMode; |
73 | bool showOnlyMode; | 74 | bool showOnlyMode; |
74 | Calendar *mCalendar; | 75 | Calendar *mCalendar; |
75 | Journal *mJournal; | 76 | Journal *mJournal; |
76 | QDate mDate; | 77 | QDate mDate; |
77 | void keyPressEvent ( QKeyEvent * ) ; | 78 | void keyPressEvent ( QKeyEvent * ) ; |
78 | QLabel *mTitleLabel; | 79 | QLabel *mTitleLabel; |
79 | KLineEdit * mTitle; | 80 | KOLocationBox * mTitle; |
80 | KTextEdit *mEditor; | 81 | KTextEdit *mEditor; |
81 | int heiHint; | 82 | int heiHint; |
82 | }; | 83 | }; |
83 | 84 | ||
84 | #endif | 85 | #endif |