Remove documentation for non-existent QToolBox functions.

Change-Id: I185e70f2e5183b02ce2c487991ac98aafc990bfb
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
This commit is contained in:
Mitch Curtis 2012-09-12 16:16:21 +02:00 committed by Qt by Nokia
parent 741b1f49bd
commit 8641a76d34

View File

@ -731,70 +731,6 @@ void QToolBox::itemRemoved(int index)
Q_UNUSED(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 */ /*! \reimp */
bool QToolBox::event(QEvent *e) bool QToolBox::event(QEvent *e)
{ {