KPublicTransport
7#ifndef KPUBLICTRANSPORT_PATH_H
8#define KPUBLICTRANSPORT_PATH_H
10#include "kpublictransport_export.h"
17class PathSectionPrivate;
30 KPUBLICTRANSPORT_PROPERTY(
QString, description, setDescription)
35 Q_PROPERTY(
int distance READ distance STORED false)
37 Q_PROPERTY(
int direction READ direction STORED false)
42 KPUBLICTRANSPORT_PROPERTY(
int, floorLevelChange, setFloorLevelChange)
54 KPUBLICTRANSPORT_PROPERTY(
Maneuver, maneuver, setManeuver)
62 int direction() const;
88class KPUBLICTRANSPORT_EXPORT
Path
90 KPUBLICTRANSPORT_GADGET(
Path)
95 Q_PROPERTY(
int sectionCount READ sectionCount STORED false)
98 Q_PROPERTY(
int distance READ distance STORED false)
102 bool isEmpty() const;
112 int distance() const;
125 int sectionCount() const;
Maneuver
Maneuver associated with a path section.
@ Elevator
Take an elevator.
@ Escalator
Take an escalator.
@ Move
Move/drive with the default mode of transport for this path.
@ Stairs
Walk up or down stairs.
A path followed by any kind of location change.
Query operations and data types for accessing realtime public transport information from online servi...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:06 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.