author | zautrix <zautrix> | 2005-06-30 05:32:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-30 05:32:10 (UTC) |
commit | da264cf19c0183d6ea4e8dab6eabd40994e351c8 (patch) (unidiff) | |
tree | 061026fe6869c365641853b1ebba542b852046bc /korganizer/journalentry.h | |
parent | 4e850fa7aa99f92676e49466cfccaa5d5e0ec24c (diff) | |
download | kdepimpi-da264cf19c0183d6ea4e8dab6eabd40994e351c8.zip kdepimpi-da264cf19c0183d6ea4e8dab6eabd40994e351c8.tar.gz kdepimpi-da264cf19c0183d6ea4e8dab6eabd40994e351c8.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/journalentry.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h index b37cabd..f2db785 100644 --- a/korganizer/journalentry.h +++ b/korganizer/journalentry.h | |||
@@ -34,51 +34,48 @@ class KTextEdit; | |||
34 | class KLineEdit; | 34 | class KLineEdit; |
35 | 35 | ||
36 | using namespace KCal; | 36 | using namespace KCal; |
37 | 37 | ||
38 | class JournalEntry : public QFrame { | 38 | class JournalEntry : public QFrame { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | public: | 40 | public: |
41 | JournalEntry(Calendar *,QWidget *parent); | 41 | JournalEntry(Calendar *,QWidget *parent); |
42 | virtual ~JournalEntry(); | 42 | virtual ~JournalEntry(); |
43 | 43 | ||
44 | void setJournal(Journal *); | 44 | void setJournal(Journal *); |
45 | Journal *journal() const; | 45 | Journal *journal() const; |
46 | 46 | ||
47 | void setDate(const QDate &); | 47 | void setDate(const QDate &); |
48 | 48 | ||
49 | void clear(); | 49 | void clear(); |
50 | 50 | ||
51 | void flushEntry(); | 51 | void flushEntry(); |
52 | void setShowOnly(); | 52 | void setShowOnly(); |
53 | QSize sizeHint() const; | 53 | QSize sizeHint() const; |
54 | 54 | ||
55 | protected slots: | 55 | protected slots: |
56 | void slotSaveTemplate(); | 56 | void slotSaveTemplate(); |
57 | void slotLoadTemplate(); | 57 | void slotLoadTemplate(); |
58 | void setDirty(); | ||
59 | void toggleShowJournal(); | 58 | void toggleShowJournal(); |
60 | signals: | 59 | signals: |
61 | void deleteJournal(Journal *); | 60 | void deleteJournal(Journal *); |
62 | void newJournal(); | 61 | void newJournal(); |
63 | void showJournalOnly( Journal * ); | 62 | void showJournalOnly( Journal * ); |
64 | 63 | ||
65 | protected: | 64 | protected: |
66 | bool eventFilter( QObject *o, QEvent *e ); | 65 | bool eventFilter( QObject *o, QEvent *e ); |
67 | 66 | ||
68 | void writeJournal(); | 67 | void writeJournal(); |
69 | 68 | ||
70 | private: | 69 | private: |
71 | bool showOnlyMode; | 70 | bool showOnlyMode; |
72 | Calendar *mCalendar; | 71 | Calendar *mCalendar; |
73 | Journal *mJournal; | 72 | Journal *mJournal; |
74 | QDate mDate; | 73 | QDate mDate; |
75 | void keyPressEvent ( QKeyEvent * ) ; | 74 | void keyPressEvent ( QKeyEvent * ) ; |
76 | QLabel *mTitleLabel; | 75 | QLabel *mTitleLabel; |
77 | KLineEdit * mTitle; | 76 | KLineEdit * mTitle; |
78 | KTextEdit *mEditor; | 77 | KTextEdit *mEditor; |
79 | int heiHint; | 78 | int heiHint; |
80 | |||
81 | bool mDirty; | ||
82 | }; | 79 | }; |
83 | 80 | ||
84 | #endif | 81 | #endif |