• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

korganizer

KOAgendaView Class Reference

#include <koagendaview.h>

Inheritance diagram for KOAgendaView:

Inheritance graph
[legend]

List of all members.


Detailed Description

KOAgendaView is the agenda-like view that displays events in a single or multi-day view.

Definition at line 91 of file koagendaview.h.


Public Slots

void changeIncidenceDisplay (Incidence *incidence, int mode)
void changeIncidenceDisplayAdded (Incidence *incidence)
void clearSelection ()
void clearTimeSpanSelection ()
void createDayLabels ()
void createTimeBarHeaders ()
void enableAgendaUpdate (bool enable)
void finishTypeAhead ()
void insertIncidence (Incidence *incidence, const QDate &curDate, int curCol=-1)
void readSettings (KConfig *)
void readSettings ()
void setContentsPos (int y)
void setIncidenceChanger (KOrg::IncidenceChangerBase *changer)
virtual void showDates (const QDate &start, const QDate &end)
virtual void showIncidences (const Incidence::List &incidenceList)
void slotTodoDropped (Todo *, const QPoint &, bool)
void startDrag (Incidence *)
virtual void updateConfig ()
void updateTimeBarWidth ()
virtual void updateView ()
void writeSettings (KConfig *)
void zoomInHorizontally (const QDate &date=QDate())
void zoomInVertically ()
void zoomOutHorizontally (const QDate &date=QDate())
void zoomOutVertically ()
void zoomView (const int delta, const QPoint &pos, const Qt::Orientation orient=Qt::Horizontal)

Signals

void timeSpanSelectionChanged ()
void zoomViewHorizontally (const QDate &, int count)

Public Member Functions

KOAgenda * agenda () const
void clearView ()
virtual int currentDateCount ()
void deleteSelectedDateTime ()
virtual bool eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay)
 KOAgendaView (Calendar *cal, QWidget *parent=0, bool isSideBySide=false)
virtual int maxDatesHint ()
CalPrinter::PrintType printType ()
virtual DateList selectedDates ()
virtual Incidence::List selectedIncidences ()
bool selectedIsAllDay ()
bool selectedIsSingleCell ()
QDateTime selectionEnd ()
QDateTime selectionStart ()
void setResource (KCal::ResourceCalendar *res, const QString &subResource=QString())
void setTypeAheadReceiver (QObject *)
QSplitter * splitter () const
virtual ~KOAgendaView ()

Protected Slots

void doUpdateItem ()
void newTimeSpanSelected (const QPoint &start, const QPoint &end)
void newTimeSpanSelectedAllDay (const QPoint &start, const QPoint &end)
void updateEventDates (KOAgendaItem *item)
void updateEventIndicatorBottom (int newY)
void updateEventIndicatorTop (int newY)

Protected Member Functions

void connectAgenda (KOAgenda *agenda, QMenu *popup, KOAgenda *otherAgenda)
void fillAgenda ()
void fillAgenda (const QDate &startDate)
void removeIncidence (Incidence *)
void setHolidayMasks ()
void updateEventIndicators ()

Constructor & Destructor Documentation

KOAgendaView::KOAgendaView ( Calendar *  cal,
QWidget *  parent = 0,
bool  isSideBySide = false 
) [explicit]

Definition at line 139 of file koagendaview.cpp.

KOAgendaView::~KOAgendaView (  )  [virtual]

Definition at line 257 of file koagendaview.cpp.


Member Function Documentation

KOAgenda* KOAgendaView::agenda (  )  const [inline]

Definition at line 134 of file koagendaview.h.

void KOAgendaView::changeIncidenceDisplay ( Incidence *  incidence,
int  mode 
) [slot]

Definition at line 1269 of file koagendaview.cpp.

void KOAgendaView::changeIncidenceDisplayAdded ( Incidence *  incidence  )  [slot]

Definition at line 1224 of file koagendaview.cpp.

void KOAgendaView::clearSelection (  )  [slot]

Definition at line 1554 of file koagendaview.cpp.

void KOAgendaView::clearTimeSpanSelection (  )  [slot]

