Attica::Icon

Search for usage in LXR

Attica::Icon Class Reference

#include <Attica/Icon>

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 26 of file icon.h.

Constructor & Destructor Documentation

◆ Icon() [1/2]

Icon::Icon ( )

Creates an empty Icon.

Definition at line 28 of file icon.cpp.

◆ Icon() [2/2]

Icon::Icon ( const Icon other)

Copy constructor.

Parameters
otherthe Icon to copy from

Definition at line 33 of file icon.cpp.

◆ ~Icon()

Icon::~Icon ( )

Destructor.

Definition at line 44 of file icon.cpp.

Member Function Documentation

◆ operator=()

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-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.