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

template<typename T >
void QList< T >::removeAt ( int  i ) [inline, inherited]

Removes the item at index position i. i must be a valid index position in the list (i.e., 0 <= i < size()).

See also:
takeAt(), removeFirst(), removeLast(), removeOne()

Definition at line 406 of file qlist.h.

Referenced by Phonon::Gstreamer::DeviceManager::audioOutputDevices(), QColumnViewPrivate::closeColumns(), Ui3Reader::createFormDecl(), QScriptDebuggerAgent::deleteBreakpoint(), Q3ListView::drawContentsOffset(), QItemSelectionModel::emitSelectionChanged(), QWindowsStyle::eventFilter(), QItemSelection::merge(), PuzzleWidget::mousePressEvent(), qdesigner_internal::DeleteWidgetCommand::redo(), Q3SqlForm::remove(), QObjectCleanupHandler::remove(), DiagramItem::removeArrow(), TableModel::removeColumns(), Q3DockArea::removeDockWindow(), qdesigner_internal::FormWindowManager::removeFormWindow(), QFileSystemModelPrivate::removeNode(), QList< T >::removeOne(), QtAbstractPropertyBrowser::removeProperty(), HistoryModel::removeRows(), TableModel::removeRows(), CookieModel::removeRows(), PiecesModel::removeRows(), qdesigner_internal::WidgetBoxCategoryModel::removeRows(), QStringListModel::removeRows(), StringListModel::removeRows(), CookieExceptionsModel::removeRows(), QtProperty::removeSubProperty(), QFileSystemModelPrivate::removeVisibleFile(), QPainter::restoreRedirected(), QItemSelectionModel::selection(), QFileSystemModel::setData(), and qdesigner_internal::FormWindow::unmanageWidget().

{ if(i >= 0 && i < p.size()) { detach();
 node_destruct(reinterpret_cast<Node *>(p.at(i))); p.remove(i); } }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index