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

jovie

Public Member Functions | Protected Attributes | List of all members
FilterListModel Class Reference

#include <kcmkttsmgr.h>

Inheritance diagram for FilterListModel:
Inheritance graph
[legend]

Public Member Functions

 FilterListModel (FilterList filters=FilterList(), QObject *parent=0)
 
bool appendRow (FilterItem &filter)
 
void clear ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role) const
 
FilterList datastore ()
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
FilterItem getRow (int row) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &index) const
 
bool removeRow (int row, const QModelIndex &parent=QModelIndex())
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
void setDatastore (FilterList filters=FilterList())
 
bool swap (int i, int j)
 
bool updateRow (int row, FilterItem &filter)
 

Protected Attributes

FilterList m_filters
 

Detailed Description

Definition at line 70 of file kcmkttsmgr.h.

Constructor & Destructor Documentation

FilterListModel::FilterListModel ( FilterList  filters = FilterList(),
QObject *  parent = 0 
)
explicit

Definition at line 90 of file kcmkttsmgr.cpp.

Member Function Documentation

bool FilterListModel::appendRow ( FilterItem &  filter)

Definition at line 203 of file kcmkttsmgr.cpp.

void FilterListModel::clear ( )

Definition at line 225 of file kcmkttsmgr.cpp.

int FilterListModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 103 of file kcmkttsmgr.cpp.

QVariant FilterListModel::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 123 of file kcmkttsmgr.cpp.

FilterList FilterListModel::datastore ( )
inline

Definition at line 76 of file kcmkttsmgr.h.

Qt::ItemFlags FilterListModel::flags ( const QModelIndex &  index) const

Definition at line 160 of file kcmkttsmgr.cpp.

FilterItem FilterListModel::getRow ( int  row) const

Definition at line 197 of file kcmkttsmgr.cpp.

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

Definition at line 177 of file kcmkttsmgr.cpp.

QModelIndex FilterListModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 109 of file kcmkttsmgr.cpp.

QModelIndex FilterListModel::parent ( const QModelIndex &  index) const

Definition at line 117 of file kcmkttsmgr.cpp.

bool FilterListModel::removeRow ( int  row,
const QModelIndex &  parent = QModelIndex() 
)

Definition at line 189 of file kcmkttsmgr.cpp.

int FilterListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 95 of file kcmkttsmgr.cpp.

void FilterListModel::setDatastore ( FilterList  filters = FilterList())
inline

Definition at line 77 of file kcmkttsmgr.h.

bool FilterListModel::swap ( int  i,
int  j 
)

Definition at line 218 of file kcmkttsmgr.cpp.

bool FilterListModel::updateRow ( int  row,
FilterItem &  filter 
)

Definition at line 211 of file kcmkttsmgr.cpp.

Member Data Documentation

FilterList FilterListModel::m_filters
protected

Definition at line 94 of file kcmkttsmgr.h.


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

KDE's Doxygen guidelines are available online.

jovie

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

kdeaccessibility API Reference

Skip menu "kdeaccessibility API Reference"
  • jovie

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