163 return *
d == *other.
d;
183 return !(*
d == *metadata_shared_invalid());
343 while (it != begin) {
345 out << int(it.key()) << it.value();
354 out << metaData.
url();
389 for (
quint32 i = 0; i < n; ++i) {
408 in >> metaData.
d->
url;
The QVariant class acts like a union for the most common Qt data types.
Status status() const
Returns the status of the data stream.
static uint hash(const uchar *p, int n)
#define QT_END_NAMESPACE
This macro expands to.
void clear()
Removes all items from the hash.
Status
This enum describes the current status of the data stream.
#define it(className, varName)
const_iterator ConstIterator
Qt-style synonym for QHash::const_iterator.
void setStatus(Status status)
Sets the status of the data stream to the status given.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_GLOBAL_STATIC(TYPE, NAME)
Declares a global static variable with the given type and name.
void setFragment(const QString &fragment)
Sets the fragment of the URL to fragment.
Attribute
Attribute codes for the QNetworkRequest and QNetworkReply.
virtual ~QAbstractNetworkCache()
Destroys the cache.
int size() const
Returns the number of items in the hash.
The QDateTime class provides date and time functions.
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the hash...
The QSharedData class is a base class for shared data objects.
void resetStatus()
Resets the status of the data stream.
QObject * parent() const
Returns a pointer to the parent object.
iterator begin()
Returns an STL-style iterator pointing to the first item in the hash.
QAbstractNetworkCache(QObject *parent=0)
Constructs an abstract network cache with the given parent.
The QDataStream class provides serialization of binary data to a QIODevice.
iterator insertMulti(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
void setPassword(const QString &password)
Sets the URL's password to password.