diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-12-20 10:48:50 +0100 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-12-20 10:59:01 +0100 |
commit | 8605f528930744b2afc594c39afb146bd7ad4b54 (patch) | |
tree | 1b23288aa53631201fd3aabf0b4735d416cf55e7 | |
parent | 0ef5464cc2c79d834f565153111d48ae63249b97 (diff) |
QIntValidator: provide default argument to parent
For consistency.
Reviewed-by: Joao
Reviewed-by: Gabriel
Task-number: 16100
-rw-r--r-- | src/gui/widgets/qvalidator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/qvalidator.h b/src/gui/widgets/qvalidator.h index 63734ca21d..013387dc5f 100644 --- a/src/gui/widgets/qvalidator.h +++ b/src/gui/widgets/qvalidator.h @@ -101,7 +101,7 @@ class Q_GUI_EXPORT QIntValidator : public QValidator public: explicit QIntValidator(QObject * parent = 0); - QIntValidator(int bottom, int top, QObject * parent); + QIntValidator(int bottom, int top, QObject *parent = 0); ~QIntValidator(); QValidator::State validate(QString &, int &) const; @@ -142,7 +142,7 @@ class Q_GUI_EXPORT QDoubleValidator : public QValidator public: explicit QDoubleValidator(QObject * parent = 0); - QDoubleValidator(double bottom, double top, int decimals, QObject * parent); + QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0); ~QDoubleValidator(); enum Notation { @@ -186,7 +186,7 @@ class Q_GUI_EXPORT QRegExpValidator : public QValidator public: explicit QRegExpValidator(QObject *parent = 0); - QRegExpValidator(const QRegExp& rx, QObject *parent); + QRegExpValidator(const QRegExp& rx, QObject *parent = 0); ~QRegExpValidator(); virtual QValidator::State validate(QString& input, int& pos) const; |