korganizer
KOCheckableProxyModel Class Reference
#include <kocheckableproxymodel.h>
Inheritance diagram for KOCheckableProxyModel:
Signals | |
void | aboutToToggle (bool oldState) |
void | toggled (bool newState) |
Public Member Functions | |
KOCheckableProxyModel (QObject *parent) | |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Detailed Description
A KCheckableProxyModel that emits a signal before and after toggling.
Listeners, like to-do view, restore tree expand state before unchecking, and restore after checking.
Definition at line 37 of file kocheckableproxymodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 27 of file kocheckableproxymodel.cpp.
Member Function Documentation
|
signal |
bool KOCheckableProxyModel::setData | ( | const QModelIndex & | index, |
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) |
reimp
Definition at line 32 of file kocheckableproxymodel.cpp.
|
signal |
The documentation for this class was generated from the following files:
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.