navit  0.5.3-trunk
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() [1/4]

NGQPoint::NGQPoint ( struct gui_priv this_,
struct point p,
NGQPointTypes  type = MapPoint,
QObject *  parent = NULL 
)
inline

◆ NGQPoint() [2/4]

NGQPoint::NGQPoint ( struct gui_priv this_,
struct coord c,
NGQPointTypes  type = Bookmark,
QObject *  parent = NULL 
)
inline

◆ NGQPoint() [3/4]

NGQPoint::NGQPoint ( struct gui_priv this_,
struct pcoord pc,
NGQPointTypes  type = Bookmark,
QObject *  parent = NULL 
)
inline

◆ NGQPoint() [4/4]

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

Member Function Documentation

◆ _coordName()

◆ _coordString()

QString NGQPoint::_coordString ( )
inlineprotected

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

Referenced by NGQPoint(), and setNewPoint().

◆ _fieldValueHelper()

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

Referenced by getInformation().

◆ _setUrl()

void NGQPoint::_setUrl ( struct item item)
inlineprotected

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

Referenced by _coordName().

◆ coordString

QString NGQPoint::coordString ( )
inlineslot

References coord.

◆ getInformation

◆ getPOI

◆ pc()

struct pcoord* NGQPoint::pc ( )
inline

References c.

◆ pointName

QString NGQPoint::pointName ( )
inlineslot

References name.

◆ pointType

QString NGQPoint::pointType ( )
inlineslot

◆ pointUrl

QUrl NGQPoint::pointUrl ( )
inlineslot

References url.

◆ setNewPoint

Field Documentation

◆ c

struct pcoord NGQPoint::c
private

◆ co

struct coord NGQPoint::co
private

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

◆ coord

QString NGQPoint::coord
private

Referenced by coordString().

◆ g

struct coord_geo NGQPoint::g
private

◆ item

struct item NGQPoint::item
private

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

◆ name

QString NGQPoint::name
private

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

◆ object

struct gui_priv* NGQPoint::object
private

◆ p

struct point NGQPoint::p
private

◆ type

NGQPointTypes NGQPoint::type
private

◆ url

QUrl NGQPoint::url
private

Referenced by _setUrl(), and pointUrl().

Property Documentation

◆ coordString

QString NGQPoint::coordString
read

◆ pointName

QString NGQPoint::pointName
read

◆ pointType

QString NGQPoint::pointType
read

◆ pointUrl

QUrl NGQPoint::pointUrl
read

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