marble
#include <RouteRequestModel.h>
Inherits QAbstractListModel.
Public Types | |
enum | RouteRequestModelRoles { LongitudeRole = Qt::UserRole+1, LatitudeRole = Qt::UserRole+2 } |
Public Slots | |
void | setPosition (int index, qreal longitude, qreal latitude) |
void | setRouting (Routing *routing) |
Signals | |
void | routingChanged () |
Public Member Functions | |
RouteRequestModel (QObject *parent=0) | |
~RouteRequestModel () | |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Routing * | routing () |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Properties | |
int | count |
Routing | routing |
Detailed Description
Definition at line 19 of file RouteRequestModel.h.
Member Enumeration Documentation
Enumerator | |
---|---|
LongitudeRole | |
LatitudeRole |
Definition at line 27 of file RouteRequestModel.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 19 of file RouteRequestModel.cpp.
RouteRequestModel::~RouteRequestModel | ( | ) |
Destructor.
Definition at line 34 of file RouteRequestModel.cpp.
Member Function Documentation
QVariant RouteRequestModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Overload of QAbstractListModel.
Definition at line 64 of file RouteRequestModel.cpp.
QVariant RouteRequestModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
Overload of QAbstractListModel.
Definition at line 55 of file RouteRequestModel.cpp.
Routing* RouteRequestModel::routing | ( | ) |
|
signal |
int RouteRequestModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Overload of QAbstractListModel.
Definition at line 39 of file RouteRequestModel.cpp.
|
slot |
Definition at line 128 of file RouteRequestModel.cpp.
|
slot |
Definition at line 82 of file RouteRequestModel.cpp.
Property Documentation
|
read |
Definition at line 24 of file RouteRequestModel.h.
|
readwrite |
Definition at line 23 of file RouteRequestModel.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:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.