|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.network.QNetworkRequest.CacheLoadControl
public static final class QNetworkRequest.CacheLoadControl
Controls the caching mechanism of QNetworkAccessManager
.
Field Summary | |
---|---|
static QNetworkRequest.CacheLoadControl |
AlwaysCache
only load from cache, indicating error if the item was not cached (i.e., off-line mode) |
static QNetworkRequest.CacheLoadControl |
AlwaysNetwork
always load from network and do not check if the cache has a valid entry (similar to the "Reload" feature in browsers) |
static QNetworkRequest.CacheLoadControl |
PreferCache
load from cache if available, otherwise load from network. |
static QNetworkRequest.CacheLoadControl |
PreferNetwork
default value; load from the network if the cached entry is older than the network entry |
Method Summary | |
---|---|
static QNetworkRequest.CacheLoadControl |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QNetworkRequest.CacheLoadControl |
valueOf(java.lang.String name)
|
static QNetworkRequest.CacheLoadControl[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QNetworkRequest.CacheLoadControl AlwaysNetwork
public static final QNetworkRequest.CacheLoadControl PreferNetwork
public static final QNetworkRequest.CacheLoadControl PreferCache
public static final QNetworkRequest.CacheLoadControl AlwaysCache
Method Detail |
---|
public static QNetworkRequest.CacheLoadControl[] values()
public static QNetworkRequest.CacheLoadControl valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QNetworkRequest.CacheLoadControl resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |