Add Q_ENUM for QValidator::State
Besides to the usual value for debug output, this is wanted for some declarative API. Change-Id: I6c35cad96b6a6f33a7c90e8a254bfe0075e391ee Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
48405219fb
commit
7a7ec94d6c
@ -69,6 +69,7 @@ public:
|
||||
Intermediate,
|
||||
Acceptable
|
||||
};
|
||||
Q_ENUM(State)
|
||||
|
||||
void setLocale(const QLocale &locale);
|
||||
QLocale locale() const;
|
||||
|
Loading…
Reference in New Issue
Block a user