Pages
API Documentation
On this page

Obsolete Members for KIO

The following members of class KIO are deprecated. We strongly advise against using them in new code.

Obsolete Type Documentation

[deprecated in 6.6] enum KIO::CacheControl

This enum is deprecated since 6.6. We strongly advise against using it in new code.

Specifies how to use the cache.

Not used

Constant Value Description
KIO::CC_CacheOnly 0 Fail request if not in cache
KIO::CC_Cache 1 Use cached entry if available
KIO::CC_Verify 2 Validate cached entry with remote site if expired
KIO::CC_Refresh 3 Always validate cached entry with remote site
KIO::CC_Reload 4 Always fetch from remote site

See also parseCacheControl(), getCacheControlString()

[deprecated in 6.19] enum KIO::PrivilegeOperationStatus

This enum is deprecated since 6.19. We strongly advise against using it in new code.

Specifies privilege file operation status.

Constant
KIO::OperationAllowed 1
KIO::OperationCanceled 2
KIO::OperationNotAllowed 3

Obsolete Function Documentation

[deprecated in 6.6] QString KIO::getCacheControlString(KIO::CacheControl cacheControl)

This function is deprecated since 6.6. We strongly advise against using it in new code.

Returns a string representation of the given cache control method.

cacheControl the cache control method

Returns the string representation

Not used.

See also parseCacheControl()

[deprecated in 6.9] KIO::SimpleJob *http_update_cache(const QUrl &url, bool no_cache, const QDateTime &expireDate)

This function is deprecated since 6.9. We strongly advise against using it in new code.

HTTP cache update

Not implemented.

url Url to update, protocol must be "http".

no_cache If true, cache entry for url is deleted.

expireDate Local machine time indicating when the entry is supposed to expire.

Returns the job handling the operation.

[deprecated in 6.6] KIO::CacheControl KIO::parseCacheControl(const QString &cacheControl)

This function is deprecated since 6.6. We strongly advise against using it in new code.

Parses the string representation of the cache control option.

cacheControl the string representation

Returns the cache control value.

Not used

See also getCacheControlString()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.