forked from qt-creator/qt-creator
CPlusPlus: Use a namespace instead a dummy class for functions
Change-Id: Iaa364ef5fcd6f635fa07f0c43719b7b8feb1a428 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -34,18 +34,14 @@ namespace CPlusPlus {
|
||||
|
||||
class Symbol;
|
||||
|
||||
class CPLUSPLUS_EXPORT Icons
|
||||
{
|
||||
public:
|
||||
static QIcon iconForSymbol(const Symbol *symbol);
|
||||
namespace Icons {
|
||||
|
||||
static QIcon keywordIcon();
|
||||
static QIcon macroIcon();
|
||||
CPLUSPLUS_EXPORT QIcon iconForSymbol(const Symbol *symbol);
|
||||
|
||||
static Utils::CodeModelIcon::Type iconTypeForSymbol(const Symbol *symbol);
|
||||
CPLUSPLUS_EXPORT QIcon keywordIcon();
|
||||
CPLUSPLUS_EXPORT QIcon macroIcon();
|
||||
|
||||
private:
|
||||
Icons() {}
|
||||
};
|
||||
CPLUSPLUS_EXPORT Utils::CodeModelIcon::Type iconTypeForSymbol(const Symbol *symbol);
|
||||
|
||||
} // namespace Icons
|
||||
} // namespace CPlusPlus
|
||||
|
||||
Reference in New Issue
Block a user