Herunterladen als
root/src/validators/uniquevalidator.h @ 9e2d71d6
ec6a9500 | Christian Ehringfeld | #ifndef UNIQUEVALIDATOR_H
|
|
#define UNIQUEVALIDATOR_H
|
|||
#include "validator.h"
|
|||
namespace CuteEntityManager {
|
|||
class UniqueValidator : public Validator {
|
|||
Q_OBJECT
|
|||
public:
|
|||
UniqueValidator();
|
|||
28d2f01a | Christian Ehringfeld | virtual QList<ErrorMsg> validate(QVariant value, QList<Param> params) const override;
|
|
protected:
|
|||
ec6a9500 | Christian Ehringfeld | ErrorMsg validateParam(QVariant value, Param param) const final override;
|
|
};
|
|||
}
|
|||
#endif // UNIQUEVALIDATOR_H
|