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 24 of file vehiclelayoutrequest.h.

Property Documentation

◆ stopover

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

The stopover vehicle and platform layout information are requested for.

Definition at line 29 of file vehiclelayoutrequest.h.

Constructor & Destructor Documentation

◆ VehicleLayoutRequest()

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

◆ backendIds()

QStringList VehicleLayoutRequest::backendIds ( ) const

Identifiers of the backends that should be queried.

See also
setBackendIds()

Definition at line 58 of file vehiclelayoutrequest.cpp.

◆ cacheKey()

QString VehicleLayoutRequest::cacheKey ( ) const

Unique string representation used for caching results.

Definition at line 45 of file vehiclelayoutrequest.cpp.

◆ isValid()

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.

◆ setBackendIds()

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-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.