akonadi
entityrightsfiltermodel.cpp
     55           const Collection collection = index.data( EntityTreeModel::ParentCollectionRole ).value<Collection>();
  111     return KRecursiveFilterProxyModel::flags( index ) & ~( Qt::ItemIsSelectable | Qt::ItemIsEnabled );
  115 QModelIndexList EntityRightsFilterModel::match( const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags ) const
  123   foreach ( const QModelIndex &idx, sourceModel()->match( mapToSource( start ), role, value, hits, flags ) ) {
void setAccessRights(Collection::Rights rights)
Sets the access rights the entities shall be filtered against. 
Definition: entityrightsfiltermodel.cpp:82
Has all rights on this storage collection. 
Definition: collection.h:96
Collection::Rights accessRights() const 
Returns the access rights that are used for filtering. 
Definition: entityrightsfiltermodel.cpp:89
A proxy model that filters entities by access rights. 
Definition: entityrightsfiltermodel.h:60
Can only read items or subcollection of this collection. 
Definition: collection.h:87
The parent collection of the entity. 
Definition: entitytreemodel.h:340
Rights rights() const 
Returns the rights the user has on the collection. 
Definition: collection.cpp:99
virtual Qt::ItemFlags flags(const QModelIndex &index) const 
Definition: entityrightsfiltermodel.cpp:104
virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const 
Definition: entityrightsfiltermodel.cpp:115
virtual ~EntityRightsFilterModel()
Destroys the entity rights filter model. 
Definition: entityrightsfiltermodel.cpp:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference