Attica::Icon Class
class Attica::IconThe Icon class contains information about an icon. More...
Header: | #include <Attica/Icon> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Attica) target_link_libraries(mytarget PRIVATE KF6::Attica) |
Public Types
Public Functions
Icon() | |
uint | height() const |
void | setHeight(uint height) |
void | setUrl(const QUrl &url) |
void | setWidth(uint width) |
QUrl | url() const |
uint | width() const |
Detailed Description
It consists of a Url and icon size information.
Member Type Documentation
Icon::List
Member Function Documentation
Icon::Icon()
Creates an empty Icon
uint Icon::height() const
See also setHeight().
void Icon::setHeight(uint height)
See also height().
void Icon::setUrl(const QUrl &url)
See also url().
void Icon::setWidth(uint width)
See also width().
QUrl Icon::url() const
See also setUrl().
uint Icon::width() const
See also setWidth().