KWeatherCore
pendingweatherforecast.cpp
86 req.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::NoLessSafeRedirectPolicy);
89 req.setHeader(QNetworkRequest::UserAgentHeader, QStringLiteral("KWeatherCore/" KWEATHERCORE_VERSION_STRING " [email protected]"));
QString errorString() const const
std::optional< QSqlQuery > query(const QString &queryStatement)
RedirectPolicyAttribute
The WeatherForecast class contains the weather information of one location for days.
Definition: weatherforecast.h:22
QNetworkReply::NetworkError error() const const
void finished()
Emitted once the job has been finished, either successfully or with an error.
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void deleteLater()
bool isEmpty() const const
QueuedConnection
UserAgentHeader
WeatherForecast value() const
value pointer to the shared weather data the pointer is nullptr until finished() raised
Definition: pendingweatherforecast.cpp:117
NoError
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
NoLessSafeRedirectPolicy
void finished()
QByteArray readAll()
The PendingWeatherForecast class contains the reply to an asynchronous weather forecast request.
Definition: pendingweatherforecast.h:25
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:51:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:51:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.