Logo Search packages:      
Sourcecode: qt4-x11 version File versions

template<typename T>
int QVector< T >::size (  )  const [inline]

Returns the number of items in the vector.

See also:
isEmpty(), resize()

Definition at line 81 of file qvector.h.

Referenced by QPainterPath::addPolygon(), QPainterPath::addRegion(), Q3CanvasEllipse::areaPoints(), QVector< T >::at(), Q3CanvasPolygonalItem::chunks(), QGraphicsItem::collidesWithPath(), QTreeWidgetItem::data(), QAbstractItemModel::decodeData(), QDBusMetaType::demarshall(), QTextLayout::draw(), Q3CanvasView::drawContents(), QPainter::drawConvexPolygon(), QPaintEngine::drawEllipse(), QPainter::drawLines(), QPainter::drawPoints(), QPainter::drawPolygon(), QPainter::drawPolyline(), QCommonStyle::drawPrimitive(), QMotifStyle::drawPrimitive(), QPainter::drawRects(), QTreeView::drawTree(), QAbstractTableModel::dropMimeData(), QAbstractListModel::dropMimeData(), QRasterPaintEngine::flush(), QGLFormat::hasOpenGLOverlays(), QVector< T >::insert(), Q3IconView::insertInGrid(), QBrush::isOpaque(), QMatrix::map(), QDBusMetaType::marshall(), QTextFormat::merge(), QVector< T >::mid(), QPolygonF::operator<<(), QBrush::operator<<(), QPolygonF::operator>>(), QVector< T >::operator[](), QGLContext::overlayTransparentColor(), QTableView::paintEvent(), QStack< T >::pop(), Q3CanvasPixmapArray::Q3CanvasPixmapArray(), QPolygonF::QPolygonF(), QRegion::QRegion(), QSettings::registerFormat(), QDBusMetaType::registerMarshallOperators(), QVector< T >::remove(), QVector< T >::replace(), QVector< T >::resize(), QPainter::setClipRegion(), QGradient::setColorAt(), QPainterPathStroker::setDashPattern(), QTextFormat::setProperty(), QGradient::setStops(), QPainterPath::toFillPolygons(), QVector< T >::toList(), QStack< T >::top(), QPainterPath::toSubpathPolygons(), QDBusMetaType::typeToSignature(), and Q3ListBox::viewportPaintEvent().

{ return d->size; }


Generated by  Doxygen 1.6.0   Back to index