KPublicTransport::VehicleLayoutRequest

Search for usage in LXR

KPublicTransport::VehicleLayoutRequest Class Reference

#include <vehiclelayoutrequest.h>

Properties

KPublicTransport::Stopover stopover
 

Public Member Functions

 VehicleLayoutRequest (const Stopover &stopover)
 
QStringList backendIds () const
 
QString cacheKey () const
 
bool isValid () const
 
void setBackendIds (const QStringList &backendIds)
 

Detailed Description

Describes a query for vehicle layout information.

Definition at line 25 of file vehiclelayoutrequest.h.

Property Documentation

KPublicTransport::Stopover KPublicTransport::VehicleLayoutRequest::stopover
readwrite

The stopover vehicle and platform layout information are requested for.

Definition at line 30 of file vehiclelayoutrequest.h.

Constructor & Destructor Documentation

VehicleLayoutRequest::VehicleLayoutRequest ( const Stopover stopover)
explicit

Creates a vehicle layout request for the given stopover.

Definition at line 34 of file vehiclelayoutrequest.cpp.

Member Function Documentation

QStringList VehicleLayoutRequest::backendIds ( ) const

Identifiers of the backends that should be queried.

See also
setBackendIds()

Definition at line 58 of file vehiclelayoutrequest.cpp.

QString VehicleLayoutRequest::cacheKey ( ) const

Unique string representation used for caching results.

Definition at line 45 of file vehiclelayoutrequest.cpp.

bool VehicleLayoutRequest::isValid ( ) const

Returns true if this is a valid request, that is it has enough parameters set to perform a query.

Definition at line 40 of file vehiclelayoutrequest.cpp.

void VehicleLayoutRequest::setBackendIds ( const QStringList backendIds)

Set identifiers of backends that should be queried.

Settings this is only needed when you want explicit control over this, leaving this empty picks suitable backends automatically.

Definition at line 63 of file vehiclelayoutrequest.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 Sat Oct 16 2021 23:07:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.