korganizer
kodaymatrix.h
Go to the documentation of this file.
~KODayMatrix()
destructor that deallocates all dynamically allocated private members.
Definition: kodaymatrix.cpp:98
void incidenceDropped(const Akonadi::Item &item, const QDate &dt)
Emitted if the user has dropped an incidence (event or todo) inside the matrix.
static QPair< QDate, QDate > matrixLimits(const QDate &month)
returns the first and last date of the 6*7 matrix that displays month
Definition: kodaymatrix.cpp:886
void newTodoSignal(const QDate &date)
const QDate & getDate(int offset) const
Returns the QDate object associated with day indexed by the supplied offset.
Definition: kodaymatrix.cpp:412
bool isTodayVisible() const
Is today visible in the view? Keep this in sync with the values today (below) can take...
Definition: kodaymatrix.h:146
void calendarIncidenceDeleted(const KCalCore::Incidence::Ptr &incidence)
Definition: kodaymatrix.cpp:447
int y() const
bool isBeginningOfMonth() const
If today is visible, then we can find out if today is near the beginning or the end of the month...
Definition: kodaymatrix.h:155
void setHighlightMode(bool highlightEvents, bool highlightTodos, bool highlightJournals)
Sets which incidences should be highlighted.
Definition: kodaymatrix.cpp:453
void calendarIncidenceAdded(const KCalCore::Incidence::Ptr &incidence)
Reimplemented from Akonadi::ETMCalendar They set mPendingChanges to true.
Definition: kodaymatrix.cpp:435
int x() const
void setSelectedDaysFrom(const QDate &start, const QDate &end)
Sets the actual to be displayed selection in the day matrix starting from start and ending with end...
Definition: kodaymatrix.cpp:139
QString getHolidayLabel(int offset) const
Returns the official name of this holy day or 0 if there is no label for this day.
Definition: kodaymatrix.cpp:420
void calendarIncidenceChanged(const KCalCore::Incidence::Ptr &incidence)
Definition: kodaymatrix.cpp:441
void updateView()
Recalculates all the flags of the days in the matrix like holidays or events on a day (Actually calls...
Definition: kodaymatrix.cpp:172
void selected(const KCalCore::DateList &daylist)
Emitted if the user selects a block of days with the mouse by dragging a rectangle inside the matrix...
void incidenceDroppedMove(const Akonadi::Item &item, const QDate &dt)
Emitted if the user has dropped an event inside the matrix and chose to move it instead of copy...
void setCalendar(const Akonadi::ETMCalendar::Ptr &)
Associate a calendar with this day matrix.
Definition: kodaymatrix.cpp:70
void addSelectedDaysTo(KCalCore::DateList &)
Adds all actual selected days from mSelStart to mSelEnd to the supplied DateList. ...
Definition: kodaymatrix.cpp:108
Replacement for kdpdatebuton.cpp that used 42 widgets for the day matrix to be displayed.
Definition: kodaymatrix.h:69
KODayMatrix(QWidget *parent)
constructor to create a day matrix widget.
Definition: kodaymatrix.cpp:53
QObject * parent() const
void newEventSignal(const QDate &date)
void recalculateToday()
Calculates which square in the matrix should be hiighted to indicate the square is on "today"...
Definition: kodaymatrix.cpp:152
void newJournalSignal(const QDate &date)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.