marble
#include <SatellitesConfigModel.h>

Public Member Functions | |
SatellitesConfigModel (QObject *parent=0) | |
~SatellitesConfigModel () | |
void | appendChild (SatellitesConfigAbstractItem *child) |
void | clear () |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QStringList | fullIdList () const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QStringList | idList () const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
void | loadSettings (QHash< QString, QVariant > settings) |
QModelIndex | parent (const QModelIndex &child) const |
SatellitesConfigNodeItem * | rootItem () const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
QStringList | urlList () const |
Protected Attributes | |
SatellitesConfigNodeItem * | m_rootItem |
Detailed Description
Definition at line 20 of file SatellitesConfigModel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 19 of file SatellitesConfigModel.cpp.
Marble::SatellitesConfigModel::~SatellitesConfigModel | ( | ) |
Definition at line 25 of file SatellitesConfigModel.cpp.
Member Function Documentation
void Marble::SatellitesConfigModel::appendChild | ( | SatellitesConfigAbstractItem * | child | ) |
Definition at line 53 of file SatellitesConfigModel.cpp.
void Marble::SatellitesConfigModel::clear | ( | ) |
Definition at line 58 of file SatellitesConfigModel.cpp.
int Marble::SatellitesConfigModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 93 of file SatellitesConfigModel.cpp.
QVariant Marble::SatellitesConfigModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 63 of file SatellitesConfigModel.cpp.
Qt::ItemFlags Marble::SatellitesConfigModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 176 of file SatellitesConfigModel.cpp.
QStringList Marble::SatellitesConfigModel::fullIdList | ( | ) | const |
Definition at line 36 of file SatellitesConfigModel.cpp.
QVariant Marble::SatellitesConfigModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 158 of file SatellitesConfigModel.cpp.
QStringList Marble::SatellitesConfigModel::idList | ( | ) | const |
Definition at line 30 of file SatellitesConfigModel.cpp.
QModelIndex Marble::SatellitesConfigModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
Definition at line 134 of file SatellitesConfigModel.cpp.
void Marble::SatellitesConfigModel::loadSettings | ( | QHash< QString, QVariant > | settings | ) |
Definition at line 48 of file SatellitesConfigModel.cpp.
QModelIndex Marble::SatellitesConfigModel::parent | ( | const QModelIndex & | child | ) | const |
Definition at line 117 of file SatellitesConfigModel.cpp.
SatellitesConfigNodeItem * Marble::SatellitesConfigModel::rootItem | ( | ) | const |
Definition at line 187 of file SatellitesConfigModel.cpp.
int Marble::SatellitesConfigModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 100 of file SatellitesConfigModel.cpp.
bool Marble::SatellitesConfigModel::setData | ( | const QModelIndex & | index, |
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) |
Definition at line 74 of file SatellitesConfigModel.cpp.
QStringList Marble::SatellitesConfigModel::urlList | ( | ) | const |
Definition at line 42 of file SatellitesConfigModel.cpp.
Member Data Documentation
|
protected |
Definition at line 53 of file SatellitesConfigModel.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.