| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickdragaxis.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | QQuickDragAxis::QQuickDragAxis() | - | ||||||
| 4 | : m_minimum(-std::numeric_limits<qreal>::max()) | - | ||||||
| 5 | , m_maximum(std::numeric_limits<qreal>::max()) | - | ||||||
| 6 | , m_enabled(true) | - | ||||||
| 7 | { | - | ||||||
| 8 | } executed 792 times by 3 tests: end of blockExecuted by:
| 792 | ||||||
| 9 | - | |||||||
| 10 | void QQuickDragAxis::setMinimum(qreal minimum) | - | ||||||
| 11 | { | - | ||||||
| 12 | if (m_minimum == minimum
| 0-388 | ||||||
| 13 | return; never executed: return; | 0 | ||||||
| 14 | - | |||||||
| 15 | m_minimum = minimum; | - | ||||||
| 16 | minimumChanged(); | - | ||||||
| 17 | } executed 388 times by 2 tests: end of blockExecuted by:
| 388 | ||||||
| 18 | - | |||||||
| 19 | void QQuickDragAxis::setMaximum(qreal maximum) | - | ||||||
| 20 | { | - | ||||||
| 21 | if (m_maximum == maximum
| 0-582 | ||||||
| 22 | return; never executed: return; | 0 | ||||||
| 23 | - | |||||||
| 24 | m_maximum = maximum; | - | ||||||
| 25 | maximumChanged(); | - | ||||||
| 26 | } executed 582 times by 2 tests: end of blockExecuted by:
| 582 | ||||||
| 27 | - | |||||||
| 28 | void QQuickDragAxis::setEnabled(bool enabled) | - | ||||||
| 29 | { | - | ||||||
| 30 | if (m_enabled == enabled
| 0-194 | ||||||
| 31 | return; never executed: return; | 0 | ||||||
| 32 | - | |||||||
| 33 | m_enabled = enabled; | - | ||||||
| 34 | enabledChanged(); | - | ||||||
| 35 | } executed 194 times by 2 tests: end of blockExecuted by:
| 194 | ||||||
| Switch to Source code | Preprocessed file |