• 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)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Properties

bool hasRoute
 
bool horizontal
 
MarbleWidget map
 
QString routingProfile
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 

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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 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
  • 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