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.

Member Typedef Documentation

◆ List

Definition at line 29 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]

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

Copy constructor.

otherthe Icon to copy from

◆ ~Icon()

Icon::~Icon ( )


Definition at line 44 of file icon.cpp.

Member Function Documentation

◆ height()

uint Icon::height ( ) const

Definition at line 68 of file icon.cpp.

◆ operator=()

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

Assignment operator.

otherthe Icon to assign from
pointer to this Icon

Definition at line 38 of file icon.cpp.

◆ setHeight()

void Icon::setHeight ( uint height)

Definition at line 73 of file icon.cpp.

◆ setUrl()

void Icon::setUrl ( const QUrl & url)

Definition at line 53 of file icon.cpp.

◆ setWidth()

void Icon::setWidth ( uint width)

Definition at line 63 of file icon.cpp.

◆ url()

QUrl Icon::url ( ) const

Definition at line 48 of file icon.cpp.

◆ width()

uint Icon::width ( ) const

Definition at line 58 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:48 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.