From 28288b531c38b31db44cfba175eb5c740b2ab428 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 15 Aug 2012 15:41:01 +0200 Subject: QLCDNumber docs: cleanup Qt3 support leftovers Change-Id: I22378c5334ac830e94060f20568e200f0ee49280 Reviewed-by: Frederik Gladhorn --- src/widgets/widgets/qlcdnumber.cpp | 20 -------------------- src/widgets/widgets/qlcdnumber.h | 1 - 2 files changed, 21 deletions(-) diff --git a/src/widgets/widgets/qlcdnumber.cpp b/src/widgets/widgets/qlcdnumber.cpp index 6d0ba3ec7e..c8e9308d6c 100644 --- a/src/widgets/widgets/qlcdnumber.cpp +++ b/src/widgets/widgets/qlcdnumber.cpp @@ -130,10 +130,6 @@ public: \value Dec Decimal \value Oct Octal \value Bin Binary - \omitvalue HEX - \omitvalue DEC - \omitvalue OCT - \omitvalue BIN If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed. @@ -1228,22 +1224,6 @@ bool QLCDNumber::event(QEvent *e) return QFrame::event(e); } -/*! - \fn void QLCDNumber::setMargin(int margin) - Sets the width of the margin around the contents of the widget to \a margin. - - Use QWidget::setContentsMargins() instead. - \sa margin(), QWidget::setContentsMargins() -*/ - -/*! - \fn int QLCDNumber::margin() const - Returns the width of the margin around the contents of the widget. - - Use QWidget::getContentsMargins() instead. - \sa setMargin(), QWidget::getContentsMargins() -*/ - QT_END_NAMESPACE #endif // QT_NO_LCDNUMBER diff --git a/src/widgets/widgets/qlcdnumber.h b/src/widgets/widgets/qlcdnumber.h index 585c965282..14b83ebce2 100644 --- a/src/widgets/widgets/qlcdnumber.h +++ b/src/widgets/widgets/qlcdnumber.h @@ -58,7 +58,6 @@ class Q_WIDGETS_EXPORT QLCDNumber : public QFrame // LCD number widget Q_OBJECT Q_ENUMS(Mode SegmentStyle) Q_PROPERTY(bool smallDecimalPoint READ smallDecimalPoint WRITE setSmallDecimalPoint) - Q_PROPERTY(int numDigits READ digitCount WRITE setDigitCount) Q_PROPERTY(int digitCount READ digitCount WRITE setDigitCount) Q_PROPERTY(Mode mode READ mode WRITE setMode) Q_PROPERTY(SegmentStyle segmentStyle READ segmentStyle WRITE setSegmentStyle) -- cgit v1.2.3