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

bool QString::isEmpty (  )  const [inline]

Returns true if the string has no characters; otherwise returns false.

Example:

doc/src/snippets/qstring/main.cpp 27

See also:
size()

Definition at line 655 of file qstring.h.

Referenced by QMessageBox::aboutQt(), QDir::absoluteFilePath(), QWebPage::action(), QIcon::addFile(), Q3FileDialog::addFilter(), Calculator::additiveOperatorClicked(), QCoreApplication::addLibraryPath(), MainWindow::addParagraph(), QFileSystemWatcher::addPath(), Q3Url::addPath(), QPainterPath::addText(), QCoreApplication::applicationFilePath(), ApplicationsTab::ApplicationsTab(), Calculator::backspaceClicked(), QFontDatabase::bold(), QPainter::boundingRect(), FindFileDialog::browse(), Window::browse(), Q3IconViewItem::calcRect(), QDir::cd(), Q3Ftp::checkConnection(), ImageComposer::chooseImage(), MainWindow::chooseImage(), QDir::cleanPath(), QDBusConnection::connect(), QDBusConnection::connectToBus(), QLocalSocket::connectToServer(), Q3TextEdit::contentsMouseReleaseEvent(), QHttpHeader::contentType(), Q3HttpHeader::contentType(), QAbstractFormBuilder::createDom(), QSqlIndex::createField(), QUndoStack::createRedoAction(), QUndoGroup::createRedoAction(), QLineEdit::createStandardContextMenu(), QUndoGroup::createUndoAction(), QUndoStack::createUndoAction(), QFormBuilder::createWidget(), QDesignerComponents::createWidgetBox(), QAbstractFileEngineIterator::currentFilePath(), QHelpEngineCore::currentFilter(), Q3MimeSourceFactory::data(), Q3Url::decode(), Q3UriDrag::decodeLocalFiles(), QPatternist::CompressedWhitespace::decompress(), QSqlTableModel::deleteRowFromTable(), QDBusConnection::disconnect(), QPlastiqueStyle::drawControl(), QWindowsVistaStyle::drawControl(), QCleanlooksStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsXPStyle::drawControl(), QCommonStyle::drawControl(), QItemDelegate::drawDisplay(), QCleanlooksStyle::drawItemText(), QStyle::drawItemText(), QWindowsVistaStyle::drawPrimitive(), QPainter::drawText(), DiagramScene::editorLostFocus(), Location::emitMessage(), Client::enableGetFortuneButton(), Q3Url::encode(), Q3Url::encodedPathAndQuery(), Calculator::equalClicked(), QPatternist::StringToCodepointsFN::evaluateSequence(), QPatternist::PrefixFromQNameFN::evaluateSingleton(), QPatternist::QNameFN::evaluateSingleton(), QPatternist::BaseURIFN::evaluateSingleton(), QPatternist::StringJoinFN::evaluateSingleton(), Q3GroupBox::event(), Q3WhatsThis::eventFilter(), QSqlQuery::exec(), QSqlDatabase::exec(), QDir::exists(), QPatternist::QNameConstructor::expandQName(), AddressBook::exportAsVCard(), QFontDatabase::families(), QFSFileEngine::fileName(), Q3FileDialog::fileNameEditDone(), Q3FileDialog::fileNameEditReturnPressed(), QDir::filePath(), TextEdit::filePrintPdf(), QHelpIndexModel::filter(), Window::find(), Q3DataTable::find(), FindDialog::findClicked(), Q3ListView::findItem(), Q3ListBox::findItem(), MainWindow::findItems(), QDomNode::firstChildElement(), QFontDatabase::font(), QPatternist::Numeric::fromLexical(), QSslCertificate::fromPath(), QXmlInputSource::fromRawData(), QFont::fromString(), QDate::fromString(), QDateTime::fromString(), QTime::fromString(), QHelpGenerator::generate(), BasicToolsPlugin::generateShape(), Q3UrlOperator::get(), QFileDialog::getExistingDirectory(), Q3FileDialog::getExistingDirectory(), QtGradientDialog::getGradient(), QFileDialog::getOpenFileName(), Q3FileDialog::getOpenFileName(), Q3FileDialog::getOpenFileNames(), QFileDialog::getOpenFileNames(), Config::getRegExp(), QFileDialog::getSaveFileName(), Q3FileDialog::getSaveFileName(), Q3DataManager::handleError(), QDomImplementation::hasFeature(), QGraphicsScene::helpEvent(), QDirModel::index(), QAbstractFormBuilder::initialize(), CodeStylePage::initializePage(), Q3TextEdit::inputMethodEvent(), QLineEdit::inputMethodEvent(), MainWindow::insertCustomer(), QFormLayout::insertRow(), QSqlTableModel::insertRowIntoTable(), QTextCursor::insertText(), QFontDatabase::isBitmapScalable(), QLibrary::isLibrary(), QUrl::isParentOf(), QFontDatabase::isSmoothlyScalable(), QNetworkInterface::isValid(), QDBusUtil::isValidBusName(), QDBusUtil::isValidInterfaceName(), QDBusUtil::isValidMemberName(), QPatternist::DerivedString< DerivedType >::isValidName(), QDBusUtil::isValidPartOfObjectPath(), QDBusUtil::isValidUniqueConnectionName(), QFontDatabase::italic(), QStyle::itemTextRect(), QTreeView::keyboardSearch(), QAbstractItemView::keyboardSearch(), QLineEdit::keyPressEvent(), Q3ListView::keyPressEvent(), QAbstractItemView::keyPressEvent(), QAbstractSpinBox::keyPressEvent(), QComboBox::keyPressEvent(), Q3FileDialog::keyPressEvent(), Q3IconView::keyPressEvent(), QTextEdit::keyPressEvent(), Q3ComboBox::keyPressEvent(), TextEdit::keyPressEvent(), Q3ListBox::keyPressEvent(), QDateTimeEdit::keyPressEvent(), QMenuBar::keyPressEvent(), QTextBrowser::keyPressEvent(), QPlainTextEdit::keyPressEvent(), QDomNode::lastChildElement(), Q3Process::launch(), Q3Ftp::list(), QFtp::list(), QLocalServer::listen(), QPixmap::load(), QImage::load(), Config::load(), QWebFrame::load(), AddressBook::loadFromFile(), QTextDocument::loadResource(), Q3MimeSourceFactory::makeAbsolute(), QAbstractItemModel::match(), Q3MainWindow::menuAboutToShow(), Q3Action::menuStatusText(), QDir::mkdir(), QDir::mkpath(), Node::moduleName(), QAbstractItemView::mouseMoveEvent(), TabWidget::mouseReleaseEvent(), Calculator::multiplicativeOperatorClicked(), QAccessibleDisplay::navigate(), RegisterPage::nextId(), QDomNode::nextSiblingElement(), QDBusConnection::objectRegisteredAt(), Q3FileDialog::okClicked(), ImageViewer::open(), QAssistantClient::openAssistant(), MainWindow::openFile(), MainWindow::openUrl(), QDBusIntrospection::Interface::operator==(), operator==(), operator>(), Q3TextEdit::optimAppend(), Q3TextEdit::optimInsert(), Q3TextEdit::optimParseTags(), Q3TextEdit::optimSetText(), Q3ListViewItem::paintCell(), QPlainTextEdit::paintEvent(), Q3Url::parse(), QPatternist::AbstractDateTime::parseZoneOffset(), Q3TextEdit::pasteSubType(), QFontDatabase::pointSizes(), QPlastiqueStyle::polish(), QCleanlooksStyle::polish(), QXmlNamespaceSupport::prefix(), QXmlNamespaceSupport::prefixes(), QSqlQuery::prepare(), QDomNode::previousSiblingElement(), Q3UrlOperator::put(), Q3FileDialog::Q3FileDialog(), Q3SqlSelectCursor::Q3SqlSelectCursor(), Q3Url::Q3Url(), QAssistantClient::QAssistantClient(), QDBusConnection::QDBusConnection(), QDBusServer::QDBusServer(), QDir::QDir(), QFontDialog::QFontDialog(), QGraphicsTextItem::QGraphicsTextItem(), QHttpHeader::QHttpHeader(), QUrl::QUrl(), QUuid::QUuid(), QXmlName::QXmlName(), XbelReader::read(), Q3TextStream::readLine(), QExtensionManager::registerExtensions(), QDBusConnection::registerObject(), QResource::registerResource(), QAccessibleDisplay::relationTo(), QDir::relativeFilePath(), QDir::remove(), QSettings::remove(), QCoreApplication::removeLibraryPath(), QFileSystemWatcher::removePath(), QDir::rename(), QGLWidget::renderText(), replace(), Q3ComboBox::returnPressed(), QDir::rmdir(), QDir::rmpath(), MainWindow::save(), MainWindow::saveAs(), MainWindow::saveFile(), Screenshot::saveScreenshot(), AddressBook::saveToFile(), QTextEdit::scrollToAnchor(), Q3TextEdit::scrollToAnchor(), section(), Q3SqlCursor::select(), QSqlTableModel::select(), Q3FileDialog::selectDirectoryOrFile(), QFileDialog::selectFile(), QSqlTableModel::selectStatement(), QSqlRelationalTableModel::selectStatement(), Q3TabDialog::setApplyButton(), Q3TabDialog::setCancelButton(), QNetworkCookieJar::setCookiesFromUrl(), MainWindow::setCurrentFile(), QFileSystemModel::setData(), Q3TabDialog::setDefaultButton(), Q3FileDialog::setDir(), Q3FileDialog::setFilter(), Q3TabDialog::setHelpButton(), QWebSettings::setIconDatabasePath(), Dialog::setItem(), QColor::setNamedColor(), Q3TabDialog::setOkButton(), QPrinter::setOutputFileName(), QTextLayout::setPreeditArea(), QFileSystemModel::setRootPath(), Q3ListViewItem::setText(), Q3IconViewItem::setText(), Dialog::setText(), TreeModel::setupModelData(), Q3Action::showStatusText(), QToolTip::showText(), QWindowsStyle::sizeFromContents(), QPushButton::sizeHint(), QFontDatabase::smoothSizes(), QCompleter::splitPath(), QFSCompletor::splitPath(), QSqlDriver::sqlStatement(), QDesktopServices::storageLocation(), QFontDatabase::styles(), MainWindow::sumItems(), QAccessibleTabBar::text(), QClipboard::text(), QAccessibleWidget::text(), Q3TextEdit::text(), QAccessibleComboBox::text(), QAccessibleButton::text(), QImage::text(), QAccessibleHeader::text(), QAccessibleToolButton::text(), QAccessibleLineEdit::text(), QAccessibleDisplay::text(), QXmlName::toClarkName(), QDateTime::toString(), QUrl::toString(), QScriptContext::toString(), Q3SqlCursor::toString(), Q3Url::toString(), QCoreApplication::translate(), QFileIconProvider::type(), QExtensionManager::unregisterExtensions(), Q3TextEdit::updateCursor(), QSqlTableModel::updateRowInTable(), QWebPage::userAgentForUrl(), QtFlagPropertyManager::valueText(), DetailsDialog::verify(), QHeaderView::viewportEvent(), QFontDatabase::weight(), QPatternist::QAbstractXmlReceiver::whitespaceOnly(), QAbstractXmlReceiver::whitespaceOnly(), QXmlSerializer::writeEscaped(), QXmlSerializer::writeEscapedAttribute(), XbelWriter::writeItem(), and QXmlStreamWriter::writeNamespace().

{ return d->size == 0; }


Generated by  Doxygen 1.6.0   Back to index