7#ifndef KPUBLICTRANSPORT_STOPOVERREQUEST_H
8#define KPUBLICTRANSPORT_STOPOVERREQUEST_H
10#include "kpublictransport_export.h"
12#include <KPublicTransport/Datatypes>
13#include <KPublicTransport/Line>
16#include <QSharedDataPointer>
27class StopoverRequestPrivate;
41 KPUBLICTRANSPORT_PROPERTY(
QDateTime, dateTime, setDateTime)
44 Q_PROPERTY(QVariantList lineModes READ lineModesVariant WRITE setLineModesVariant)
57 KPUBLICTRANSPORT_PROPERTY(
Mode, mode, setMode)
59 Q_PROPERTY(
QStringList backends READ backendIds WRITE setBackendIds)
64 KPUBLICTRANSPORT_PROPERTY(
bool, downloadAssets, setDownloadAssets)
70 KPUBLICTRANSPORT_PROPERTY(
int, maximumResults, setMaximumResults)
93 const std::vector<
Line::
Mode>& lineModes() const;
99 void setLineModes(std::vector <
Line::
Mode> &&modes);
108 friend class AbstractBackend;
110 friend class StopoverReplyPrivate;
113 Q_DECL_HIDDEN QVariantList lineModesVariant() const;
114 Q_DECL_HIDDEN
void setLineModesVariant(const QVariantList &modes);
116 Q_DECL_HIDDEN RequestContext context(const AbstractBackend *backend) const;
117 Q_DECL_HIDDEN const std::vector<RequestContext>& contexts() const;
118 Q_DECL_HIDDEN
void setContext(const AbstractBackend *backend, RequestContext &&context);
Entry point for starting public transport queries.
Departure or arrival query reply.
Describes an arrival or departure search.
Mode
Query departures or arrivals?
@ QueryArrival
Search for arrivals.
void stop(Ekos::AlignState mode)
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 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.