Definition at line 1629 of file koagendaview.cpp.

void KOAgendaView::clearView (  ) 

Remove all events from view.

Definition at line 1424 of file koagendaview.cpp.

void KOAgendaView::connectAgenda ( KOAgenda *  agenda,
QMenu *  popup,
KOAgenda *  otherAgenda 
) [protected]

Definition at line 263 of file koagendaview.cpp.

void KOAgendaView::createDayLabels (  )  [slot]

Create labels for the selected dates.

Definition at line 444 of file koagendaview.cpp.

void KOAgendaView::createTimeBarHeaders (  )  [slot]

Definition at line 744 of file koagendaview.cpp.

int KOAgendaView::currentDateCount (  )  [virtual]

Returns number of currently shown dates.

Definition at line 640 of file koagendaview.cpp.

void KOAgendaView::deleteSelectedDateTime (  ) 

make selected start/end invalid

Definition at line 1587 of file koagendaview.cpp.

void KOAgendaView::doUpdateItem (  )  [protected, slot]

update just the display of the given incidence, called by a single-shot timer

Definition at line 1061 of file koagendaview.cpp.

void KOAgendaView::enableAgendaUpdate ( bool  enable  )  [slot]

Definition at line 629 of file koagendaview.cpp.

bool KOAgendaView::eventDurationHint ( QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay 
) [virtual]

return the default start/end date/time for new events

Definition at line 681 of file koagendaview.cpp.

void KOAgendaView::fillAgenda (  )  [protected]

Fill agenda using the current set value for the start date.

Definition at line 1310 of file koagendaview.cpp.

void KOAgendaView::fillAgenda ( const QDate &  startDate  )  [protected]

Fill agenda beginning with date startDate.

Definition at line 1305 of file koagendaview.cpp.

void KOAgendaView::finishTypeAhead (  )  [virtual, slot]

Implements KOrg::AgendaView.

Definition at line 1600 of file koagendaview.cpp.

void KOAgendaView::insertIncidence ( Incidence *  incidence,
const QDate &  curDate,
int  curCol = -1 
) [slot]

Definition at line 1123 of file koagendaview.cpp.

int KOAgendaView::maxDatesHint (  )  [virtual]

Returns maximum number of days supported by the koagendaview.

Implements KOEventView.

Definition at line 634 of file koagendaview.cpp.

void KOAgendaView::newTimeSpanSelected ( const QPoint &  start,
const QPoint &  end 
) [protected, slot]

Updates data for selected timespan.

Definition at line 1566 of file koagendaview.cpp.

void KOAgendaView::newTimeSpanSelectedAllDay ( const QPoint &  start,
const QPoint &  end 
) [protected, slot]

Updates data for selected timespan for all day event.

Definition at line 1560 of file koagendaview.cpp.

CalPrinter::PrintType KOAgendaView::printType (  ) 

Definition at line 1430 of file koagendaview.cpp.

void KOAgendaView::readSettings ( KConfig *  config  )  [slot]

Definition at line 1510 of file koagendaview.cpp.

void KOAgendaView::readSettings (  )  [slot]

Definition at line 1505 of file koagendaview.cpp.

void KOAgendaView::removeIncidence ( Incidence *  incidence  )  [protected]

Definition at line 1606 of file koagendaview.cpp.

DateList KOAgendaView::selectedDates (  )  [virtual]

returns the currently selected events

Definition at line 663 of file koagendaview.cpp.

Incidence::List KOAgendaView::selectedIncidences (  )  [virtual]

returns the currently selected events

Definition at line 645 of file koagendaview.cpp.

bool KOAgendaView::selectedIsAllDay (  )  [inline]

returns true if selection is for whole day

Definition at line 123 of file koagendaview.h.

bool KOAgendaView::selectedIsSingleCell (  ) 

returns if only a single cell is selected, or a range of cells

Definition at line 704 of file koagendaview.cpp.

QDateTime KOAgendaView::selectionEnd (  )  [inline]

end-datetime of selection

Definition at line 121 of file koagendaview.h.

QDateTime KOAgendaView::selectionStart (  )  [inline]

start-datetime of selection

Definition at line 119 of file koagendaview.h.

void KOAgendaView::setContentsPos ( int  y  )  [slot]

Definition at line 1547 of file koagendaview.cpp.

void KOAgendaView::setHolidayMasks (  )  [protected]

Set the masks on the agenda widgets indicating, which days are holidays.

Definition at line 1530 of file koagendaview.cpp.

void KOAgendaView::setIncidenceChanger ( KOrg::IncidenceChangerBase *  changer  )  [slot]

void KOAgendaView::setResource ( KCal::ResourceCalendar *  res,
const QString &  subResource = QString() 
)

Show only incidences from the given resource.

Definition at line 1636 of file koagendaview.cpp.

void KOAgendaView::setTypeAheadReceiver ( QObject *  o  )  [virtual]

Implements KOrg::AgendaView.

Definition at line 1594 of file koagendaview.cpp.

void KOAgendaView::showDates ( const QDate &  start,
const QDate &  end 
) [virtual, slot]

Definition at line 1069 of file koagendaview.cpp.

void KOAgendaView::showIncidences ( const Incidence::List &  incidenceList  )  [virtual, slot]

Definition at line 1083 of file koagendaview.cpp.

void KOAgendaView::slotTodoDropped ( Todo *  todo,
const QPoint &  gpos,
bool  allDay 
) [slot]

reschedule the todo to the given x- and y- coordinates.

Third parameter determines all-day (no time specified)

Definition at line 1455 of file koagendaview.cpp.

QSplitter* KOAgendaView::splitter (  )  const [inline]

Definition at line 135 of file koagendaview.h.

void KOAgendaView::startDrag ( Incidence *  incidence  )  [slot]

Definition at line 1494 of file koagendaview.cpp.

void KOAgendaView::timeSpanSelectionChanged (  )  [signal]

void KOAgendaView::updateConfig (  )  [virtual, slot]

Definition at line 728 of file koagendaview.cpp.

void KOAgendaView::updateEventDates ( KOAgendaItem *  item  )  [protected, slot]

Update event belonging to agenda item.

Definition at line 769 of file koagendaview.cpp.

void KOAgendaView::updateEventIndicatorBottom ( int  newY  )  [protected, slot]

Definition at line 1447 of file koagendaview.cpp.

void KOAgendaView::updateEventIndicators (  )  [protected]

Updates the event indicators after a certain incidence was modified or removed.

Definition at line 1612 of file koagendaview.cpp.

void KOAgendaView::updateEventIndicatorTop ( int  newY  )  [protected, slot]

Definition at line 1439 of file koagendaview.cpp.

void KOAgendaView::updateTimeBarWidth (  )  [slot]

Definition at line 759 of file koagendaview.cpp.

void KOAgendaView::updateView (  )  [virtual, slot]

Definition at line 719 of file koagendaview.cpp.

void KOAgendaView::writeSettings ( KConfig *  config  )  [slot]

Definition at line 1522 of file koagendaview.cpp.

void KOAgendaView::zoomInHorizontally ( const QDate &  date = QDate()  )  [slot]

Definition at line 344 of file koagendaview.cpp.

void KOAgendaView::zoomInVertically (  )  [slot]

Definition at line 315 of file koagendaview.cpp.

void KOAgendaView::zoomOutHorizontally ( const QDate &  date = QDate()  )  [slot]

Definition at line 377 of file koagendaview.cpp.

void KOAgendaView::zoomOutVertically (  )  [slot]

Definition at line 329 of file koagendaview.cpp.

void KOAgendaView::zoomView ( const int  delta,
const QPoint &  pos,
const Qt::Orientation  orient = Qt::Horizontal 
) [slot]

Definition at line 408 of file koagendaview.cpp.

void KOAgendaView::zoomViewHorizontally ( const QDate &  ,
int  count 
) [signal]


The documentation for this class was generated from the following files:
  • koagendaview.h
  • koagendaview.cpp

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal