Attica::Cloud Class

class Attica::Cloud

Represents a cloud service. More...

Header: #include <Attica/Cloud>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

Cloud()
qulonglong free() const
QUrl icon() const
QString key() const
QString name() const
qulonglong quota() const
float relative() const
void setFree(qulonglong free)
void setIcon(const QUrl &icon)
void setKey(const QString &privateKey)
void setName(const QString &name)
void setQuota(qulonglong quota)
void setRelative(float relative)
void setUrl(const QString &url)
void setUsed(qulonglong used)
QString url() const
qulonglong used() const

Detailed Description

Member Type Documentation

Cloud::List

Member Function Documentation

Cloud::Cloud()

Creates an empty Cloud

qulonglong Cloud::free() const

Returns the free amount of the Cloud service.

See also setFree().

QUrl Cloud::icon() const

Returns the icon of the Cloud service.

See also setIcon().

QString Cloud::key() const

Returns the private key of the Cloud service.

See also setKey().

QString Cloud::name() const

Returns the name of the Cloud service.

See also setName().

qulonglong Cloud::quota() const

Returns the quota of the Cloud service.

See also setQuota().

float Cloud::relative() const

Returns the relative of the Cloud service.

See also setRelative().

void Cloud::setFree(qulonglong free)

Sets the free amount of the Cloud service

free the new free amount

See also free().

void Cloud::setIcon(const QUrl &icon)

Sets the icon of the Cloud service

icon the new icon

See also icon().

void Cloud::setKey(const QString &privateKey)

Sets the private key of the Cloud service

privateKey the new privateKey

See also key().

void Cloud::setName(const QString &name)

Sets the name of the Cloud service

name the new name

See also name().

void Cloud::setQuota(qulonglong quota)

Sets the quota of the Cloud service

quota the new quota

See also quota().

void Cloud::setRelative(float relative)

Sets the relative of the Cloud service

relative the new relative

See also relative().

void Cloud::setUrl(const QString &url)

Sets the url of the Cloud service

url the new url

See also url().

void Cloud::setUsed(qulonglong used)

Sets the used amount of the Cloud service

used the new used amount

See also used().

QString Cloud::url() const

Returns the url of the Cloud service.

See also setUrl().

qulonglong Cloud::used() const

Returns the used amount of the Cloud service.

See also setUsed().