• 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
Routing Class Reference

#include <Routing.h>

Inheritance diagram for Routing:
Inheritance graph
[legend]

Public Types

enum  RoutingProfile { Motorcar, Bicycle, Pedestrian }
 

Public Slots

void addVia (qreal lon, qreal lat)
 
void clearRoute ()
 
void openRoute (const QString &filename)
 
void removeVia (int index)
 
void reverseRoute ()
 
void saveRoute (const QString &filename)
 
void setVia (int index, qreal lon, qreal lat)
 
void updateRoute ()
 
QObject * waypointModel ()
 

Signals

void hasRouteChanged ()
 
void mapChanged ()
 
void routingProfileChanged ()
 

Public Member Functions

 Routing (QObject *parent=0)
 
 ~Routing ()
 
bool hasRoute () const
 
MarbleWidget * map ()
 
QString routingProfile () const
 
void setMap (MarbleWidget *widget)
 
void setRoutingProfile (const QString &profile)
 

Properties

bool hasRoute
 
bool horizontal
 
MarbleWidget map
 
QString routingProfile
 

Detailed Description

Definition at line 15 of file Routing.qml.

Member Enumeration Documentation

enum Routing::RoutingProfile
Enumerator
Motorcar 
Bicycle 
Pedestrian 

Definition at line 34 of file Routing.h.

Constructor & Destructor Documentation

Routing::Routing ( QObject *  parent = 0)
explicit

Definition at line 42 of file Routing.cpp.

Routing::~Routing ( )

Definition at line 48 of file Routing.cpp.

Member Function Documentation

void Routing::addVia ( qreal  lon,
qreal  lat 
)
slot

Definition at line 107 of file Routing.cpp.

void Routing::clearRoute ( )
slot

Definition at line 155 of file Routing.cpp.

bool Routing::hasRoute ( ) const
void Routing::hasRouteChanged ( )
signal
MarbleWidget* Routing::map ( )
void Routing::mapChanged ( )
signal
void Routing::openRoute ( const QString &  filename)
slot
Todo:
FIXME: replace the file:// prefix on QML side

Definition at line 169 of file Routing.cpp.

void Routing::removeVia ( int  index)
slot

Definition at line 136 of file Routing.cpp.

void Routing::reverseRoute ( )
slot

Definition at line 148 of file Routing.cpp.

QString Routing::routingProfile ( ) const
void Routing::routingProfileChanged ( )
signal
void Routing::saveRoute ( const QString &  filename)
slot
Todo:
FIXME: replace the file:// prefix on QML side

Definition at line 187 of file Routing.cpp.

void Routing::setMap ( MarbleWidget *  widget)
Todo:
FIXME: Restrictive assumptions on available plugins and certain profile loading implementation

Definition at line 58 of file Routing.cpp.

void Routing::setRoutingProfile ( const QString &  profile)

Definition at line 91 of file Routing.cpp.

void Routing::setVia ( int  index,
qreal  lon,
qreal  lat 
)
slot

Definition at line 116 of file Routing.cpp.

void Routing::updateRoute ( )
slot

Definition at line 162 of file Routing.cpp.

QObject * Routing::waypointModel ( )
slot

Definition at line 53 of file Routing.cpp.

Property Documentation

bool Routing::hasRoute
read

Definition at line 31 of file Routing.h.

bool Routing::horizontal

Definition at line 18 of file Routing.qml.

MarbleWidget * Routing::map
readwrite

Definition at line 29 of file Routing.h.

QString Routing::routingProfile
readwrite

Definition at line 30 of file Routing.h.


The documentation for this class was generated from the following files:
  • Routing.qml
  • Routing.h
  • Routing.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