mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Wrap code for better readability
This commit is contained in:
@@ -35,7 +35,8 @@ QETRegExpValidator::QETRegExpValidator(const QRegExp ®exp, QObject *parent) :
|
||||
/**
|
||||
Destructeur
|
||||
*/
|
||||
QETRegExpValidator::~QETRegExpValidator() {
|
||||
QETRegExpValidator::~QETRegExpValidator()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +44,8 @@ QETRegExpValidator::~QETRegExpValidator() {
|
||||
@see validationFailed()
|
||||
Emet le signal validationFailed si la validation echoue
|
||||
*/
|
||||
QValidator::State QETRegExpValidator::validate(QString &input, int &pos) const {
|
||||
QValidator::State QETRegExpValidator::validate(QString &input, int &pos) const
|
||||
{
|
||||
QValidator::State result = QRegExpValidator::validate(input, pos);
|
||||
if (result == QValidator::Invalid) emit(validationFailed());
|
||||
return(result);
|
||||
|
||||
Reference in New Issue
Block a user