42 #include <QtNetwork/QNetworkRequest> 43 #include <QtNetwork/QNetworkReply> 55 , m_variableNS(
QLatin1String(
"tag:trolltech.com,2007:QtXmlPatterns:QIODeviceVariable:"))
71 if(!variant.
isNull() && variant.
userType() == qMetaTypeId<QIODevice *>())
The QVariant class acts like a union for the most common Qt data types.
const NamePool::Ptr m_namePool
#define QT_END_NAMESPACE
This macro expands to.
QString toString(FormattingOptions options=None) const
Returns the human-displayable string representation of the URL.
bool isNull() const
Returns true if this is a NULL variant, false otherwise.
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
int length() const
Returns the number of characters in this string.
const QString m_variableNS
Operation
Indicates the operation this reply is processing.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QUrl url() const
Returns the URL this network request is referring to.
#define QT_BEGIN_NAMESPACE
This macro expands to.
const VariableLoader::Ptr m_variableLoader
The namespace for the internal API of QtXmlPatterns.
QVariant valueFor(const QXmlName &name) const
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
The QNetworkAccessManager class allows the application to send network requests and receive replies...
int userType() const
Returns the storage type of the value stored in the variant.
QXmlName allocateQName(const QString &uri, const QString &localName, const QString &prefix=QString())
virtual QNetworkReply * createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData=0)
Returns a new QNetworkReply object to handle the operation op and request req.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
URILoader(QObject *const parent, const NamePool::Ptr &np, const VariableLoader::Ptr &variableLoader)
virtual QNetworkReply * createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData=0)
Returns a new QNetworkReply object to handle the operation op and request req.
The QIODevice class is the base interface class of all I/O devices in Qt.