-rw-r--r-- | korganizer/kojournalview.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h index 7fa94ae..22f26cd 100644 --- a/korganizer/kojournalview.h +++ b/korganizer/kojournalview.h | |||
@@ -25,6 +25,11 @@ | |||
25 | 25 | ||
26 | #include <korganizer/baseview.h> | 26 | #include <korganizer/baseview.h> |
27 | #include <qlayout.h> | 27 | #include <qlayout.h> |
28 | //Added by qt3to4: | ||
29 | #include <QKeyEvent> | ||
30 | #include <Q3PtrList> | ||
31 | #include <QLabel> | ||
32 | #include <Q3BoxLayout> | ||
28 | 33 | ||
29 | class JournalEntry; | 34 | class JournalEntry; |
30 | class QLabel; | 35 | class QLabel; |
@@ -46,7 +51,7 @@ class KOJournalView : public KOrg::BaseView | |||
46 | 51 | ||
47 | virtual int currentDateCount(); | 52 | virtual int currentDateCount(); |
48 | void clearList(); | 53 | void clearList(); |
49 | virtual QPtrList<Incidence> selectedIncidences(); | 54 | virtual Q3PtrList<Incidence> selectedIncidences(); |
50 | DateList selectedDates() | 55 | DateList selectedDates() |
51 | {DateList q; | 56 | {DateList q; |
52 | return q;}; | 57 | return q;}; |
@@ -60,17 +65,17 @@ class KOJournalView : public KOrg::BaseView | |||
60 | void flushView(); | 65 | void flushView(); |
61 | void updateConfig(); | 66 | void updateConfig(); |
62 | void showDates( const QDate &start, const QDate &end ); | 67 | void showDates( const QDate &start, const QDate &end ); |
63 | void showEvents(QPtrList<Event> eventList); | 68 | void showEvents(Q3PtrList<Event> eventList); |
64 | 69 | ||
65 | void changeEventDisplay(Event *, int); | 70 | void changeEventDisplay(Event *, int); |
66 | 71 | ||
67 | private: | 72 | private: |
68 | void showList(QPtrList<Journal> jl); | 73 | void showList(Q3PtrList<Journal> jl); |
69 | Calendar *mCalendar; | 74 | Calendar *mCalendar; |
70 | JournalEntry* getNewEntry(); | 75 | JournalEntry* getNewEntry(); |
71 | QPtrList<JournalEntry> jEntries; | 76 | Q3PtrList<JournalEntry> jEntries; |
72 | void keyPressEvent ( QKeyEvent * ) ; | 77 | void keyPressEvent ( QKeyEvent * ) ; |
73 | QBoxLayout *mTopLayout; | 78 | Q3BoxLayout *mTopLayout; |
74 | QWidget *parWid; | 79 | QWidget *parWid; |
75 | QLabel * mDateLabel; | 80 | QLabel * mDateLabel; |
76 | QDate mDate; | 81 | QDate mDate; |