QLCDNumber docs: cleanup Qt3 support leftovers
authorJ-P Nurmi <j-p.nurmi@nokia.com>
Wed, 15 Aug 2012 13:41:01 +0000 (15:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 18 Aug 2012 04:17:37 +0000 (06:17 +0200)
Change-Id: I22378c5334ac830e94060f20568e200f0ee49280
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/widgets/widgets/qlcdnumber.cpp
src/widgets/widgets/qlcdnumber.h

index 6d0ba3e..c8e9308 100644 (file)
@@ -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
index 585c965..14b83eb 100644 (file)
@@ -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)