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

marble

Public Types | Public Slots | Signals | Public Member Functions | Properties | List of all members
RouteRequestModel Class Reference

#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

enum RouteRequestModel::RouteRequestModelRoles
Enumerator
LongitudeRole 
LatitudeRole 

Definition at line 27 of file RouteRequestModel.h.

Constructor & Destructor Documentation

RouteRequestModel::RouteRequestModel ( QObject *  parent = 0)
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 ( )
void RouteRequestModel::routingChanged ( )
signal
int RouteRequestModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Overload of QAbstractListModel.

Definition at line 39 of file RouteRequestModel.cpp.

void RouteRequestModel::setPosition ( int  index,
qreal  longitude,
qreal  latitude 
)
slot

Definition at line 128 of file RouteRequestModel.cpp.

void RouteRequestModel::setRouting ( Routing *  routing)
slot

Definition at line 82 of file RouteRequestModel.cpp.

Property Documentation

int RouteRequestModel::count
read

Definition at line 24 of file RouteRequestModel.h.

Routing * RouteRequestModel::routing
readwrite

Definition at line 23 of file RouteRequestModel.h.


The documentation for this class was generated from the following files:
  • RouteRequestModel.h
  • RouteRequestModel.cpp
This file is part of the KDE documentation.
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.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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