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

int QString::length (  ) const [inline]

Returns the number of characters in this string. Equivalent to size().

See also:
setLength()

Definition at line 682 of file qstring.h.

Referenced by QFileDialog::accept(), Q3DateEdit::addNumber(), Q3TimeEdit::addNumber(), Q3Url::addPath(), QWebFrame::addToJavaScriptWindowObject(), QUnixPrintWidgetPrivate::applyPrinterProperties(), QKeySequence::assign(), QPatternist::DerivedString< DerivedType >::attributeNormalize(), QPainter::boundingRect(), QFontMetricsF::boundingRect(), QFontMetrics::boundingRect(), QTextCodec::canEncode(), QFontMetrics::charWidth(), QDir::cleanPath(), QStringRef::compare(), Q3ComboBox::completionIndex(), QScriptDebuggerConsoleCommandManager::completions(), Q3TextEdit::contentsMouseDoubleClickEvent(), Ui3Reader::createFormImpl(), QPatternist::URILoader::createRequest(), Ui3Reader::createSubDecl(), Ui3Reader::createSubImpl(), QPSQLResult::data(), Q3MimeSourceFactory::data(), QPatternist::CompressedWhitespace::decompress(), Q3SqlCursor::del(), QApplicationArgumentParserPrivate::displayHelp(), QPainter::drawText(), QLineEdit::dropEvent(), Q3IconDrag::encodedData(), endsWith(), QPatternist::CaseInsensitiveStringComparator::equals(), QPatternist::escape(), QPatternist::DerivedString< DerivedType >::evaluateEBV(), QPatternist::AtomicString::evaluateEBV(), QPatternist::TranslateFN::evaluateSingleton(), QPatternist::CodepointEqualFN::evaluateSingleton(), QPatternist::SubstringFN::evaluateSingleton(), Q3FileDialog::eventFilter(), QCalendarTextNavigator::eventFilter(), Q3ComboBox::eventFilter(), QRegExp::exactMatch(), QSqlResult::exec(), QODBCResult::exec(), QDB2Result::exec(), QHelpEngineCore::fileData(), QDir::filePath(), IndexListModel::filter(), QHelpIndexModel::filter(), QShortcutMap::find(), QHelpEngineCore::findFile(), Q3ListBoxPrivate::findItemByName(), Q3IconView::findItemByName(), QSqlDriver::formatValue(), QUrl::fromLocalFile(), QDir::fromNativeSeparators(), QUrl::fromPunycode(), QDateTime::fromString(), QTextCodec::fromUnicode(), QTextEncoder::fromUnicode(), Q3GDict::hashKeyString(), XmlSyntaxHighlighter::highlightBlock(), qdesigner_internal::CssHighlighter::highlightBlock(), MessageHighlighter::highlightBlock(), Highlighter::highlightBlock(), qdesigner_internal::QScriptHighlighter::highlightBlock(), QScriptSyntaxHighlighter::highlightBlock(), qdesigner_internal::HtmlHighlighter::highlightBlock(), QTextDocumentLayout::hitTest(), QUrl::host(), QRegExp::indexIn(), indexOf(), Q3TextEdit::inputMethodEvent(), QLineEdit::inputMethodEvent(), Q3TextEdit::insert(), Q3MultiLineEdit::insertAt(), TextEdit::insertCompletion(), QTextCursor::insertText(), IndexReader::isLuceneFile(), QUrl::isParentOf(), QXmlUtils::isPublicID(), InnerNode::isSameSignature(), QDBusUtil::isValidBusName(), QDBusUtil::isValidInterfaceName(), QDBusUtil::isValidMemberName(), QPatternist::DerivedString< DerivedType >::isValidName(), QPatternist::DerivedString< DerivedType >::isValidNMTOKEN(), QDBusUtil::isValidPartOfObjectPath(), QDBusUtil::isValidUniqueConnectionName(), QTest::keyClicks(), QLineEdit::keyPressEvent(), Q3ListView::keyPressEvent(), QTextEdit::keyPressEvent(), Q3ComboBox::keyPressEvent(), TextEdit::keyPressEvent(), QMenu::keyPressEvent(), QMenuBar::keyPressEvent(), Q3TextEdit::keyPressEvent(), QRegExp::lastIndexIn(), leftJustified(), QPatternist::ProcessingInstructionConstructor::leftTrimmed(), QApplicationArgumentParserPrivate::lineWrap(), Config::load(), QTranslator::load(), QStringRef::localeAwareCompare(), QFSFileEngine::mkdir(), QKeySequence::mnemonic(), QXIMInputContext::mouseHandler(), PathDeformRenderer::mouseMoveEvent(), QFileSystemModelPrivate::naturalCompare(), Config::numParams(), QTemporaryFileEngine::open(), QStringBuffer::open(), QODBCDriver::open(), QOCIDriver::open(), QDB2Driver::open(), operator<(), operator<<(), Q3TextStream::operator<<(), QFileInfo::operator==(), Q3DockArea::operator>>(), Q3TextEdit::optimCharIndex(), Q3TextEdit::optimCheckLimit(), Q3TextEdit::optimInsert(), Q3TextEdit::optimParseTags(), Q3TextEdit::optimSetTextFormat(), QGraphicsSimpleTextItem::paint(), Q3Url::parse(), DocParser::parse(), QHttpResponseHeader::parseLine(), Q3HttpResponseHeader::parseLine(), Q3HttpRequestHeader::parseLine(), QHttpRequestHeader::parseLine(), Q3Url::path(), QFSCompletor::pathFromIndex(), QPainterPath::percentAtLength(), QODBCResult::prepare(), QOCIResult::prepare(), QDB2Result::prepare(), QDB2Driver::primaryIndex(), QODBCDriver::primaryIndex(), Q3FileDialog::Q3FileDialog(), QUuid::QUuid(), QStringBuffer::readData(), QODBCDriver::record(), QDB2Driver::record(), QPSQLDriver::record(), Q3DateEdit::removeFirstNumber(), Q3TimeEdit::removeFirstNumber(), Q3TimeEdit::removeLastNumber(), Q3DateEdit::removeLastNumber(), replace(), QODBCResult::reset(), QDB2Result::reset(), rightJustified(), QFSFileEngine::rmdir(), qt::fulltextsearch::std::QHelpSearchIndexWriter::run(), Q3SVGPaintEngine::save(), Q3TimeEdit::sectionFormattedText(), Q3DateEdit::sectionFormattedText(), Q3DateEdit::sectionOffsetEnd(), Q3FileDialog::setDir(), Q3Url::setFileName(), Q3FileDialog::setFilter(), Q3TimeEdit::setFocusSection(), QColor::setNamedColor(), Q3Accel::shortcutKey(), QStringBuffer::size(), QSqlDriver::sqlStatement(), QDesktopServices::storageLocation(), Config::subVars(), QDB2Driver::tables(), QODBCDriver::tables(), Q3MultiLineEdit::textLine(), QFontMetrics::tightBoundingRect(), QFontMetricsF::tightBoundingRect(), toLatin1(), QUrl::toLocalFile(), QDir::toNativeSeparators(), toStdWString(), QKeySequence::toString(), Q3SqlCursor::toString(), toUcs4(), toWCharArray(), Doc::trimCStyleComment(), Q3TextStream::ts_getbuf(), Q3TextStream::ts_getline(), PolyUncompressor::uncompressedFilePath(), AppendText::undo(), Q3SqlCursor::update(), QFileInfoGatherer::updateFile(), SearchValidator::validate(), QT_BEGIN_NAMESPACE::ZoomFactorValidator::validate(), vsprintf(), QFontMetrics::width(), QFontMetricsF::width(), QXmlSerializer::write(), QXmlSerializer::writeEscaped(), QXmlSerializer::writeEscapedAttribute(), and Q3Process::writeToStdin().

{ return d->size; }

Generated by  Doxygen 1.6.0   Back to index