-rw-r--r-- | korganizer/journalentry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h index b0e9cc7..b37cabd 100644 --- a/korganizer/journalentry.h +++ b/korganizer/journalentry.h @@ -28,12 +28,13 @@ #include <qframe.h> #include <libkcal/calendar.h> class QLabel; class KTextEdit; +class KLineEdit; using namespace KCal; class JournalEntry : public QFrame { Q_OBJECT public: @@ -45,13 +46,13 @@ class JournalEntry : public QFrame { void setDate(const QDate &); void clear(); void flushEntry(); - void setShowOnly() {showOnlyMode = true;} + void setShowOnly(); QSize sizeHint() const; protected slots: void slotSaveTemplate(); void slotLoadTemplate(); void setDirty(); @@ -70,12 +71,13 @@ class JournalEntry : public QFrame { bool showOnlyMode; Calendar *mCalendar; Journal *mJournal; QDate mDate; void keyPressEvent ( QKeyEvent * ) ; QLabel *mTitleLabel; + KLineEdit * mTitle; KTextEdit *mEditor; int heiHint; bool mDirty; }; |