Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 738 Bytes
#include <QIcon>
class IconManagerInt {
virtual ~IconManagerInt() {}
* Returns an icon of the current icon theme and the current size
* for the specified \param key. If the current theme doesn't contain
* an appropriate icon then returns a built-in icon (from "<default>" theme).
* If there is no default icon the returns an empty icon QIcon().
virtual QIcon icon(const QString& key) const = 0;
* Returns the current icon size. The default size is 16.
virtual int size() const = 0;
* Sets the icon size to \param size.
virtual void setSize(int) = 0;
Jump to Line
Something went wrong with that request. Please try again.