Remove documentation for non-existent QLineEdit functions.
authorMitch Curtis <mitch.curtis@nokia.com>
Wed, 12 Sep 2012 13:44:22 +0000 (15:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Sep 2012 14:10:55 +0000 (16:10 +0200)
Several functions in qlineedit.cpp are documented but don't exist. QDoc
was complaining... e.g.: "Cannot find 'repaintArea(...)' in '\fn' void
QLineEdit::repaintArea(int a, int b)".

Change-Id: I56ca0dbc8e7b4da5f23ad2ca8d8280cdf91c2dc2
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
src/widgets/widgets/qlineedit.cpp

index 2421b62..3445d96 100644 (file)
@@ -836,15 +836,6 @@ void QLineEdit::setModified(bool modified)
     d->control->setModified(modified);
 }
 
-
-/*!\fn QLineEdit::clearModified()
-
-Use setModified(false) instead.
-
-    \sa isModified()
-*/
-
-
 /*!
     \property QLineEdit::hasSelectedText
     \brief whether there is any text selected
@@ -2087,153 +2078,6 @@ void QLineEdit::changeEvent(QEvent *ev)
     QWidget::changeEvent(ev);
 }
 
-/*!
-    \fn void QLineEdit::repaintArea(int a, int b)
-
-    Use update() instead.
-*/
-
-/*!
-    \fn void QLineEdit::cursorLeft(bool mark, int steps)
-
-    Use cursorForward() with a negative number of steps instead. For
-    example, cursorForward(mark, -steps).
-*/
-
-/*!
-    \fn void QLineEdit::cursorRight(bool mark, int steps)
-
-    Use cursorForward() instead.
-*/
-
-/*!
-    \fn bool QLineEdit::frame() const
-
-    Use hasFrame() instead.
-*/
-
-/*!
-    \fn void QLineEdit::clearValidator()
-
-    Use setValidator(0) instead.
-*/
-
-/*!
-    \fn bool QLineEdit::hasMarkedText() const
-
-    Use hasSelectedText() instead.
-*/
-
-/*!
-    \fn QString QLineEdit::markedText() const
-
-    Use selectedText() instead.
-*/
-
-/*!
-    \fn void QLineEdit::setFrameRect(QRect)
-    \internal
-*/
-
-/*!
-    \fn QRect QLineEdit::frameRect() const
-    \internal
-*/
-/*!
-    \enum QLineEdit::DummyFrame
-    \internal
-
-    \value Box
-    \value Sunken
-    \value Plain
-    \value Raised
-    \value MShadow
-    \value NoFrame
-    \value Panel
-    \value StyledPanel
-    \value HLine
-    \value VLine
-    \value GroupBoxPanel
-    \value WinPanel
-    \value ToolBarPanel
-    \value MenuBarPanel
-    \value PopupPanel
-    \value LineEditPanel
-    \value TabWidgetPanel
-    \value MShape
-*/
-
-/*!
-    \fn void QLineEdit::setFrameShadow(DummyFrame)
-    \internal
-*/
-
-/*!
-    \fn DummyFrame QLineEdit::frameShadow() const
-    \internal
-*/
-
-/*!
-    \fn void QLineEdit::setFrameShape(DummyFrame)
-    \internal
-*/
-
-/*!
-    \fn DummyFrame QLineEdit::frameShape() const
-    \internal
-*/
-
-/*!
-    \fn void QLineEdit::setFrameStyle(int)
-    \internal
-*/
-
-/*!
-    \fn int QLineEdit::frameStyle() const
-    \internal
-*/
-
-/*!
-    \fn int QLineEdit::frameWidth() const
-    \internal
-*/
-
-/*!
-    \fn void QLineEdit::setLineWidth(int)
-    \internal
-*/
-
-/*!
-    \fn int QLineEdit::lineWidth() const
-    \internal
-*/
-
-/*!
-    \fn void QLineEdit::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 QLineEdit::margin() const
-    Returns the width of the margin around the contents of the widget.
-
-    Use QWidget::getContentsMargins() instead.
-    \sa setMargin(), QWidget::getContentsMargins()
-*/
-
-/*!
-    \fn void QLineEdit::setMidLineWidth(int)
-    \internal
-*/
-
-/*!
-    \fn int QLineEdit::midLineWidth() const
-    \internal
-*/
-
 QT_END_NAMESPACE
 
 #include "moc_qlineedit.cpp"