kjots
kjotssortproxymodel.cpp
Go to the documentation of this file.
40 const Akonadi::Collection::Id colId = left.data( Akonadi::EntityTreeModel::ParentCollectionRole ).value<Akonadi::Collection>().id();
45 const Akonadi::Item leftItem = left.data( Akonadi::EntityTreeModel::ItemRole ).value<Akonadi::Item>();
46 const Akonadi::Item rightItem = right.data( Akonadi::EntityTreeModel::ItemRole ).value<Akonadi::Item>();
63 const Akonadi::Collection collection = childIndex.data( Akonadi::EntityTreeModel::ParentCollectionRole ).value<Akonadi::Collection>();
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
void invalidate()
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const
Definition: kjotssortproxymodel.cpp:38
T value() const
KJotsSortProxyModel(QObject *parent=0)
Definition: kjotssortproxymodel.cpp:27
const_iterator insert(const T &value)
bool isValid() const
void setDynamicSortFilter(bool enable)
bool contains(const T &value) const
void sortChildrenAlphabetically(const QModelIndex &parent)
Definition: kjotssortproxymodel.cpp:71
bool remove(const T &value)
void sortChildrenByCreationTime(const QModelIndex &parent)
Definition: kjotssortproxymodel.cpp:82
QVariant data(int role) const
~KJotsSortProxyModel()
Definition: kjotssortproxymodel.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:12 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:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.