• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • KTp
  • GroupsTreeProxyModel
Public Member Functions | List of all members
KTp::GroupsTreeProxyModel Class Reference

#include <groups-tree-proxy-model.h>

Inheritance diagram for KTp::GroupsTreeProxyModel:
Inheritance graph
[legend]

Public Member Functions

 GroupsTreeProxyModel (QAbstractItemModel *sourceModel)
virtual ~GroupsTreeProxyModel ()
virtual QVariant dataForGroup (const QString &group, int role) const
virtual QSet< QString > groupsForIndex (const QModelIndex &sourceIndex) const
- Public Member Functions inherited from KTp::AbstractGroupingProxyModel
 AbstractGroupingProxyModel (QAbstractItemModel *source)
virtual ~AbstractGroupingProxyModel ()
void forceGroup (const QString &group)
void groupChanged (const QString &group)
void unforceGroup (const QString &group)

Detailed Description

Definition at line 31 of file groups-tree-proxy-model.h.

Constructor & Destructor Documentation

KTp::GroupsTreeProxyModel::GroupsTreeProxyModel ( QAbstractItemModel *  sourceModel)

Definition at line 32 of file groups-tree-proxy-model.cpp.

KTp::GroupsTreeProxyModel::~GroupsTreeProxyModel ( )
virtual

Definition at line 38 of file groups-tree-proxy-model.cpp.

Member Function Documentation

QVariant KTp::GroupsTreeProxyModel::dataForGroup ( const QString &  group,
int  role 
) const
virtual

Equivalent of QAbstractItemModel::data() called for a specific group header.

Implements KTp::AbstractGroupingProxyModel.

Definition at line 54 of file groups-tree-proxy-model.cpp.

QSet< QString > KTp::GroupsTreeProxyModel::groupsForIndex ( const QModelIndex &  sourceIndex) const
virtual

Return a list of all groups this items belongs to.

Subclasses must override this

Implements KTp::AbstractGroupingProxyModel.

Definition at line 43 of file groups-tree-proxy-model.cpp.


The documentation for this class was generated from the following files:
  • groups-tree-proxy-model.h
  • groups-tree-proxy-model.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal