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 640 of file qstring.h.

Referenced by QFileDialog::accept(), Q3DateEdit::addNumber(), Q3TimeEdit::addNumber(), QKeySequence::assign(), QPainter::boundingRect(), QFontMetricsF::boundingRect(), QFontMetrics::boundingRect(), QTextCodec::canEncode(), QFontMetrics::charWidth(), QDir::cleanPath(), Q3ComboBox::completionIndex(), Q3TextEdit::contentsMouseDoubleClickEvent(), count(), Q3MimeSourceFactory::data(), Q3SqlCursor::del(), Q3FileDialog::detailViewSelectionChanged(), QPainter::drawText(), QLineEdit::dropEvent(), Q3IconDrag::encodedData(), endsWith(), QRegExp::escape(), Q3FileDialog::eventFilter(), Q3ComboBox::eventFilter(), QRegExp::exactMatch(), QSqlResult::exec(), QDir::filePath(), Q3IconView::findItemByName(), QSqlDriver::formatValue(), QUrl::fromLocalFile(), QDir::fromNativeSeparators(), QUrl::fromPunycode(), QTextCodec::fromUnicode(), QTextEncoder::fromUnicode(), Q3GDict::hashKeyString(), QRegExp::indexIn(), Q3TextEdit::inputMethodEvent(), QLineEdit::inputMethodEvent(), Q3TextEdit::insert(), Q3MultiLineEdit::insertAt(), QTextCursor::insertText(), QUrl::isParentOf(), QXmlUtils::isPublicID(), QDBusUtil::isValidBusName(), QDBusUtil::isValidInterfaceName(), QDBusUtil::isValidMemberName(), QDBusUtil::isValidPartOfObjectPath(), QDBusUtil::isValidUniqueConnectionName(), QTest::keyClicks(), QLineEdit::keyPressEvent(), Q3ListView::keyPressEvent(), QTextEdit::keyPressEvent(), Q3ComboBox::keyPressEvent(), QMenu::keyPressEvent(), QMenuBar::keyPressEvent(), Q3TextEdit::keyPressEvent(), QRegExp::lastIndexIn(), leftJustified(), Q3FileDialog::listBoxSelectionChanged(), QTranslator::load(), QFSFileEngine::mkdir(), QKeySequence::mnemonic(), operator<<(), Q3TextStream::operator<<(), QFileInfo::operator==(), Q3DockArea::operator>>(), Q3TextEdit::optimCharIndex(), Q3TextEdit::optimCheckLimit(), Q3TextEdit::optimFind(), Q3TextEdit::optimInsert(), Q3TextEdit::optimParseTags(), Q3TextEdit::optimSetTextFormat(), Q3TextEdit::optimText(), QGraphicsSimpleTextItem::paint(), Q3Url::parse(), QHttpResponseHeader::parseLine(), Q3HttpResponseHeader::parseLine(), Q3HttpRequestHeader::parseLine(), QHttpRequestHeader::parseLine(), Q3TextEdit::pasteSubType(), QFSCompletor::pathFromIndex(), Q3FileDialog::Q3FileDialog(), QUuid::QUuid(), Q3DateEdit::removeFirstNumber(), Q3TimeEdit::removeFirstNumber(), Q3TimeEdit::removeLastNumber(), Q3DateEdit::removeLastNumber(), replace(), rightJustified(), QFSFileEngine::rmdir(), section(), Q3DateEdit::sectionFormattedText(), Q3TimeEdit::sectionFormattedText(), Q3DateEdit::sectionOffsetEnd(), Q3FileDialog::setDir(), Q3Url::setFileName(), Q3FileDialog::setFilter(), Q3TimeEdit::setFocusSection(), QColor::setNamedColor(), Q3Accel::shortcutKey(), QSqlDriver::sqlStatement(), Q3MultiLineEdit::textLine(), QFontMetrics::tightBoundingRect(), QFontMetricsF::tightBoundingRect(), QDir::toNativeSeparators(), QUrl::toPunycode(), toStdWString(), QLocale::toString(), QKeySequence::toString(), Q3SqlCursor::toString(), toUcs4(), toWCharArray(), Q3TextStream::ts_getbuf(), Q3TextStream::ts_getline(), Q3SqlCursor::update(), Q3UriDrag::uriToLocalFile(), vsprintf(), QFontMetrics::width(), QFontMetricsF::width(), and Q3Process::writeToStdin().

{ return d->size; }


Generated by  Doxygen 1.6.0   Back to index