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

template<typename T>
const T & QList< T >::at ( int  i  )  const [inline, inherited]

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

This function is very fast ({constant time}).

See also:
value(), operator[]()

Definition at line 392 of file qlist.h.

Referenced by MainWindow::aboutToFinish(), QFileDialog::accept(), QWidget::addActions(), MainWindow::addFiles(), QDialog::adjustPosition(), QApplication::alert(), QPatternist::Expression::announceFocusType(), QAbstractFormBuilder::applyTabStops(), QCoreApplication::arguments(), QTextCodec::availableCodecs(), QTextCodec::availableMibs(), QSqlQuery::boundValues(), QDialogButtonBox::buttonRole(), QDialogButtonBox::buttons(), QAbstractItemModel::changePersistentIndexList(), QAccessibleWidget::childAt(), QAccessibleApplication::childAt(), QTreeWidgetItem::childrenCheckState(), Q3ToolBar::clear(), QToolBar::clear(), QApplication::closeAllWindows(), QTextCodec::codecForMib(), QTextCodec::codecForName(), QItemSelectionModel::columnIntersectsSelection(), QApplication::commitData(), QPatternist::PatternPlatform::compress(), QPatternist::ReplaceFN::compress(), QAbstractFormBuilder::computeProperties(), QMetaObject::connectSlotsByName(), QAbstractFileEngine::create(), MainWindow::createColorMenu(), Window::createGeneralOptionsGroupBox(), GLWidget::createGeometry(), Window::createGUI(), QGraphicsScene::createItemGroup(), QMainWindow::createPopupMenu(), QLineEdit::createStandardContextMenu(), QStringListModel::data(), StringListModel::data(), QPatternist::Expression::deepProperties(), QGLContext::deleteTexture(), QWidget::destroy(), QGraphicsItem::deviceTransform(), QAccessibleApplication::doAction(), Q3MainWindow::dockWindows(), QTreeWidget::dropEvent(), QTableWidget::dropEvent(), QListWidget::dropEvent(), DropArea::dropEvent(), BookmarksModel::dropMimeData(), QAbstractTableModel::dropMimeData(), QAbstractListModel::dropMimeData(), QAbstractItemModel::dropMimeData(), QItemSelectionModel::emitSelectionChanged(), QUrl::encodedQueryItems(), QWidget::ensurePolished(), QPatternist::DeepEqualFN::evaluateEBV(), QPatternist::InsertBeforeFN::evaluateSequence(), QPatternist::SubsequenceFN::evaluateSequence(), QPatternist::IndexOfFN::evaluateSequence(), QPatternist::StartsWithFN::evaluateSingleton(), QPatternist::TranslateFN::evaluateSingleton(), QPatternist::ReturnOrderBy::evaluateSingleton(), QPatternist::SubstringBeforeFN::evaluateSingleton(), QPatternist::SubstringAfterFN::evaluateSingleton(), QPatternist::LangFN::evaluateSingleton(), QPatternist::AdjustTimezone::evaluateSingleton(), QPatternist::ContainsFN::evaluateSingleton(), QPatternist::EndsWithFN::evaluateSingleton(), QPatternist::CompareFN::evaluateSingleton(), QPatternist::RoundHalfToEvenFN::evaluateSingleton(), QPatternist::SubstringFN::evaluateSingleton(), QPatternist::StringJoinFN::evaluateSingleton(), QPatternist::ErrorFN::evaluateSingleton(), QWidget::event(), QApplication::event(), QMessageBox::event(), QDialogButtonBox::event(), QWindowsStyle::eventFilter(), QSqlResult::execBatch(), QTreeWidget::findItems(), QListWidget::findItems(), QTableWidget::findItems(), QStandardItemModel::findItems(), Q3TextEdit::focusNextPrevChild(), MainWindow::forceFpsMedianCalculation(), QDropEvent::format(), QDate::fromString(), QDateTime::fromString(), Q3FileDialog::getOpenFileNames(), QFileDialog::getOpenFileNames(), QGraphicsScene::helpEvent(), FortuneServer::incomingConnection(), QXmlAttributes::index(), QDirModel::index(), Q3FileDialog::init(), QAccessible::initialize(), QPictureIO::inputFormats(), QWidget::insertActions(), QTreeWidgetItem::insertChild(), QTreeWidgetItem::insertChildren(), MainWindow::insertCustomer(), QComboBox::insertItems(), QtAbstractPropertyBrowser::insertProperty(), QtProperty::insertSubProperty(), QListView::internalDrop(), Q3DockArea::invalidNextOffset(), QMenu::isEmpty(), QLibrary::isLibrary(), Q3TabDialog::isTabEnabled(), QDBusUtil::isValidBusName(), QDBusUtil::isValidInterfaceName(), QDBusUtil::isValidObjectPath(), QDBusUtil::isValidUniqueConnectionName(), QTreeView::keyboardSearch(), QDialog::keyPressEvent(), QMessageBox::keyPressEvent(), Q3IconView::keyPressEvent(), QMetaEnum::keysToValue(), QTextFormat::lengthVectorProperty(), Q3DockArea::lineUp(), QWebFrame::load(), QAbstractFormBuilder::loadTableWidgetExtraInfo(), QAbstractFormBuilder::loadTreeWidgetExtraInfo(), QXmlAttributes::localName(), QLibraryInfo::location(), HistoryFilterModel::mapFromSource(), QAbstractProxyModel::mapSelectionFromSource(), QAbstractProxyModel::mapSelectionToSource(), Q3MainWindow::menuAboutToShow(), Q3MainWindow::menuBar(), QItemSelection::merge(), MainWindow::metaStateChanged(), QList< T >::mid(), QProxyModel::mimeData(), QSortFilterProxyModel::mimeData(), QTreeWidget::mimeData(), QAbstractItemModel::mimeData(), Document::mouseMoveEvent(), Document::mousePressEvent(), Q3DockArea::moveDockWindow(), QAccessibleApplication::navigate(), QAccessibleWidget::navigate(), QPatternist::CachingIterator::next(), QDBusConnection::objectRegisteredAt(), Q3LocalFs::operationListChildren(), Q3MainWindow::operator<<(), Q3DockArea::operator<<(), Q3DockArea::operator>>(), Q3TextEdit::optimCheckLimit(), QPictureIO::outputFormats(), Document::paintEvent(), QGraphicsView::paintEvent(), QPatternist::ReplaceFN::parseReplacement(), QPatternist::PatternPlatform::pattern(), QPictureIO::pictureFormat(), Q3ComboTableItem::Q3ComboTableItem(), QTest::qCompare(), QTest::qExec(), QXmlAttributes::qName(), QObject::qt_find_obj_child(), QTreeWidgetItem::QTreeWidgetItem(), QUrl::queryItems(), Q3WidgetStack::raiseWidget(), QObject::receivers(), QPainter::redirected(), QDBusConnection::registerObject(), QDBusConnectionInterface::registerService(), QAccessibleApplication::relationTo(), QDir::relativeFilePath(), QDialogButtonBox::removeButton(), Q3DockArea::removeDockWindow(), QtAbstractPropertyBrowser::removeProperty(), QtProperty::removeSubProperty(), QGraphicsScene::render(), QPainter::restoreRedirected(), QFileDialog::restoreState(), QAccessibleWidget::role(), QItemSelectionModel::rowIntersectsSelection(), QString::section(), QColumnView::selectAll(), QItemSelectionModel::selectedColumns(), QFileDialog::selectedFiles(), QTreeView::selectedIndexes(), QListView::selectedIndexes(), QTableView::selectedIndexes(), QTreeWidget::selectedItems(), QTableWidget::selectedItems(), QListWidget::selectedItems(), QTableWidget::selectedRanges(), QItemSelectionModel::selectedRows(), QItemSelectionModel::selection(), Server::sendFortune(), QApplication::setActiveWindow(), QGraphicsScene::setActiveWindow(), QWizard::setButtonLayout(), Q3GroupBox::setColumnLayout(), QColumnView::setColumnWidths(), Q3ComboTableItem::setCurrentItem(), QTreeWidgetItem::setData(), QApplicationArgumentParser::setDeclaredArguments(), QTreeWidgetItem::setFlags(), QTreeWidget::setHeaderLabels(), QStandardItemModel::setHorizontalHeaderLabels(), QTableWidget::setHorizontalHeaderLabels(), Q3ImageDrag::setImage(), QFileSystemModel::setNameFilters(), Q3ToolBar::setOrientation(), QPatternist::UserFunctionCallsite::setSource(), Q3ComboTableItem::setStringList(), Q3TabDialog::setTabEnabled(), QWidget::setTabOrder(), Q3UriDrag::setUnicodeUris(), QAbstractFormBuilder::setupColorGroup(), QScriptExtensionPlugin::setupPackage(), AddressWidget::setupTabs(), Q3UriDrag::setUris(), QMimeData::setUrls(), QTableWidget::setVerticalHeaderLabels(), QStandardItemModel::setVerticalHeaderLabels(), Q3WidgetStack::setVisible(), Q3Action::showStatusText(), QSplitter::sizeHint(), QStringListModel::sort(), QFileSystemModel::sort(), QFSCompletor::splitPath(), QPatternist::SubsequenceFN::staticType(), QPatternist::SumFN::staticType(), Q3MainWindow::statusBar(), QDesktopServices::storageLocation(), QApplication::style(), QImageReader::supportedImageFormats(), QImageWriter::supportedImageFormats(), QPrinter::supportedResolutions(), QTreeWidgetItem::takeChild(), QTreeWidgetItem::takeChildren(), QClipboard::text(), TextEdit::TextEdit(), QImage::textLanguages(), QImage::textList(), QUrl::toAce(), QPainterPath::toFillPolygon(), QPainterPath::toFillPolygons(), Q3MainWindow::toolBars(), QApplication::topLevelAt(), QList< T >::toSet(), QScriptContext::toString(), QPainterPath::toSubpathPolygons(), QList< T >::toVector(), QPatternist::SumFN::typeCheck(), QPatternist::DeepEqualFN::typeCheck(), QPatternist::ElementConstructor::typeCheck(), QPatternist::IndexOfFN::typeCheck(), QDBusConnection::unregisterObject(), QDBusConnectionInterface::unregisterService(), DropSiteWindow::updateFormatsTable(), Window::updateWidgets(), QXmlAttributes::uri(), QMimeData::urls(), QXmlAttributes::value(), QTreeView::visualRegionForSelection(), QHeaderView::visualRegionForSelection(), QListView::visualRegionForSelection(), QTableView::visualRegionForSelection(), QColumnView::visualRegionForSelection(), PieView::visualRegionForSelection(), QWorkspace::windowList(), QFSFileEngine::~QFSFileEngine(), QGLContext::~QGLContext(), and QTreeWidgetItem::~QTreeWidgetItem().

{ Q_ASSERT_X(i >= 0 && i < p.size(), "QList<T>::at", "index out of range");
 return reinterpret_cast<Node *>(p.at(i))->t(); }


Generated by  Doxygen 1.6.0   Back to index