KPublicTransport::LineMetaData

Search for usage in LXR

KPublicTransport::LineMetaData Class Reference

#include <linemetadata.h>

Public Member Functions

 LineMetaData (const LineMetaData &)
 
QColor color () const
 
bool isNull () const
 
QUrl logoUrl () const
 
Line::Mode mode () const
 
QUrl modeLogoUrl () const
 
QString name () const
 
LineMetaDataoperator= (const LineMetaData &)
 

Static Public Member Functions

static LineMetaData find (double latitude, double longitude, const QString &name, Line::Mode mode)
 

Detailed Description

Static information about a public transport line.

exported only for unit tests

Definition at line 25 of file linemetadata.h.

Member Function Documentation

LineMetaData LineMetaData::find ( double  latitude,
double  longitude,
const QString name,
Line::Mode  mode 
)
static

Attempts to find information about a line with the given name and a stop at the given coordinates.

Definition at line 90 of file linemetadata.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Oct 17 2021 23:07:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.