forked from qt-creator/qt-creator
Make QML color validation code reusable.
Reviewed-by: ckamm
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <qmljs/parser/qmljsastvisitor_p.h>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtGui/QColor>
|
||||
|
||||
namespace QmlJS {
|
||||
|
||||
@@ -80,6 +81,8 @@ private:
|
||||
bool _ignoreTypeErrors;
|
||||
};
|
||||
|
||||
QMLJS_EXPORT QColor toQColor(const QString &qmlColorString);
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
#endif // QMLJSCHECK_H
|
||||
|
||||
Reference in New Issue
Block a user