From 0d6f1ef58837fc34216634210d1f831180a7b134 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 12 Sep 2012 15:44:22 +0200 Subject: Remove documentation for non-existent QLineEdit functions. 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 Reviewed-by: Geir Vattekar --- src/widgets/widgets/qlineedit.cpp | 156 -------------------------------------- 1 file changed, 156 deletions(-) (limited to 'src/widgets/widgets/qlineedit.cpp') diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp index 2421b62387..3445d96543 100644 --- a/src/widgets/widgets/qlineedit.cpp +++ b/src/widgets/widgets/qlineedit.cpp @@ -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" -- cgit v1.2.3