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

◆ color()

QColor LineMetaData::color ( ) const

Definition at line 56 of file linemetadata.cpp.

◆ find()

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 99 of file linemetadata.cpp.

◆ isNull()

bool LineMetaData::isNull ( ) const

Definition at line 46 of file linemetadata.cpp.

◆ logoUrl()

QUrl LineMetaData::logoUrl ( ) const

Definition at line 61 of file linemetadata.cpp.

◆ mode()

Line::Mode LineMetaData::mode ( ) const

Definition at line 70 of file linemetadata.cpp.

◆ modeLogoUrl()

QUrl LineMetaData::modeLogoUrl ( ) const

Definition at line 90 of file linemetadata.cpp.

◆ name()

QString LineMetaData::name ( ) const

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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.