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

marble

  • Marble
  • Maneuver
Public Types | Public Member Functions | List of all members
Marble::Maneuver Class Reference

#include <Maneuver.h>

Public Types

enum  Direction {
  Unknown = 0, Continue = 13, Merge = 14, Straight = 1,
  SlightRight = 2, Right = 3, SharpRight = 4, TurnAround = 5,
  SharpLeft = 6, Left = 7, SlightLeft = 8, RoundaboutFirstExit = 9,
  RoundaboutSecondExit = 10, RoundaboutThirdExit = 11, RoundaboutExit = 12, ExitLeft = 15,
  ExitRight = 16
}
 

Public Member Functions

 Maneuver ()
 
Direction direction () const
 
QString directionPixmap () const
 
bool hasWaypoint () const
 
QString instructionText () const
 
bool operator!= (const Maneuver &other) const
 
bool operator== (const Maneuver &other) const
 
GeoDataCoordinates position () const
 
QString roadName () const
 
void setDirection (Direction direction)
 
void setInstructionText (const QString &text)
 
void setPosition (const GeoDataCoordinates &position)
 
void setRoadName (const QString &roadName)
 
void setWaypoint (const GeoDataCoordinates &waypoint, int index)
 
GeoDataCoordinates waypoint () const
 
int waypointIndex () const
 

Detailed Description

Definition at line 22 of file Maneuver.h.

Member Enumeration Documentation

enum Marble::Maneuver::Direction
Enumerator
Unknown 
Continue 
Merge 
Straight 
SlightRight 
Right 
SharpRight 
TurnAround 
SharpLeft 
Left 
SlightLeft 
RoundaboutFirstExit 
RoundaboutSecondExit 
RoundaboutThirdExit 
RoundaboutExit 
ExitLeft 
ExitRight 

Definition at line 26 of file Maneuver.h.

Constructor & Destructor Documentation

Marble::Maneuver::Maneuver ( )

Definition at line 19 of file Maneuver.cpp.

Member Function Documentation

Maneuver::Direction Marble::Maneuver::direction ( ) const

Definition at line 42 of file Maneuver.cpp.

QString Marble::Maneuver::directionPixmap ( ) const

Definition at line 47 of file Maneuver.cpp.

bool Marble::Maneuver::hasWaypoint ( ) const

Definition at line 86 of file Maneuver.cpp.

QString Marble::Maneuver::instructionText ( ) const

Definition at line 102 of file Maneuver.cpp.

bool Marble::Maneuver::operator!= ( const Maneuver &  other) const

Definition at line 61 of file Maneuver.cpp.

bool Marble::Maneuver::operator== ( const Maneuver &  other) const

Definition at line 52 of file Maneuver.cpp.

GeoDataCoordinates Marble::Maneuver::position ( ) const

Definition at line 71 of file Maneuver.cpp.

QString Marble::Maneuver::roadName ( ) const

Definition at line 112 of file Maneuver.cpp.

void Marble::Maneuver::setDirection ( Direction  direction)

Definition at line 66 of file Maneuver.cpp.

void Marble::Maneuver::setInstructionText ( const QString &  text)

Definition at line 107 of file Maneuver.cpp.

void Marble::Maneuver::setPosition ( const GeoDataCoordinates &  position)

Definition at line 76 of file Maneuver.cpp.

void Marble::Maneuver::setRoadName ( const QString &  roadName)

Definition at line 117 of file Maneuver.cpp.

void Marble::Maneuver::setWaypoint ( const GeoDataCoordinates &  waypoint,
int  index 
)

Definition at line 91 of file Maneuver.cpp.

GeoDataCoordinates Marble::Maneuver::waypoint ( ) const

Definition at line 81 of file Maneuver.cpp.

int Marble::Maneuver::waypointIndex ( ) const

Definition at line 97 of file Maneuver.cpp.


The documentation for this class was generated from the following files:
  • Maneuver.h
  • Maneuver.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 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