Remove outdated docs.

Change-Id: I6eaffdad3b800b7d90478cb7c4044ec27e659ec9
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
This commit is contained in:
Frederik Gladhorn 2012-08-15 14:00:08 +02:00 committed by Qt by Nokia
parent d297989ad2
commit 575f6f5325
4 changed files with 1 additions and 149 deletions

View File

@ -1086,12 +1086,6 @@ void QBoxLayout::addStrut(int size)
invalidate();
}
/*!
\fn int QBoxLayout::findWidget(QWidget *widget)
Use indexOf(\a widget) instead.
*/
/*!
Sets the stretch factor for \a widget to \a stretch and returns
true if \a widget is found in this layout (not including child
@ -1350,34 +1344,4 @@ QVBoxLayout::~QVBoxLayout()
{
}
/*!
\fn QWidget *QLayout::mainWidget() const
Use parentWidget() instead.
*/
/*!
\fn void QLayout::remove(QWidget *widget)
Use removeWidget(\a widget) instead.
*/
/*!
\fn void QLayout::add(QWidget *widget)
Use addWidget(\a widget) instead.
*/
/*!
\fn QLayoutIterator QLayout::iterator()
Use a QLayoutIterator() constructor instead.
*/
/*!
\fn int QLayout::defaultBorder() const
Use spacing() instead.
*/
QT_END_NAMESPACE

View File

@ -1045,7 +1045,7 @@ QWidget *QGestureEvent::widget() const
QGraphicsObject to translate a point in screen coordinates to scene-local
coordinates.
\sa QPointF::isNull().
\sa QPointF::isNull()
*/
QPointF QGestureEvent::mapToGraphicsScene(const QPointF &gesturePoint) const
{

View File

@ -1682,104 +1682,4 @@ void QGridLayout::invalidate()
QLayout::invalidate();
}
/*!
\fn void QGridLayout::addRowSpacing(int row, int minsize)
Use addItem(new QSpacerItem(0, minsize), row, 0) instead.
*/
/*!
\fn void QGridLayout::addColSpacing(int col, int minsize)
Use addItem(new QSpacerItem(minsize, 0), 0, col) instead.
*/
/*!
\fn void QGridLayout::addMultiCellWidget(QWidget *widget, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0)
Use an addWidget() overload that allows you to specify row and
column spans instead.
*/
/*!
\fn void QGridLayout::addMultiCell(QLayoutItem *l, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0)
Use an addItem() overload that allows you to specify row and
column spans instead.
*/
/*!
\fn void QGridLayout::addMultiCellLayout(QLayout *layout, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0)
Use an addLayout() overload that allows you to specify row and
column spans instead.
*/
/*!
\fn int QGridLayout::numRows() const
Use rowCount() instead.
*/
/*!
\fn int QGridLayout::numCols() const
Use columnCount() instead.
*/
/*!
\fn void QGridLayout::setColStretch(int col, int stretch)
Use setColumnStretch() instead.
*/
/*!
\fn int QGridLayout::colStretch(int col) const
Use columnStretch() instead.
*/
/*!
\fn void QGridLayout::setColSpacing(int col, int minSize)
Use setColumnMinimumWidth() instead.
*/
/*!
\fn int QGridLayout::colSpacing(int col) const
Use columnMinimumWidth() instead.
*/
/*!
\fn void QGridLayout::setRowSpacing(int row, int minSize)
Use setRowMinimumHeight(\a row, \a minSize) instead.
*/
/*!
\fn int QGridLayout::rowSpacing(int row) const
Use rowMinimumHeight(\a row) instead.
*/
/*!
\fn QRect QGridLayout::cellGeometry(int row, int column) const
Use cellRect(\a row, \a column) instead.
*/
/*!
\fn void QGridLayout::setOrigin(Qt::Corner corner)
Use setOriginCorner(\a corner) instead.
*/
/*!
\fn Qt::Corner QGridLayout::origin() const
Use originCorner() instead.
*/
QT_END_NAMESPACE

View File

@ -1393,18 +1393,6 @@ QSize QLayout::closestAcceptableSize(const QWidget *widget, const QSize &size)
return result;
}
/*!
\fn void QLayout::setResizeMode(SizeConstraint constraint)
Use setSizeConstraint(\a constraint) instead.
*/
/*!
\fn QLayout::SizeConstraint QLayout::resizeMode() const
Use sizeConstraint() instead.
*/
void QSizePolicy::setControlType(ControlType type)
{
/*