summaryrefslogtreecommitdiffabout
path: root/korganizer/journalentry.h
Unidiff
Diffstat (limited to 'korganizer/journalentry.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/journalentry.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h
index ee17da8..0adebe9 100644
--- a/korganizer/journalentry.h
+++ b/korganizer/journalentry.h
@@ -12,45 +12,50 @@
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
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 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 <q3frame.h>
29//Added by qt3to4:
30#include <QResizeEvent>
31#include <QEvent>
32#include <QLabel>
33#include <QKeyEvent>
29 34
30#include <libkcal/calendar.h> 35#include <libkcal/calendar.h>
31 36
32class QLabel; 37class QLabel;
33class KTextEdit; 38class KTextEdit;
34class QComboBox; 39class QComboBox;
35class KLineEdit; 40class KLineEdit;
36class KOLocationBox; 41class KOLocationBox;
37 42
38using namespace KCal; 43using namespace KCal;
39 44
40class JournalEntry : public QFrame { 45class JournalEntry : public Q3Frame {
41 Q_OBJECT 46 Q_OBJECT
42 public: 47 public:
43 JournalEntry(Calendar *,QWidget *parent); 48 JournalEntry(Calendar *,QWidget *parent);
44 virtual ~JournalEntry(); 49 virtual ~JournalEntry();
45 50
46 void setJournal(Journal *, bool saveJournal = true ); 51 void setJournal(Journal *, bool saveJournal = true );
47 Journal *journal() const; 52 Journal *journal() const;
48 53
49 void setDate(const QDate &); 54 void setDate(const QDate &);
50 55
51 void clear(); 56 void clear();
52 57
53 void flushEntry(); 58 void flushEntry();
54 void setShowOnly(); 59 void setShowOnly();
55 QSize sizeHint() const; 60 QSize sizeHint() const;
56 void setVisibleMode( bool b ) { visibleMode = b;} 61 void setVisibleMode( bool b ) { visibleMode = b;}