42 #ifndef QNETWORKACCESSCACHE_P_H 43 #define QNETWORKACCESSCACHE_P_H 56 #include "QtCore/qobject.h" 57 #include "QtCore/qbasictimer.h" 58 #include "QtCore/qbytearray.h" 59 #include "QtCore/qhash.h" 60 #include "QtCore/qmetatype.h" bool requestEntry(const QByteArray &key, QObject *target, const char *member)
#define QT_END_NAMESPACE
This macro expands to.
void timerEvent(QTimerEvent *)
This event handler can be reimplemented in a subclass to receive timer events for the object...
The QByteArray class provides an array of bytes.
void entryReady(QNetworkAccessCache::CacheableObject *)
CacheableObject * requestEntryNow(const QByteArray &key)
friend class QNetworkAccessCache
The QUrl class provides a convenient interface for working with URLs.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void addEntry(const QByteArray &key, CacheableObject *entry)
virtual ~CacheableObject()
bool unlinkEntry(const QByteArray &key)
Removes the entry pointed by key from the linked list.
bool emitEntryReady(Node *node, QObject *target, const char *member)
QHash< QByteArray, Node > NodeHash
QByteArray cacheKey() const
bool hasEntry(const QByteArray &key) const
The QTimerEvent class contains parameters that describe a timer event.
void linkEntry(const QByteArray &key)
Appens the entry given by key to the end of the linked list.
void setExpires(bool enable)
void setShareable(bool enable)
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
The QBasicTimer class provides timer events for objects.
void releaseEntry(const QByteArray &key)
void removeEntry(const QByteArray &key)