Attica::Cloud

Search for usage in LXR

Attica::Cloud Class Reference

#include <Attica/Cloud>

Public Types

typedef QList< CloudList
 

Public Member Functions

 Cloud ()
 
 Cloud (const Cloud &other)
 
 ~Cloud ()
 
qulonglong free () const
 
QUrl icon () const
 
QString key () const
 
QString name () const
 
Cloudoperator= (const Cloud &other)
 
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

Represents a cloud service.

Definition at line 26 of file cloud.h.

Member Typedef Documentation

◆ List

Definition at line 29 of file cloud.h.

Constructor & Destructor Documentation

◆ Cloud() [1/2]

Cloud::Cloud ( )

Creates an empty Cloud.

Definition at line 26 of file cloud.cpp.

◆ Cloud() [2/2]

Cloud::Cloud ( const Cloud & other)

Copy constructor.

Parameters
otherthe Cloud to copy from

Definition at line 31 of file cloud.cpp.

◆ ~Cloud()

Cloud::~Cloud ( )

Destructor.

Definition at line 42 of file cloud.cpp.

Member Function Documentation

◆ free()

qulonglong Cloud::free ( ) const

Gets the free amount of the Cloud service.

Returns
the free amount

Definition at line 91 of file cloud.cpp.

◆ icon()

QUrl Cloud::icon ( ) const

Gets the icon of the Cloud service.

Returns
the icon

Definition at line 71 of file cloud.cpp.

◆ key()

QString Cloud::key ( ) const

Gets the private key of the Cloud service.

Returns
the private key

Definition at line 121 of file cloud.cpp.

◆ name()

QString Cloud::name ( ) const

Gets the name of the Cloud service.

Returns
the name

Definition at line 51 of file cloud.cpp.

◆ operator=()

Cloud & Cloud::operator= ( const Cloud & other)

Assignment operator.

Parameters
otherthe Cloud to assign from
Returns
pointer to this Activity

Definition at line 36 of file cloud.cpp.

◆ quota()

qulonglong Cloud::quota ( ) const

Gets the quota of the Cloud service.

Returns
the quota

Definition at line 81 of file cloud.cpp.

◆ relative()

float Cloud::relative ( ) const

Gets the relative of the Cloud service.

Returns
the relative

Definition at line 111 of file cloud.cpp.

◆ setFree()

void Cloud::setFree ( qulonglong free)

Sets the free amount of the Cloud service.

Parameters
freethe new free amount

Definition at line 86 of file cloud.cpp.

◆ setIcon()

void Cloud::setIcon ( const QUrl & icon)

Sets the icon of the Cloud service.

Parameters
iconthe new icon

Definition at line 66 of file cloud.cpp.

◆ setKey()

void Cloud::setKey ( const QString & privateKey)

Sets the private key of the Cloud service.

Parameters
privateKeythe new privateKey

Definition at line 116 of file cloud.cpp.

◆ setName()

void Cloud::setName ( const QString & name)

Sets the name of the Cloud service.

Parameters
namethe new name

Definition at line 46 of file cloud.cpp.

◆ setQuota()

void Cloud::setQuota ( qulonglong quota)

Sets the quota of the Cloud service.

Parameters
quotathe new quota

Definition at line 76 of file cloud.cpp.

◆ setRelative()

void Cloud::setRelative ( float relative)

Sets the relative of the Cloud service.

Parameters
relativethe new relative

Definition at line 106 of file cloud.cpp.

◆ setUrl()

void Cloud::setUrl ( const QString & url)

Sets the url of the Cloud service.

Parameters
urlthe new url

Definition at line 56 of file cloud.cpp.

◆ setUsed()

void Cloud::setUsed ( qulonglong used)

Sets the used amount of the Cloud service.

Parameters
usedthe new used amount

Definition at line 96 of file cloud.cpp.

◆ url()

QString Cloud::url ( ) const

Gets the url of the Cloud service.

Returns
the url

Definition at line 61 of file cloud.cpp.

◆ used()

qulonglong Cloud::used ( ) const

Gets the used amount of the Cloud service.

Returns
the used amount

Definition at line 101 of file cloud.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.