korganizer

#include <kojournalview.h>

Inheritance diagram for KOJournalView:
KOrg::BaseView

Public Slots

virtual void dayPassed (const TQDate &)
 
void updateView ()
 
void flushView ()
 
void showDates (const TQDate &start, const TQDate &end)
 
void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
 
void changeIncidenceDisplay (Incidence *, int)
 
void setIncidenceChanger (IncidenceChangerBase *changer)
 
void newJournal ()
 
- Public Slots inherited from KOrg::BaseView
virtual void showDates (const TQDate &start, const TQDate &end)=0
 
virtual void showIncidences (const Incidence::List &incidenceList, const TQDate &date)=0
 
virtual void updateView ()=0
 
virtual void dayPassed (const TQDate &)
 
virtual void setIncidenceChanger (IncidenceChangerBase *changer)
 
virtual void flushView ()
 
virtual void changeIncidenceDisplay (Incidence *, int)=0
 
virtual void updateConfig ()
 
virtual void clearSelection ()
 
virtual bool eventDurationHint (TQDateTime &, TQDateTime &, bool &)
 

Signals

void flushEntries ()
 
void setIncidenceChangerSignal (IncidenceChangerBase *)
 
void journalEdited (Journal *)
 
void journalDeleted (Journal *)
 
- Signals inherited from KOrg::BaseView
void incidenceSelected (Incidence *, const TQDate &)
 
void showIncidenceSignal (Incidence *, const TQDate &)
 
void editIncidenceSignal (Incidence *, const TQDate &)
 
void deleteIncidenceSignal (Incidence *)
 
void cutIncidenceSignal (Incidence *)
 
void copyIncidenceSignal (Incidence *)
 
void pasteIncidenceSignal ()
 
void toggleAlarmSignal (Incidence *)
 
void dissociateOccurrenceSignal (Incidence *, const TQDate &)
 
void dissociateFutureOccurrenceSignal (Incidence *, const TQDate &)
 
void startMultiModify (const TQString &)
 
void endMultiModify ()
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &)
 
void newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &, const TQDateTime &)
 
void newTodoSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 
void newSubTodoSignal (Todo *)
 
void newJournalSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &)
 

Public Member Functions

 KOJournalView (Calendar *calendar, TQWidget *parent=0, const char *name=0)
 
virtual int currentDateCount ()
 
virtual Incidence::List selectedIncidences ()
 
DateList selectedIncidenceDates ()
 
void appendJournal (Journal *journal, const TQDate &dt)
 
CalPrinterBase::PrintType printType ()
 
- Public Member Functions inherited from KOrg::BaseView
 BaseView (Calendar *cal, TQWidget *parent=0, const char *name=0)
 
virtual ~BaseView ()
 
void setReadOnly (bool readonly)
 
bool readOnly ()
 
virtual void setCalendar (Calendar *cal)
 
virtual Calendarcalendar ()
 
virtual void setResource (ResourceCalendar *res, const TQString &subResource)
 
ResourceCalendarresourceCalendar ()
 
TQString subResourceCalendar () const
 
virtual Incidence::List selectedIncidences ()=0
 
virtual DateList selectedIncidenceDates ()=0
 
virtual TQDateTime selectionStart ()
 
virtual TQDateTime selectionEnd ()
 
virtual CalPrinterBase::PrintType printType ()
 
virtual int currentDateCount ()=0
 
virtual bool isEventView ()
 
virtual bool supportsDateNavigation () const
 

Protected Member Functions

void clearEntries ()
 

Additional Inherited Members

- Protected Attributes inherited from KOrg::BaseView
IncidenceChangerBase * mChanger
 

Detailed Description

This class provides a journal view.

View for Journal components.

Author
Cornelius Schumacher schum.nosp@m.ache.nosp@m.r@kde.nosp@m..org, Reinhold Kainhofer reinh.nosp@m.old@.nosp@m.kainh.nosp@m.ofer.nosp@m..com
See also
KOBaseView

Definition at line 41 of file kojournalview.h.

Constructor & Destructor Documentation

◆ KOJournalView()

KOJournalView::KOJournalView ( Calendar calendar,
TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 45 of file kojournalview.cpp.

◆ ~KOJournalView()

KOJournalView::~KOJournalView ( )

Definition at line 60 of file kojournalview.cpp.

Member Function Documentation

◆ appendJournal()

void KOJournalView::appendJournal ( Journal journal,
const TQDate &  dt 
)

Definition at line 64 of file kojournalview.cpp.

◆ changeIncidenceDisplay

void KOJournalView::changeIncidenceDisplay ( Incidence incidence,
int  action 
)
slot

Definition at line 184 of file kojournalview.cpp.

◆ clearEntries()

void KOJournalView::clearEntries ( )
protected

Definition at line 113 of file kojournalview.cpp.

◆ currentDateCount()

int KOJournalView::currentDateCount ( )
virtual

Return number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 100 of file kojournalview.cpp.

◆ dayPassed

virtual void KOJournalView::dayPassed ( const TQDate &  )
inlinevirtualslot

Definition at line 59 of file kojournalview.h.

◆ flushView

void KOJournalView::flushView ( )
slot

Definition at line 135 of file kojournalview.cpp.

◆ newJournal

void KOJournalView::newJournal ( )
slot

Definition at line 211 of file kojournalview.cpp.

◆ printType()

CalPrinterBase::PrintType KOJournalView::printType ( )
virtual

Reimplemented from KOrg::BaseView.

Definition at line 179 of file kojournalview.cpp.

◆ selectedIncidenceDates()

DateList KOJournalView::selectedIncidenceDates ( )
inlinevirtual
Returns
a list of the dates of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.

Implements KOrg::BaseView.

Definition at line 52 of file kojournalview.h.

◆ selectedIncidences()

Incidence::List KOJournalView::selectedIncidences ( )
virtual
Returns
a list of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.

Implements KOrg::BaseView.

Definition at line 105 of file kojournalview.cpp.

◆ setIncidenceChanger

void KOJournalView::setIncidenceChanger ( IncidenceChangerBase *  changer)
slot

Definition at line 205 of file kojournalview.cpp.

◆ showDates

void KOJournalView::showDates ( const TQDate &  start,
const TQDate &  end 
)
slot

Definition at line 141 of file kojournalview.cpp.

◆ showIncidences

void KOJournalView::showIncidences ( const Incidence::List &  incidenceList,
const TQDate &  date 
)
slot

Definition at line 164 of file kojournalview.cpp.

◆ updateView

void KOJournalView::updateView ( )
slot

Definition at line 122 of file kojournalview.cpp.


The documentation for this class was generated from the following files: