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

Nepomuk-Core

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

#include <abstract-grouping-proxy-model.h>

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

Public Member Functions

 AbstractGroupingProxyModel (QAbstractItemModel *source)
virtual ~AbstractGroupingProxyModel ()
virtual QVariant dataForGroup (const QString &group, int role) const =0
void forceGroup (const QString &group)
void groupChanged (const QString &group)
virtual QSet< QString > groupsForIndex (const QModelIndex &sourceIndex) const =0
void unforceGroup (const QString &group)

Detailed Description

Definition at line 35 of file abstract-grouping-proxy-model.h.

Constructor & Destructor Documentation

KTp::AbstractGroupingProxyModel::AbstractGroupingProxyModel ( QAbstractItemModel *  source)
explicit

Definition at line 130 of file abstract-grouping-proxy-model.cpp.

KTp::AbstractGroupingProxyModel::~AbstractGroupingProxyModel ( )
virtual

Definition at line 142 of file abstract-grouping-proxy-model.cpp.

Member Function Documentation

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

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

Implemented in KTp::GroupsTreeProxyModel, and KTp::AccountsTreeProxyModel.

void KTp::AbstractGroupingProxyModel::forceGroup ( const QString &  group)

Definition at line 148 of file abstract-grouping-proxy-model.cpp.

void KTp::AbstractGroupingProxyModel::groupChanged ( const QString &  group)

Definition at line 171 of file abstract-grouping-proxy-model.cpp.

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

Return a list of all groups this items belongs to.

Subclasses must override this

Implemented in KTp::GroupsTreeProxyModel, and KTp::AccountsTreeProxyModel.

void KTp::AbstractGroupingProxyModel::unforceGroup ( const QString &  group)

Definition at line 154 of file abstract-grouping-proxy-model.cpp.


The documentation for this class was generated from the following files:
  • abstract-grouping-proxy-model.h
  • abstract-grouping-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