korganizer
KOAgendaView Class Reference
#include <koagendaview.h>

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 | ( | ) |
| void KOAgendaView::connectAgenda | ( | KOAgenda * | agenda, | |
| QMenu * | popup, | |||
| KOAgenda * | otherAgenda | |||
| ) | [protected] |
Definition at line 263 of file koagendaview.cpp.
| void KOAgendaView::createDayLabels | ( | ) | [slot] |
| void KOAgendaView::createTimeBarHeaders | ( | ) | [slot] |
Definition at line 744 of file koagendaview.cpp.
| int KOAgendaView::currentDateCount | ( | ) | [virtual] |
| void KOAgendaView::deleteSelectedDateTime | ( | ) |
| 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] |
| void KOAgendaView::finishTypeAhead | ( | ) | [virtual, slot] |
| 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::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] |
| Incidence::List KOAgendaView::selectedIncidences | ( | ) | [virtual] |
| bool KOAgendaView::selectedIsAllDay | ( | ) | [inline] |
| 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] |
| QDateTime KOAgendaView::selectionStart | ( | ) | [inline] |
| 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::setTypeAheadReceiver | ( | QObject * | o | ) | [virtual] |
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] |
| 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.
Definition at line 344 of file koagendaview.cpp.
| void KOAgendaView::zoomInVertically | ( | ) | [slot] |
Definition at line 315 of file koagendaview.cpp.
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:
KDE 4.1 API Reference