Attica::Icon

Search for usage in LXR

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 28 of file icon.cpp.

Icon::Icon ( const Icon other)

Copy constructor.

Parameters
otherthe Icon to copy from

Definition at line 33 of file icon.cpp.

Icon::~Icon ( )

Destructor.

Definition at line 44 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 38 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-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:02:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.