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

marble/src

GpsElement Class Reference

#include <GpsElement.h>

Inheritance diagram for GpsElement:

Inheritance graph
[legend]

List of all members.


Detailed Description

common details of every gps element

This class is just to keep all of the common parts of the gps data together.

Definition at line 22 of file GpsElement.h.


Public Member Functions

 GpsElement ()
 ~GpsElement ()
void setName (const QString &name)
QString name ()
void setGpsComment (const QString &comment)
QString gpsComment ()
void setDescription (const QString &description)
QString description ()
void setSource (const QString &source)
QString source ()
void addLink (const QString &link)
QVector< QUrl > links ()
void setNumber (int number)
int number ()

Constructor & Destructor Documentation

GpsElement::GpsElement (  ) 

constructor, set all pointers to 0;

Definition at line 15 of file GpsElement.cpp.

GpsElement::~GpsElement (  ) 

destructor, delete all pointers

Definition at line 21 of file GpsElement.cpp.


Member Function Documentation

void GpsElement::setName ( const QString &  name  ) 

m_name setter

Definition at line 31 of file GpsElement.cpp.

QString GpsElement::name (  ) 

m_name getter

Returns:
the name of this gps element or an empty string if one has not been provided

Definition at line 36 of file GpsElement.cpp.

void GpsElement::setGpsComment ( const QString &  comment  ) 

m_gpsComment setter

Definition at line 41 of file GpsElement.cpp.

QString GpsElement::gpsComment (  ) 

m_gpsComment getter

Returns:
a comment about this gps data or an empty string if one has not been provided

Definition at line 46 of file GpsElement.cpp.

void GpsElement::setDescription ( const QString &  description  ) 

m_discription setter

Definition at line 51 of file GpsElement.cpp.

QString GpsElement::description (  ) 

m_discription getter

Returns:
description about this particular gps data element or an empty string if that information has not been provided

Definition at line 56 of file GpsElement.cpp.

void GpsElement::setSource ( const QString &  source  ) 

m_source setter

Definition at line 61 of file GpsElement.cpp.

QString GpsElement::source (  ) 

m_source getter

Returns:
a string representation of the source of this data or an empty string if that information is not known

Definition at line 66 of file GpsElement.cpp.

void GpsElement::addLink ( const QString &  link  ) 

add a previously verified link to m_links

Definition at line 71 of file GpsElement.cpp.

QVector< QUrl > GpsElement::links (  ) 

get all links

Returns:
a vector containing all links or an empty vector

Definition at line 79 of file GpsElement.cpp.

void GpsElement::setNumber ( int  number  ) 

m_number setter

Definition at line 84 of file GpsElement.cpp.

int GpsElement::number (  ) 

m_gpsComment setter

Returns:
the number of this gps element or -1 if one has not been provided

Definition at line 90 of file GpsElement.cpp.


The documentation for this class was generated from the following files:
  • GpsElement.h
  • GpsElement.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal