marble/src
GpxFileModel Class Reference
#include <GpxFileModel.h>
Inheritance diagram for GpxFileModel:

Detailed Description
Definition at line 29 of file GpxFileModel.h.
Public Slots | |
| void | saveFile () |
| void | closeFile () |
Signals | |
| void | updateRegion (BoundingBox) |
| void | enableActions (bool) |
Public Member Functions | |
| GpxFileModel (QObject *parent=0) | |
| ~GpxFileModel () | |
| Qt::ItemFlags | flags (const QModelIndex &item) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| void | addFile (GpxFile *file) |
| void | setSelectedIndex (const QModelIndex &) |
| QVector< GpxFile * > * | allFiles () |
Constructor & Destructor Documentation
| GpxFileModel::GpxFileModel | ( | QObject * | parent = 0 |
) |
Definition at line 30 of file GpxFileModel.cpp.
| GpxFileModel::~GpxFileModel | ( | ) |
Definition at line 37 of file GpxFileModel.cpp.
Member Function Documentation
| void GpxFileModel::updateRegion | ( | BoundingBox | ) | [signal] |
| void GpxFileModel::enableActions | ( | bool | ) | [signal] |
| void GpxFileModel::saveFile | ( | ) | [slot] |
Definition at line 49 of file GpxFileModel.cpp.
| void GpxFileModel::closeFile | ( | ) | [slot] |
Definition at line 74 of file GpxFileModel.cpp.
| Qt::ItemFlags GpxFileModel::flags | ( | const QModelIndex & | item | ) | const |
Definition at line 88 of file GpxFileModel.cpp.
| QVariant GpxFileModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
Definition at line 93 of file GpxFileModel.cpp.
| bool GpxFileModel::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role = Qt::EditRole | |||
| ) |
| QModelIndex GpxFileModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
Definition at line 127 of file GpxFileModel.cpp.
| QModelIndex GpxFileModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 137 of file GpxFileModel.cpp.
| int GpxFileModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 144 of file GpxFileModel.cpp.
| int GpxFileModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 153 of file GpxFileModel.cpp.
| void GpxFileModel::addFile | ( | GpxFile * | file | ) |
Definition at line 160 of file GpxFileModel.cpp.
| void GpxFileModel::setSelectedIndex | ( | const QModelIndex & | index | ) |
Definition at line 167 of file GpxFileModel.cpp.
Definition at line 172 of file GpxFileModel.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference