Attica::Icon

Attica::Icon Class Reference

#include <icon.h>

Public Types

typedef QList< IconList
 

Public Member Functions

 Icon ()
 
 Icon (const Icon &other)
 
 ~Icon ()
 
uint height () const
 
Iconoperator= (const Icon &other)
 
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.

Definition at line 24 of file icon.h.

Constructor & Destructor Documentation

Icon::Icon ( )

Creates an empty Icon.

Definition at line 25 of file icon.cpp.

Icon::Icon ( const Icon other)

Copy constructor.

Parameters
otherthe Icon to copy from

Definition at line 30 of file icon.cpp.

Icon::~Icon ( )

Destructor.

Definition at line 41 of file icon.cpp.

Member Function Documentation

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

Assignment operator.

Parameters
otherthe Icon to assign from
Returns
pointer to this Icon

Definition at line 35 of file icon.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 3 2020 23:00:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.