Attica 5.109.0
Public Types | Public Member Functions | List of all members
Attica::Icon

The Icon class contains information about an icon. More...

#include <Attica/Icon>

Public Types

typedef QList< IconList
 

Public Member Functions

 Icon ()
 Creates an empty Icon.
 
 Icon (const Icon &other)
 Copy constructor.
 
 ~Icon ()
 Destructor.
 
uint height () const
 
Iconoperator= (const Icon &other)
 Assignment operator.
 
void setHeight (uint height)
 
void setUrl (const QUrl &url)
 
void setWidth (uint width)
 
QUrl url () const
 
uint width () const
 

Detailed Description

The Icon class contains information about an icon.

It consists of a Url and icon size information.

Constructor & Destructor Documentation

◆ Icon() [1/2]

Attica::Icon::Icon ( )

Creates an empty Icon.

◆ Icon() [2/2]

Attica::Icon::Icon ( const Icon other)

Copy constructor.

Parameters
otherthe Icon to copy from

◆ ~Icon()

Attica::Icon::~Icon ( )

Destructor.

Member Function Documentation

◆ operator=()

Icon & Attica::Icon::operator= ( const Icon other)

Assignment operator.

Parameters
otherthe Icon to assign from
Returns
pointer to this Icon