20 #ifndef _ENABLE_QT_EXPERIMENTAL_
21 #error You should define _ENABLE_QT_EXPERIMENTAL_ in order to use this experimental header file.
24 #include <QtCore/QUrl>
25 #include <QtCore/QXmlStreamReader>
53 typedef std::shared_ptr<QXmlStreamReader> QXmlStreamReaderSptr;
55 typedef QVector<QPair<QString, QString>> QXmlStreamReaderParameters;
64 QXmlStreamReaderSptr
read(QUrl
const& uri)
const;
73 QXmlStreamReaderSptr
read(QString
const& host, QXmlStreamReaderParameters
const& parameters)
const;
79 std::shared_ptr<XmlAsyncReader> p_;
QXmlStreamReaderSptr read(QUrl const &uri) const
Downloads a remote XML document and returns a parser containing the data.
Class that downloads http XML files synchronously.
Definition: XmlReader.h:46
Definition: HttpAsyncReader.h:39