summaryrefslogtreecommitdiffabout
path: root/korganizer/journalentry.h
Side-by-side diff
Diffstat (limited to 'korganizer/journalentry.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/journalentry.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h
index fb19fb1..ed04b7c 100644
--- a/korganizer/journalentry.h
+++ b/korganizer/journalentry.h
@@ -31,6 +31,7 @@
class QLabel;
class KTextEdit;
+class QComboBox;
class KLineEdit;
class KOLocationBox;
@@ -42,7 +43,7 @@ class JournalEntry : public QFrame {
JournalEntry(Calendar *,QWidget *parent);
virtual ~JournalEntry();
- void setJournal(Journal *);
+ void setJournal(Journal *, bool saveJournal = true );
Journal *journal() const;
void setDate(const QDate &);
@@ -53,7 +54,7 @@ class JournalEntry : public QFrame {
void setShowOnly();
QSize sizeHint() const;
void setVisibleMode( bool b ) { visibleMode = b;}
-
+ void fillCalendar( int id = 0 );
protected slots:
void slotSaveTemplate();
void slotLoadTemplate();
@@ -76,7 +77,7 @@ class JournalEntry : public QFrame {
Journal *mJournal;
QDate mDate;
void keyPressEvent ( QKeyEvent * ) ;
- QLabel *mTitleLabel;
+ QComboBox *mCalendarBox;
KOLocationBox * mTitle;
KTextEdit *mEditor;
int heiHint;