14#include <Akonadi/IncidenceChanger>
17#include <akonadi/collectioncalendar.h>
21class TodoViewQuickAddLine;
22class TodoViewQuickSearch;
23class TodoViewSortFilterProxyModel;
28class ETMViewStateSaver;
41class CalendarFilterModel;
53 friend class ModelStack;
70 void setDocumentId(
const QString &)
76 void restoreLayout(
KConfig *config,
const QString &group,
bool minimalDefaults);
79 void getHighlightMode(
bool &highlightEvents,
bool &highlightTodos,
bool &highlightJournals);
81 [[nodiscard]]
bool usesFullWindow();
83 [[nodiscard]]
bool supportsDateRangeSelection()
const
89 void setIncidenceChanger(Akonadi::IncidenceChanger *changer)
override;
92 void updateView()
override;
93 virtual void changeIncidenceDisplay(
const Akonadi::Item &incidence, Akonadi::IncidenceChanger::ChangeType changeType);
94 void updateConfig()
override;
95 void clearSelection()
override;
97 void restoreViewState();
106 void contextMenu(
QPoint pos);
116 void copyTodoToDate(
QDate date);
119 EVENTVIEWS_NO_EXPORT
void scheduleResizeColumns();
120 EVENTVIEWS_NO_EXPORT
void resizeColumns();
121 EVENTVIEWS_NO_EXPORT
void itemDoubleClicked(
const QModelIndex &index);
122 EVENTVIEWS_NO_EXPORT
void setNewDate(
QDate date);
123 EVENTVIEWS_NO_EXPORT
void setStartDate(
QDate date);
124 EVENTVIEWS_NO_EXPORT
void setNewPercentage(
QAction *action);
125 EVENTVIEWS_NO_EXPORT
void setNewPriority(
QAction *action);
126 EVENTVIEWS_NO_EXPORT
void changedCategories(
QAction *action);
127 EVENTVIEWS_NO_EXPORT
void setFullView(
bool fullView);
129 EVENTVIEWS_NO_EXPORT
void setFlatView(
bool flatView,
bool notifyOtherViews =
true);
131 EVENTVIEWS_NO_EXPORT
void onRowsInserted(
const QModelIndex &parent,
int start,
int end);
132 EVENTVIEWS_NO_EXPORT
void onTagsFetched(
KJob *);
135 void purgeCompletedSignal();
136 void unSubTodoSignal();
137 void unAllSubTodoSignal();
138 void configChanged();
139 void fullViewChanged(
bool enabled);
140 void printPreviewTodo();
146 EVENTVIEWS_NO_EXPORT
QMenu *createCategoryPopupMenu();
147 EVENTVIEWS_NO_EXPORT
QString stateSaverGroup()
const;
152 TodoViewView *mView =
nullptr;
153 TodoViewSortFilterProxyModel *mProxyModel =
nullptr;
155 std::unique_ptr<CalendarFilterModel> mCalendarFilterModel;
157 TodoViewQuickSearch *mQuickSearch =
nullptr;
158 TodoViewQuickAddLine *mQuickAdd =
nullptr;
162 QMenu *mItemPopupMenu =
nullptr;
165 QMenu *mPriorityPopupMenu =
nullptr;
166 QMenu *mPercentageCompletedPopupMenu =
nullptr;
170 QAction *mMakeTodoIndependent =
nullptr;
171 QAction *mMakeSubtodosIndependent =
nullptr;
178 bool mResizeColumnsScheduled;
179 QTimer *mResizeColumnsTimer =
nullptr;
EventView is the abstract base class from which all other calendar views for event data are derived.
This class provides a view for Todo items.
int currentDateCount() const override
Returns the number of currently shown dates.
This delegate is responsible for displaying the categories of todos.
Q_SCRIPTABLE Q_NOREPLY void start()
Namespace EventViews provides facilities for displaying incidences, including events,...
typedef KeyboardModifiers
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:11 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.