KPublicTransport::Backend

Search for usage in LXR

KPublicTransport::Backend Class Reference

#include <backend.h>

Properties

QString description
 
QString identifier
 
bool isSecure
 
QString name
 

Public Member Functions

Q_INVOKABLE KPublicTransport::CoverageArea coverageArea (KPublicTransport::CoverageArea::Type coverageType) const
 
QString description () const
 
QString identifier () const
 
bool isSecure () const
 
QString name () const
 

Detailed Description

Information about a backend service queried for location/departure/journey data.

This is used to let the user (API user or end user) determine which backends to query.

Definition at line 21 of file backend.h.

Property Documentation

◆ description

QString KPublicTransport::Backend::description
read

Humand readable description of this backend.

Definition at line 31 of file backend.h.

◆ identifier

QString KPublicTransport::Backend::identifier
read

Internal identifier of this backend.

Not intended for display, use for storing per-backend settings for example.

Definition at line 27 of file backend.h.

◆ isSecure

bool KPublicTransport::Backend::isSecure
read

Supports secrure network access.

Yes, even in 2019 that is unfortunately not guaranteed.

Definition at line 35 of file backend.h.

◆ name

QString KPublicTransport::Backend::name
read

Short, humand readable name of the backend.

Typically the company providing the service

Definition at line 29 of file backend.h.

Member Function Documentation

◆ coverageArea()

CoverageArea Backend::coverageArea ( KPublicTransport::CoverageArea::Type coverageType) const

Definition at line 40 of file backend.cpp.

◆ description()

QString Backend::description ( ) const

Definition at line 30 of file backend.cpp.

◆ identifier()

QString Backend::identifier ( ) const

Definition at line 20 of file backend.cpp.

◆ isSecure()

bool Backend::isSecure ( ) const

Definition at line 35 of file backend.cpp.

◆ name()

QString Backend::name ( ) const

Definition at line 25 of file backend.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 Fri Oct 11 2024 12:12:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.