kojournalview.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#ifndef KOJOURNALVIEW_H
00024
#define KOJOURNALVIEW_H
00025
00026
#include <korganizer/baseview.h>
00027
#include "journalentry.h"
00028
00029
class JournalEntry;
00030
class QScrollView;
00031
class QVBox;
00032
00040 class KOJournalView :
public KOrg::BaseView
00041 {
00042 Q_OBJECT
00043
public:
00044
KOJournalView( Calendar *calendar,
QWidget *parent = 0,
00045
const char *name = 0);
00046 ~
KOJournalView();
00047
00048
virtual int currentDateCount();
00049
virtual Incidence::List
selectedIncidences();
00050 DateList
selectedDates() {
return DateList(); }
00051
void appendJournal( Journal*journal,
const QDate &dt);
00052
00053
public slots:
00054
00055
virtual void dayPassed(
QDate ) {}
00056
void updateView();
00057
void flushView();
00058
00059
void showDates(
const QDate &start,
const QDate &end );
00060
void showIncidences(
const Incidence::List & );
00061
00062
void changeIncidenceDisplay( Incidence *,
int );
00063
protected:
00064
void clearEntries();
00065
00066
private:
00067
QScrollView *mSV;
00068
QVBox *mVBox;
00069 JournalEntry::List mEntries;
00070 DateList mSelectedDates;
00071 };
00072
00073
#endif
This file is part of the documentation for korganizer Library Version 3.3.0.