navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
NGQPoint Class Reference

#include <ngqpoint.h>

Inheritance diagram for NGQPoint:

Public Slots

void setNewPoint (QString coord, NGQPointTypes type=PointOfInterest)
 
QString pointName ()
 
QString coordString ()
 
QString pointType ()
 
QUrl pointUrl ()
 
QString getInformation ()
 
QString getPOI (const QString &attr_name)
 

Public Member Functions

 NGQPoint (struct gui_priv *this_, struct point *p, NGQPointTypes type=MapPoint, QObject *parent=NULL)
 
 NGQPoint (struct gui_priv *this_, struct coord *c, NGQPointTypes type=Bookmark, QObject *parent=NULL)
 
 NGQPoint (struct gui_priv *this_, struct pcoord *pc, NGQPointTypes type=Bookmark, QObject *parent=NULL)
 
 NGQPoint (struct gui_priv *this_, struct coord *c, QString name, NGQPointTypes type=Bookmark, QObject *parent=NULL)
 
struct pcoordpc ()
 

Protected Member Functions

QDomElement _fieldValueHelper (QDomDocument doc, QString field, QString value)
 
QString _coordString ()
 
QString _coordName ()
 
void _setUrl (struct item *item)
 

Properties

QString coordString
 
QString pointName
 
QString pointType
 
QUrl pointUrl
 

Private Attributes

struct gui_privobject
 
NGQPointTypes type
 
struct coord_geo g
 
struct coord co
 
struct pcoord c
 
struct point p
 
struct item item
 
QString name
 
QString coord
 
QUrl url
 

Constructor & Destructor Documentation

NGQPoint::NGQPoint ( struct gui_priv this_,
struct point p,
NGQPointTypes  type = MapPoint,
QObject *  parent = NULL 
)
inline
NGQPoint::NGQPoint ( struct gui_priv this_,
struct coord c,
NGQPointTypes  type = Bookmark,
QObject *  parent = NULL 
)
inline
NGQPoint::NGQPoint ( struct gui_priv this_,
struct pcoord pc,
NGQPointTypes  type = Bookmark,
QObject *  parent = NULL 
)
inline
NGQPoint::NGQPoint ( struct gui_priv this_,
struct coord c,
QString  name,
NGQPointTypes  type = Bookmark,
QObject *  parent = NULL 
)
inline

Member Function Documentation

QString NGQPoint::_coordString ( )
inlineprotected

References g, coord_geo::lat, and coord_geo::lng.

Referenced by NGQPoint(), and setNewPoint().

QDomElement NGQPoint::_fieldValueHelper ( QDomDocument  doc,
QString  field,
QString  value 
)
inlineprotected

Referenced by getInformation().

void NGQPoint::_setUrl ( struct item item)
inlineprotected

References item_attr_get(), attr::num64, attr::u, and url.

Referenced by _coordName().

QString NGQPoint::coordString ( )
inlineslot

References coord.

struct pcoord* NGQPoint::pc ( )
inline

References c.

QString NGQPoint::pointName ( )
inlineslot

References name.

QString NGQPoint::pointType ( )
inlineslot
QUrl NGQPoint::pointUrl ( )
inlineslot

References url.

Field Documentation

struct pcoord NGQPoint::c
private
struct coord NGQPoint::co
private

Referenced by _coordName(), NGQPoint(), and setNewPoint().

QString NGQPoint::coord
private

Referenced by coordString().

struct coord_geo NGQPoint::g
private
struct item NGQPoint::item
private

Referenced by _coordName(), getInformation(), and getPOI().

QString NGQPoint::name
private

Referenced by NGQPoint(), pointName(), and setNewPoint().

struct gui_priv* NGQPoint::object
private
struct point NGQPoint::p
private
NGQPointTypes NGQPoint::type
private
QUrl NGQPoint::url
private

Referenced by _setUrl(), and pointUrl().

Property Documentation

QString NGQPoint::coordString
read
QString NGQPoint::pointName
read
QString NGQPoint::pointType
read
QUrl NGQPoint::pointUrl
read

The documentation for this class was generated from the following file: