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

marble

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

#include <GeoUriParser.h>

Public Member Functions

 GeoUriParser (const QString &geoUri=QString())
 
GeoDataCoordinates coordinates () const
 
QString geoUri () const
 
bool parse ()
 
Planet planet () const
 
void setGeoUri (const QString &geoUri)
 

Detailed Description

A class for parsing Geo: URIs.

Wikipage: http://en.wikipedia.org/wiki/Geo_URI RFC: 5870 (8 June 2010)

Definition at line 27 of file GeoUriParser.h.

Constructor & Destructor Documentation

Marble::GeoUriParser::GeoUriParser ( const QString &  geoUri = QString())
explicit

Constructs a new GeoUriParser with the given Geo URI.

Definition at line 23 of file GeoUriParser.cpp.

Member Function Documentation

GeoDataCoordinates Marble::GeoUriParser::coordinates ( ) const

Returns the coordinates parsed.

null is returned when parsing was not successful.

Definition at line 42 of file GeoUriParser.cpp.

QString Marble::GeoUriParser::geoUri ( ) const

Returns the Geo URI stored in this parser.

Definition at line 37 of file GeoUriParser.cpp.

bool Marble::GeoUriParser::parse ( )

Parse the given Geo URI.

Returns
true iff the GeoURI is valid and was successfully parsed

Definition at line 72 of file GeoUriParser.cpp.

Planet Marble::GeoUriParser::planet ( ) const

Returns the Planet on which the coordinates are valid.

Definition at line 47 of file GeoUriParser.cpp.

void Marble::GeoUriParser::setGeoUri ( const QString &  geoUri)

Set the Geo URI to be parsed.

Definition at line 30 of file GeoUriParser.cpp.


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