summaryrefslogtreecommitdiffabout
path: root/korganizer/kojournalview.h
Side-by-side diff
Diffstat (limited to 'korganizer/kojournalview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kojournalview.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h
index 445f940..aabf11c 100644
--- a/korganizer/kojournalview.h
+++ b/korganizer/kojournalview.h
@@ -15,24 +15,25 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, permission is given to link this program
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
#ifndef _KOJOURNALVIEW_H
#define _KOJOURNALVIEW_H
#include <korganizer/baseview.h>
+#include <qlayout.h>
class JournalEntry;
/**
* This class provides a journal view.
* @short View for Journal components.
* @author Cornelius Schumacher <schumacher@kde.org>
* @see KOBaseView
*/
class KOJournalView : public KOrg::BaseView
{
@@ -42,27 +43,34 @@ class KOJournalView : public KOrg::BaseView
const char *name = 0);
~KOJournalView();
virtual int currentDateCount();
void clearList();
virtual QPtrList<Incidence> selectedIncidences();
DateList selectedDates()
{DateList q;
return q;};
signals:
void deleteJournal(Journal *);
public slots:
+ void showOnly ( Journal* );
+ void newJournal();
void updateView();
void flushView();
void updateConfig();
void showDates( const QDate &start, const QDate &end );
void showEvents(QPtrList<Event> eventList);
void changeEventDisplay(Event *, int);
private:
- JournalEntry *mEntry;
+ void showList(QPtrList<Journal> jl);
+ Calendar *mCalendar;
+ JournalEntry* getNewEntry();
+ QPtrList<JournalEntry> jEntries;
void keyPressEvent ( QKeyEvent * ) ;
+ QBoxLayout *mTopLayout;
+ QDate mDate;
};
#endif