KPublicTransport::LineMetaData
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 |
LineMetaData & | operator= (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
◆ color()
Definition at line 56 of file linemetadata.cpp.
◆ find()
|
static |
Attempts to find information about a line with the given name and a stop at the given coordinates.
Definition at line 99 of file linemetadata.cpp.
◆ isNull()
Definition at line 46 of file linemetadata.cpp.
◆ logoUrl()
Definition at line 61 of file linemetadata.cpp.
◆ mode()
Definition at line 70 of file linemetadata.cpp.
◆ modeLogoUrl()
Definition at line 90 of file linemetadata.cpp.
◆ name()
Definition at line 51 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-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:46:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:46:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.