File: IconManagerInt.h

package info (click to toggle)
juffed 0.10-89-g3690b60-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,160 kB
  • sloc: cpp: 21,060; ansic: 446; xml: 329; sh: 68; makefile: 16
file content (18 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __JUFFED_ICON_MANAGER_INTERFACE_H__
#define __JUFFED_ICON_MANAGER_INTERFACE_H__

#include <QIcon>

class IconManagerInt {
public:
	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;
};

#endif // __JUFFED_ICON_MANAGER_INTERFACE_H__