| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickvalidator.cpp | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | QQuickIntValidator::QQuickIntValidator(QObject *parent) | - | ||||||
| 4 | : QIntValidator(parent) | - | ||||||
| 5 | { | - | ||||||
| 6 | } executed 8 times by 2 tests:  end of blockExecuted by: 
 | 8 | ||||||
| 7 | QString QQuickIntValidator::localeName() const | - | ||||||
| 8 | { | - | ||||||
| 9 | return executed 6 times by 1 test: locale().name(); return locale().name();Executed by: 
 executed 6 times by 1 test:  return locale().name();Executed by: 
 | 6 | ||||||
| 10 | } | - | ||||||
| 11 | - | |||||||
| 12 | void QQuickIntValidator::setLocaleName(const QString &name) | - | ||||||
| 13 | { | - | ||||||
| 14 | if (locale().name() != name 
 | 0-4 | ||||||
| 15 | setLocale(QLocale(name)); | - | ||||||
| 16 | localeNameChanged(); | - | ||||||
| 17 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 18 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 19 | - | |||||||
| 20 | void QQuickIntValidator::resetLocaleName() | - | ||||||
| 21 | { | - | ||||||
| 22 | QLocale defaultLocale; | - | ||||||
| 23 | if (locale() != defaultLocale 
 | 0-4 | ||||||
| 24 | setLocale(defaultLocale); | - | ||||||
| 25 | localeNameChanged(); | - | ||||||
| 26 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 27 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 28 | QQuickDoubleValidator::QQuickDoubleValidator(QObject *parent) | - | ||||||
| 29 | : QDoubleValidator(parent) | - | ||||||
| 30 | { | - | ||||||
| 31 | } executed 6 times by 1 test:  end of blockExecuted by: 
 | 6 | ||||||
| 32 | QString QQuickDoubleValidator::localeName() const | - | ||||||
| 33 | { | - | ||||||
| 34 | return executed 6 times by 1 test: locale().name(); return locale().name();Executed by: 
 executed 6 times by 1 test:  return locale().name();Executed by: 
 | 6 | ||||||
| 35 | } | - | ||||||
| 36 | - | |||||||
| 37 | void QQuickDoubleValidator::setLocaleName(const QString &name) | - | ||||||
| 38 | { | - | ||||||
| 39 | if (locale().name() != name 
 | 0-4 | ||||||
| 40 | setLocale(QLocale(name)); | - | ||||||
| 41 | localeNameChanged(); | - | ||||||
| 42 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 43 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 44 | - | |||||||
| 45 | void QQuickDoubleValidator::resetLocaleName() | - | ||||||
| 46 | { | - | ||||||
| 47 | QLocale defaultLocale; | - | ||||||
| 48 | if (locale() != defaultLocale 
 | 0-4 | ||||||
| 49 | setLocale(defaultLocale); | - | ||||||
| 50 | localeNameChanged(); | - | ||||||
| 51 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 52 | } executed 4 times by 1 test:  end of blockExecuted by: 
 | 4 | ||||||
| 53 | - | |||||||
| 54 | - | |||||||
| Switch to Source code | Preprocessed file |