IconInfo Class
Contains icon information returned by ThemeIconResolver More...
| Header: | #include <silicathemeiconresolver.h>
|
Public Types
| enum | IconType { ColorIcon, MonochromeIcon } |
Public Functions
Member Type Documentation
enum IconInfo::IconType
Type of the resolved icon
| Constant | Value | Description |
IconInfo::ColorIcon | 0 | Colored icon, won't get any special handling for content |
IconInfo::MonochromeIcon | 1 | Monochrome icon which gets inverted content on light and dark ambiences |
Member Function Documentation
IconInfo::IconInfo()
Default constructs an instance of IconInfo.
IconInfo::IconInfo(const QString &filePath, IconType iconType)
Default constructs an instance of IconInfo.
IconInfo::IconInfo(const IconInfo &other)
Copy constructor.
IconInfo::~IconInfo()
Destroys the instance of IconInfo.
QString IconInfo::filePath() const
Returns the file path of the icon
IconType IconInfo::iconType() const
Returns the icons color/monochrome type
IconInfo &IconInfo::operator=(const IconInfo &other)
Copy-assignment operator.