QskStandardSymbol as namespace
This commit is contained in:
parent
3442542048
commit
28907c75d8
@ -36,7 +36,6 @@
|
||||
#include <QskSkin.h>
|
||||
#include <QskSkinManager.h>
|
||||
#include <QskSlider.h>
|
||||
#include <QskStandardSymbol.h>
|
||||
#include <QskStatusIndicator.h>
|
||||
#include <QskSubWindow.h>
|
||||
#include <QskSubWindowArea.h>
|
||||
@ -194,7 +193,6 @@ void QskQml::registerTypes()
|
||||
#endif
|
||||
|
||||
QSK_REGISTER_GADGET( QskRgbValueQml, "RgbValue" );
|
||||
QSK_REGISTER_GADGET( QskStandardSymbol, "StandardSymbol" );
|
||||
QSK_REGISTER_GADGET( QskBoxBorderMetrics, "BorderMetrics" );
|
||||
QSK_REGISTER_GADGET( QskBoxShapeMetrics, "Shape" );
|
||||
QSK_REGISTER_GADGET( QskShadowMetrics, "ShadowMetrics" );
|
||||
|
@ -11,11 +11,10 @@
|
||||
|
||||
class QskGraphic;
|
||||
|
||||
class QSK_EXPORT QskStandardSymbol
|
||||
namespace QskStandardSymbol
|
||||
{
|
||||
Q_GADGET
|
||||
QSK_EXPORT Q_NAMESPACE
|
||||
|
||||
public:
|
||||
enum Type
|
||||
{
|
||||
NoSymbol = -1,
|
||||
@ -31,9 +30,9 @@ class QSK_EXPORT QskStandardSymbol
|
||||
SymbolTypeCount
|
||||
};
|
||||
|
||||
Q_ENUM( Type )
|
||||
Q_ENUM_NS( Type )
|
||||
|
||||
static QskGraphic graphic( Type );
|
||||
};
|
||||
QSK_EXPORT QskGraphic graphic( Type );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user