Attica::BaseJob Class

class Attica::BaseJob

The baseclass for all job classes. More...

Header: #include <attica/atticabasejob.h>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)
Inherits: QObject
Inherited By:

Attica::DeleteJob, Attica::GetJob, Attica::PostJob, and Attica::PutJob

Public Types

enum NetworkRequestCustomAttributes { UserAttribute, PasswordAttribute }

Public Functions

(since 5.87) bool isAborted() const
Attica::Metadata metadata() const

Public Slots

void abort()
void start()

Protected Functions

virtual QNetworkReply *executeRequest() = 0
Attica::PlatformDependent *internals()
virtual void parse(const QString &xml) = 0
void setError(int errorCode)
void setMetadata(const Attica::Metadata &data) const

Protected Slots

void dataFinished()

Detailed Description

Member Type Documentation

enum BaseJob::NetworkRequestCustomAttributes

UserAttribute

PasswordAttribute

Member Function Documentation

[slot] void BaseJob::abort()

[protected slot] void BaseJob::dataFinished()

[pure virtual protected] QNetworkReply *BaseJob::executeRequest()

[protected] Attica::PlatformDependent *BaseJob::internals()

[since 5.87] bool BaseJob::isAborted() const

Returns whether abort() has been called on the job

This function was introduced in 5.87.

Attica::Metadata BaseJob::metadata() const

See also setMetadata().

[pure virtual protected] void BaseJob::parse(const QString &xml)

[protected] void BaseJob::setError(int errorCode)

[protected] void BaseJob::setMetadata(const Attica::Metadata &data) const

See also metadata().

[slot] void BaseJob::start()