diff options
author | Martin Smith <msmith@trolltech.com> | 2009-11-11 13:49:02 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-11 18:08:51 (GMT) |
commit | db85713bfc20c29f2fda40ae9adad9516ce44ed1 (patch) | |
tree | e7a61d22717de8bd3d5dabeb87305b38621655b5 /src | |
parent | 311669edfa3c45a36bf4141879dad0f17a683893 (diff) | |
download | Qt-db85713bfc20c29f2fda40ae9adad9516ce44ed1.zip Qt-db85713bfc20c29f2fda40ae9adad9516ce44ed1.tar.gz Qt-db85713bfc20c29f2fda40ae9adad9516ce44ed1.tar.bz2 |
doc: Fixed some qdoc errors, numXxx() to xxxCount(), etc.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qlcdnumber.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/widgets/qlcdnumber.cpp b/src/gui/widgets/qlcdnumber.cpp index bce1c8f..69c52cf 100644 --- a/src/gui/widgets/qlcdnumber.cpp +++ b/src/gui/widgets/qlcdnumber.cpp @@ -466,6 +466,10 @@ void QLCDNumber::setNumDigits(int numDigits) \sa smallDecimalPoint */ +/*! + Sets the current number of digits to \a numDigits. Must + be in the range 0..99. + */ void QLCDNumber::setDigitCount(int numDigits) { Q_D(QLCDNumber); @@ -483,7 +487,7 @@ void QLCDNumber::setDigitCount(int numDigits) d->ndigits = numDigits; d->digitStr.fill(QLatin1Char(' '), d->ndigits); d->points.fill(0, d->ndigits); - d->digitStr[d->ndigits - 1] = QLatin1Char('0'); // "0" is the default number + d->digitStr[d->ndigits - 1] = QLatin1Char('0'); // "0" is the default number } else { bool doDisplay = d->ndigits == 0; if (numDigits == d->ndigits) // no change @@ -521,6 +525,9 @@ int QLCDNumber::numDigits() const return d->ndigits; } +/*! + Returns the current number of digits. + */ int QLCDNumber::digitCount() const { Q_D(const QLCDNumber); |