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

QtExtraComponents

Signals | Public Member Functions | Static Public Member Functions | Properties | List of all members
ColumnProxyModel Class Reference

#include <columnproxymodel.h>

Inheritance diagram for ColumnProxyModel:
Inheritance graph
[legend]

Signals

void rootIndexChanged ()
 

Public Member Functions

 ColumnProxyModel (QObject *parent=0)
 
int column () const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
Q_SCRIPTABLE QModelIndex indexAt (int row, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex rootIndex () const
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
void setColumn (int col)
 
void setRootIndex (const QModelIndex &idx)
 
void setSourceModel (QAbstractItemModel *sourceModel)
 
QAbstractItemModel * sourceModel () const
 

Static Public Member Functions

static Q_SCRIPTABLE QModelIndex indexFromModel (QAbstractItemModel *model, int row, int column=0, const QModelIndex &parent=QModelIndex())
 

Properties

int column
 
QModelIndex rootIndex
 

Detailed Description

Definition at line 25 of file columnproxymodel.h.

Constructor & Destructor Documentation

ColumnProxyModel::ColumnProxyModel ( QObject *  parent = 0)

Definition at line 23 of file columnproxymodel.cpp.

Member Function Documentation

int ColumnProxyModel::column ( ) const
QVariant ColumnProxyModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 135 of file columnproxymodel.cpp.

QVariant ColumnProxyModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 140 of file columnproxymodel.cpp.

QModelIndex ColumnProxyModel::indexAt ( int  row,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 172 of file columnproxymodel.cpp.

QModelIndex ColumnProxyModel::indexFromModel ( QAbstractItemModel *  model,
int  row,
int  column = 0,
const QModelIndex &  parent = QModelIndex() 
)
static

Definition at line 130 of file columnproxymodel.cpp.

QModelIndex ColumnProxyModel::rootIndex ( ) const
void ColumnProxyModel::rootIndexChanged ( )
signal
int ColumnProxyModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 150 of file columnproxymodel.cpp.

void ColumnProxyModel::setColumn ( int  col)

Definition at line 101 of file columnproxymodel.cpp.

void ColumnProxyModel::setRootIndex ( const QModelIndex &  idx)

Definition at line 118 of file columnproxymodel.cpp.

void ColumnProxyModel::setSourceModel ( QAbstractItemModel *  sourceModel)

Definition at line 29 of file columnproxymodel.cpp.

QAbstractItemModel* ColumnProxyModel::sourceModel ( ) const
inline

Definition at line 38 of file columnproxymodel.h.

Property Documentation

int ColumnProxyModel::column
readwrite

Definition at line 30 of file columnproxymodel.h.

QModelIndex ColumnProxyModel::rootIndex
readwrite

Definition at line 28 of file columnproxymodel.h.


The documentation for this class was generated from the following files:
  • columnproxymodel.h
  • columnproxymodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

QtExtraComponents

Skip menu "QtExtraComponents"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



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