KItinerary
jsapi/jsonld.h
80 Q_INVOKABLE QDateTime toDateTime(const QString &dtStr, const QJSValue &format, const QJSValue &localeName) const;
97 * This is a workaround for JS destroying timezone information when getting in touch with a QDateTime
98 * object. With this method it is safe to read a QDateTime property e.g. from a Qt gadget or QObject
113 QDateTime toDateTime(const QString &dtStr, const QString &format, const QString &localeName) const;
Q_INVOKABLE QJSValue newEventReservation() const
Convenience method that generates a full EventReservation JS object.
Definition jsapi/jsonld.cpp:133
Q_INVOKABLE QJSValue toGeoCoordinates(const QString &mapUrl)
Parses geo coordinates from a given mapping service URLs.
Definition jsapi/jsonld.cpp:337
Q_INVOKABLE QJSValue newLodgingReservation() const
Convenience method that generates a full LodgingReservation JS object.
Definition jsapi/jsonld.cpp:121
Q_INVOKABLE QJSValue newBusReservation() const
Convenience method that generates a full BusReservation JS object.
Definition jsapi/jsonld.cpp:98
Q_INVOKABLE QJSValue busToTrainReservation(const QJSValue &busRes) const
Convert a bus reservation to a train reservation.
Definition jsapi/jsonld.cpp:206
Q_INVOKABLE QJSValue newObject(const QString &typeName) const
Create a new JSON-LD object of type typeName.
Definition jsapi/jsonld.cpp:33
Q_INVOKABLE QJSValue apply(const QJSValue &lhs, const QJSValue &rhs) const
Definition jsapi/jsonld.cpp:364
Q_INVOKABLE QJSValue clone(const QJSValue &v) const
Clones the given JS object.
Definition jsapi/jsonld.cpp:332
Q_INVOKABLE QJSValue toJson(const QVariant &v) const
Convert object v to a JSON-LD object.
Definition jsapi/jsonld.cpp:321
Q_INVOKABLE QJSValue newRentalCarReservation() const
Convenience method that generates a full RentalCarReservation JS object.
Definition jsapi/jsonld.cpp:163
Q_INVOKABLE QDateTime toDateTime(const QString &dtStr, const QJSValue &format, const QJSValue &localeName) const
Convert a date/time string to a date/time value.
Definition jsapi/jsonld.cpp:293
Q_INVOKABLE QJSValue readQDateTime(const QVariant &obj, const QString &propName) const
Read a QDateTime property and return a JSON-LD serialization of it.
Definition jsapi/jsonld.cpp:348
Q_INVOKABLE QJSValue newFoodEstablishmentReservation() const
Convenience method that generates a full FoodEstablishmentReservation JS object.
Definition jsapi/jsonld.cpp:151
Q_INVOKABLE QJSValue newTrainReservation() const
Convenience method that generates a full TrainReservation JS object.
Definition jsapi/jsonld.cpp:74
Q_INVOKABLE QJSValue newFlightReservation() const
Convenience method that generates a full FlightReservation JS object.
Definition jsapi/jsonld.cpp:52
Q_INVOKABLE QJSValue newBoatReservation() const
Convenience method that generates a full BoatReservation JS object.
Definition jsapi/jsonld.cpp:182
Q_INVOKABLE QJSValue trainToBusReservation(const QJSValue &trainRes) const
Convert a train reservation to a bus reservation.
Definition jsapi/jsonld.cpp:201
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.