IIconProvider.h
Go to the documentation of this file.
1 #ifndef iqtgui_IIconProvider_included
2 #define iqtgui_IIconProvider_included
3 
4 
5 // Qt includes
6 #include <QtGui/QIcon>
7 
8 
9 // ACF includes
10 #include <istd/IPolymorphic.h>
11 #include <iqtgui/iqtgui.h>
12 
13 
14 namespace iqtgui
15 {
16 
17 
21 class IIconProvider: virtual public istd::IPolymorphic
22 {
23 public:
27  virtual int GetIconCount() const = 0;
28 
32  virtual QIcon GetIcon(int iconIndex) const = 0;
33 };
34 
35 
36 } // namespace iqtgui
37 
38 
39 #endif // !iqtgui_IIconProvider_included
40 
This interface provides acces to an icon.
Definition: IIconProvider.h:21
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
virtual QIcon GetIcon(int iconIndex) const =0
Gets icon with the index iconIndex from collection.
virtual int GetIconCount() const =0
Gets the number of icons in the collection.

© 2007-2017 Witold Gantzke and Kirill Lepskiy