Obsolete Members for KIO::WorkerBase

The following members of class WorkerBase are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated in 6.19) void addTemporaryAuthorization(const QString &action)
(deprecated in 6.11) int connectTimeout()
(deprecated in 6.3) void errorPage()
(deprecated in 6.11) int proxyConnectTimeout()
(deprecated in 6.11) int readTimeout()
(deprecated in 6.19) KIO::PrivilegeOperationStatus requestPrivilegeOperation(const QString &operationDetails)
(deprecated in 6.11) int responseTimeout()
(deprecated in 6.19) void setIncomingMetaData(const KIO::MetaData &metaData)
(deprecated in 6.19) void workerStatus(const QString &host, bool connected)
(deprecated in 6.19) virtual void worker_status()

Member Function Documentation

[deprecated in 6.19] void WorkerBase::addTemporaryAuthorization(const QString &action)

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

Adds action to the list of PolicyKit actions which the worker is authorized to perform.

action the PolicyKit action

Not implemented

[deprecated in 6.11] int WorkerBase::connectTimeout()

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

Returns timeout value for connecting to remote host.

This is not used.

[deprecated in 6.3] void WorkerBase::errorPage()

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

Tell that we will only get an error page here. This means: the data you'll get isn't the data you requested, but an error page (usually HTML) that describes an error.

Not implemented.

[deprecated in 6.11] int WorkerBase::proxyConnectTimeout()

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

Returns the timeout value for connecting to proxy in secs.

This is not used.

[deprecated in 6.11] int WorkerBase::readTimeout()

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

Returns the timeout value for read from subsequent data from remote host in secs.

This is not used.

[deprecated in 6.19] KIO::PrivilegeOperationStatus WorkerBase::requestPrivilegeOperation(const QString &operationDetails)

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

Checks with job if privilege operation is allowed. Returns privilege operation status.

Not implemented

See also PrivilegeOperationStatus.

[deprecated in 6.11] int WorkerBase::responseTimeout()

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

Returns the timeout value for read from first data from remote host in seconds.

This is not used.

[deprecated in 6.19] void WorkerBase::setIncomingMetaData(const KIO::MetaData &metaData)

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

Set the Incoming Meta Data This is only really useful if your worker wants to overwrite the metadata for consumption in other worker functions; this overwrites existing metadata set by the client!

metaData metadata to set

Not used

[deprecated in 6.19] void WorkerBase::workerStatus(const QString &host, bool connected)

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

Used to report the status of the worker.

host the worker is currently connected to. (Should be empty if not connected)

connected Whether an actual network connection exists.

Not implemented.

[virtual, deprecated in 6.19] void WorkerBase::worker_status()

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

Called to get the status of the worker. Worker should respond by calling workerStatus(...)

Not implemented.