Remove documentation for non-existent QToolBox functions.
authorMitch Curtis <mitch.curtis@nokia.com>
Wed, 12 Sep 2012 14:16:21 +0000 (16:16 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 13 Sep 2012 17:33:08 +0000 (19:33 +0200)
Change-Id: I185e70f2e5183b02ce2c487991ac98aafc990bfb
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
src/widgets/widgets/qtoolbox.cpp

index 69ff2ff..52a77e4 100644 (file)
@@ -731,70 +731,6 @@ void QToolBox::itemRemoved(int index)
     Q_UNUSED(index)
 }
 
-/*!
-    \fn void QToolBox::setItemLabel(int index, const QString &text)
-
-    Use setItemText() instead.
-*/
-
-/*!
-    \fn QString QToolBox::itemLabel(int index) const
-
-    Use itemText() instead.
-*/
-
-/*!
-    \fn QWidget *QToolBox::currentItem() const
-
-    Use widget(currentIndex()) instead.
-*/
-
-/*!
-    \fn void QToolBox::setCurrentItem(QWidget *widget)
-
-    Use setCurrentIndex(indexOf(widget)) instead.
-*/
-
-/*!
-    \fn void QToolBox::setItemIconSet(int index, const QIcon &icon)
-
-    Use setItemIcon() instead.
-*/
-
-/*!
-    \fn QIcon QToolBox::itemIconSet(int index) const
-
-    Use itemIcon() instead.
-*/
-
-/*!
-    \fn int QToolBox::removeItem(QWidget *widget)
-
-    Use toolbox->removeItem(toolbox->indexOf(widget)) instead.
-*/
-
-/*!
-    \fn QWidget *QToolBox::item(int index) const
-
-    Use widget() instead.
-*/
-
-/*!
-    \fn void QToolBox::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 QToolBox::margin() const
-    Returns the width of the margin around the contents of the widget.
-
-    Use QWidget::getContentsMargins() instead.
-    \sa setMargin(), QWidget::getContentsMargins()
-*/
-
 /*! \reimp */
 bool QToolBox::event(QEvent *e)
 {