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

Nepomuk-Core

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

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

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

Public Member Functions

 AccountsTreeProxyModel (QAbstractItemModel *sourceModel, const Tp::AccountManagerPtr &accountManager)
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 30 of file accounts-tree-proxy-model.h.

Constructor & Destructor Documentation

KTp::AccountsTreeProxyModel::AccountsTreeProxyModel ( QAbstractItemModel *  sourceModel,
const Tp::AccountManagerPtr &  accountManager 
)

Definition at line 37 of file accounts-tree-proxy-model.cpp.

Member Function Documentation

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

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

Implements KTp::AbstractGroupingProxyModel.

Definition at line 63 of file accounts-tree-proxy-model.cpp.

QSet< QString > KTp::AccountsTreeProxyModel::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 52 of file accounts-tree-proxy-model.cpp.


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