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

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

Referenced by QFileSystemModelPrivate::_q_fileSystemChanged(), QMessageBox::aboutQt(), QDir::absoluteFilePath(), qdesigner_internal::AddLinkDialog::accept(), QWebPage::action(), QScriptDebuggerConsoleCommandManager::addCommand(), QScriptDebuggerConsoleCommandManager::addCommandGroup(), QPixmapIconEngine::addFile(), QIcon::addFile(), QSvgIconEngine::addFile(), Q3FileDialog::addFilter(), CPP::WriteInitialization::addInitializer(), Calculator::additiveOperatorClicked(), QCoreApplication::addLibraryPath(), MainWindow::addParagraph(), QFileSystemWatcher::addPath(), Q3Url::addPath(), CPP::WriteInitialization::addQtEnumInitializer(), CPP::WriteInitialization::addQtFlagsInitializer(), CPP::WriteInitialization::addStringInitializer(), QPainterPath::addText(), QPatternist::NamePool::allocateBinding(), Q3StyleSheetItem::allowedInContext(), QCoreApplication::applicationFilePath(), ApplicationsTab::ApplicationsTab(), QUnixPrintWidgetPrivate::applyPrinterProperties(), Calculator::backspaceClicked(), QFontDatabase::bold(), QPainter::boundingRect(), FindFileDialog::browse(), Window::browse(), Q3IconViewItem::calcRect(), QFSFileEnginePrivate::canonicalized(), QDir::cd(), FtpWindow::cdToParent(), qdesigner_internal::QDesignerPromotion::changePromotedClassName(), QDomHandler::characters(), DocuParser320::characters(), DocuParser310::characters(), Q3Ftp::checkConnection(), ImageComposer::chooseImage(), MainWindow::chooseImage(), QDir::cleanPath(), QPatternist::ColorOutput::colorify(), QDBusConnection::connect(), FtpWindow::connectOrDisconnect(), QDBusConnection::connectToBus(), QLocalSocket::connectToServer(), QScriptDebuggerConsole::consumeInput(), Q3TextEdit::contentsMouseReleaseEvent(), QHttpHeader::contentType(), Q3HttpHeader::contentType(), Ui3Reader::createColorGroupImpl(), QSqlIndex::createField(), QSqlRecordPrivate::createField(), Ui3Reader::createFormDecl(), Ui3Reader::createFormImpl(), QScriptDebuggerConsolePrivate::createJob(), RAMDirectory::createOutput(), QUndoStack::createRedoAction(), QUndoGroup::createRedoAction(), QLineEdit::createStandardContextMenu(), Ui3Reader::createSubDecl(), Ui3Reader::createSubImpl(), QUndoStack::createUndoAction(), QUndoGroup::createUndoAction(), qdesigner_internal::WidgetFactory::createWidget(), QDesignerComponents::createWidgetBox(), QAbstractFileEngineIterator::currentFilePath(), qdesigner_internal::NewFormWidget::currentTemplate(), BookmarkWidget::customContextMenuRequested(), qdesigner_internal::ObjectInspectorModel::data(), QScriptBreakpointsModel::data(), QDBusModel::data(), qdesigner_internal::WidgetBoxCategoryModel::data(), QPSQLResult::data(), MessageModel::data(), HistoryModel::data(), QScriptDebuggerStackModel::data(), QScriptDebuggerScriptsModel::data(), Q3MimeSourceFactory::data(), SpreadSheetItem::data(), qdesigner_internal::ConnectionModel::data(), QScriptDebuggerPrivate::debuggerEvent(), Q3Url::decode(), QPatternist::CompressedWhitespace::decompress(), QSqlTableModel::deleteRowFromTable(), QDBusConnection::disconnect(), QScriptDebuggerBackend::doPendingEvaluate(), QWindowsVistaStyle::drawControl(), QPlastiqueStyle::drawControl(), QGtkStyle::drawControl(), QCleanlooksStyle::drawControl(), QWindowsCEStyle::drawControl(), QWindowsStyle::drawControl(), QWindowsMobileStyle::drawControl(), QWindowsXPStyle::drawControl(), QStyleSheetStyle::drawControl(), QCommonStyle::drawControl(), QItemDelegate::drawDisplay(), QWindowsCEStyle::drawItemText(), QCleanlooksStyle::drawItemText(), QStyle::drawItemText(), QWindowsVistaStyle::drawPrimitive(), Atom::dump(), QObject::dumpObjectInfo(), DiagramScene::editorLostFocus(), Location::emitMessage(), Client::enableGetFortuneButton(), Q3Url::encode(), Q3Url::encodedPathAndQuery(), UiReader::endElement(), Handler::endElement(), DocuParser320::endElement(), qdesigner_internal::FormWindow::ensureUniqueObjectName(), Calculator::equalClicked(), QDBusMessage::errorMessage(), QLibrary::errorString(), QPluginLoader::errorString(), QIBaseDriver::escapeIdentifier(), QDB2Driver::escapeIdentifier(), QSQLite2Driver::escapeIdentifier(), QODBCDriver::escapeIdentifier(), QSQLiteDriver::escapeIdentifier(), QPSQLDriver::escapeIdentifier(), QMYSQLDriver::escapeIdentifier(), QPatternist::StringToCodepointsFN::evaluateSequence(), QPatternist::PrefixFromQNameFN::evaluateSingleton(), QPatternist::QNameFN::evaluateSingleton(), QPatternist::BaseURIFN::evaluateSingleton(), QPatternist::StringJoinFN::evaluateSingleton(), QTabBar::event(), QScriptDebuggerCodeView::event(), QWidget::event(), Q3GroupBox::event(), Q3TextEdit::event(), Q3WhatsThis::eventFilter(), Q3DateTimeEditor::eventFilter(), QScriptDebuggerBackendPrivate::exception(), QSqlQuery::exec(), QPSQLResult::exec(), QSqlDatabase::exec(), QDir::exists(), QPatternist::QNameConstructor::expandQName(), AddressBook::exportAsVCard(), QZipReader::extractAll(), QFontDatabase::families(), QNetworkAccessManagerPrivate::fetchCachedCredentials(), Q3Url::fileName(), QFSFileEngine::fileName(), Q3FileDialog::fileNameEditDone(), QDir::filePath(), TextEdit::filePrintPdf(), IndexListModel::filter(), QHelpIndexModel::filter(), ItemViewFindWidget::find(), Window::find(), Q3DataTable::find(), TextEditFindWidget::find(), QDateTimeParser::findAmPm(), FindDialog::findClicked(), Q3ListView::findItem(), Q3ListBox::findItem(), MainWindow::findItems(), QDateTimeParser::findMonth(), QDomNode::firstChildElement(), UrlLineEdit::focusOutEvent(), QFontDatabase::font(), QPatternist::Numeric::fromLexical(), QHostInfo::fromName(), QSslCertificate::fromPath(), QXmlInputSource::fromRawData(), QFont::fromString(), QDate::fromString(), QDateTime::fromString(), QTime::fromString(), Tree::fullDocumentLocation(), QHelpGenerator::generate(), Tree::generateIndexSection(), BasicToolsPlugin::generateShape(), Tree::generateTagFileCompounds(), Q3UrlOperator::get(), Config::getAllFiles(), Ui3Reader::getClassName(), QColorDialog::getColor(), FSDirectory::getDirectory(), Q3FileDialog::getExistingDirectory(), QtGradientDialog::getGradient(), Q3FileDialog::getOpenFileName(), Q3FileDialog::getOpenFileNames(), Config::getRegExp(), Q3FileDialog::getSaveFileName(), QSharedMemoryPrivate::handle(), QSystemSemaphorePrivate::handle(), Q3DataManager::handleError(), Environment::handleEvent(), QDomImplementation::hasFeature(), Q3Url::hasHost(), Q3Url::hasPassword(), Q3Url::hasPath(), Q3Url::hasRef(), Q3Url::hasUser(), QGraphicsScene::helpEvent(), qdesigner_internal::CssHighlighter::highlightBlock(), qdesigner_internal::QScriptHighlighter::highlightBlock(), QScriptSyntaxHighlighter::highlightBlock(), QTextDocumentLayout::hitTest(), QDirModel::index(), IndexReader::indexExists(), IndexSearcher::IndexSearcher(), QMoviePrivate::infoForFrame(), QAbstractFormBuilder::initialize(), CodeStylePage::initializePage(), QAbstractItemView::inputMethodEvent(), QComboBox::inputMethodEvent(), Q3TextEdit::inputMethodEvent(), QLineEdit::inputMethodEvent(), MainWindow::insertCustomer(), QTextCursor::insertImage(), QFormLayout::insertRow(), QSqlTableModel::insertRowIntoTable(), QTextCursor::insertText(), QFontDatabase::isBitmapScalable(), QRegExp::isEmpty(), Widget::isEmptyFunction(), QLibrary::isLibrary(), IndexReader::isLocked(), IndexReader::isLuceneFile(), QUrl::isParentOf(), QFontDatabase::isSmoothlyScalable(), QRegExp::isValid(), 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(), QComboBox::keyPressEvent(), QAbstractSpinBox::keyPressEvent(), QAbstractItemView::keyPressEvent(), Q3FileDialog::keyPressEvent(), Q3IconView::keyPressEvent(), QTextEdit::keyPressEvent(), Q3ComboBox::keyPressEvent(), TabbedBrowser::keyPressEvent(), TextEdit::keyPressEvent(), Q3ListBox::keyPressEvent(), QDateTimeEdit::keyPressEvent(), QMenuBar::keyPressEvent(), QTextBrowser::keyPressEvent(), QPlainTextEdit::keyPressEvent(), QDomNode::lastChildElement(), IndexReader::lastModified(), Q3Process::launch(), QCoreApplication::libraryPaths(), Q3Ftp::list(), QFtp::list(), QLocalServer::listen(), QPixmap::load(), QImage::load(), qdesigner_internal::QDesignerResource::load(), Config::load(), QWebFrame::load(), QPluginLoader::load(), QAbstractFormBuilder::loadButtonExtraInfo(), AddressBook::loadFromFile(), Window::loadImage(), QTextDocument::loadResource(), QHostInfo::localDomainName(), QHostInfo::lookupHost(), Q3MimeSourceFactory::makeAbsolute(), QSharedMemoryPrivate::makePlatformSafeKey(), QAbstractItemModel::match(), CppCodeParser::matchClassDecl(), CppCodeParser::matchDocsAndStuff(), QDirIteratorPrivate::matchesFilters(), Q3MainWindow::menuAboutToShow(), Q3Action::menuStatusText(), QDir::mkdir(), QDir::mkpath(), Node::moduleName(), QAbstractItemView::mouseMoveEvent(), QWhatsThat::mouseMoveEvent(), WebView::mouseReleaseEvent(), TabWidget::mouseReleaseEvent(), QWhatsThat::mouseReleaseEvent(), Calculator::multiplicativeOperatorClicked(), QAccessibleDisplay::navigate(), RegisterPage::nextId(), QDomNode::nextSiblingElement(), Widget::nullVsEmpty(), QDBusConnection::objectRegisteredAt(), Q3FileDialog::okClicked(), MainWindow::on_actionOpenDirectory_triggered(), ImageViewer::open(), QPSQLDriver::open(), QSQLite2Driver::open(), QODBCDriver::open(), IndexReader::open(), QSQLiteDriver::open(), QOCIDriver::open(), QMYSQLDriver::open(), qdesigner_internal::DeviceProfileDialog::open(), QIBaseDriver::open(), QAssistantClient::openAssistant(), MainWindow::openFile(), MainWindow::openUrl(), QDBusIntrospection::Interface::operator==(), Q3TextEdit::optimAppend(), Q3TextEdit::optimInsert(), Q3TextEdit::optimParseTags(), Q3ListViewItem::paintCell(), SearchLineEdit::paintEvent(), QPlainTextEdit::paintEvent(), Q3Url::parse(), DocParser::parse(), Q3SVGPaintEnginePrivate::parseColor(), CppCodeParser::parseHeaderFile(), Q3SVGPaintEnginePrivate::parseLen(), QHostAddress::parseSubnet(), QPatternist::AbstractDateTime::parseZoneOffset(), QFSCompletor::pathFromIndex(), QStringMatcher::pattern(), QFontDatabase::pointSizes(), QCleanlooksStyle::polish(), QScriptDebuggerAgent::positionChange(), ScriptDebuggerPrivate::positionChange(), BrowserApplication::postLaunch(), QDateTimeParser::potentialValue(), QXmlNamespaceSupport::prefix(), QXmlNamespaceSupport::prefixes(), QPSQLResult::prepare(), QSqlQuery::prepare(), QOCIResult::prepare(), QDomNode::previousSiblingElement(), QTDSDriver::primaryIndex(), QPSQLDriver::primaryIndex(), QSQLite2Driver::primaryIndex(), QOCIDriver::primaryIndex(), QsCodeParser::processTopicCommand(), CppCodeParser::processTopicCommand(), Q3UrlOperator::put(), Q3FileDialog::Q3FileDialog(), Q3SqlCursor::Q3SqlCursor(), Q3SqlSelectCursor::Q3SqlSelectCursor(), Q3Url::Q3Url(), QAssistantClient::QAssistantClient(), QDBusConnection::QDBusConnection(), QDBusServer::QDBusServer(), QDir::QDir(), QGraphicsTextItem::QGraphicsTextItem(), QHelpSearchQueryWidget::query(), QPatternist::XSLTTokenizer::queueTextConstructor(), QUrl::QUrl(), QUuid::QUuid(), QXmlName::QXmlName(), QPictureIO::read(), XbelReader::read(), Q3TextStream::readLine(), QPSQLDriver::record(), QOCIDriver::record(), qdesigner_internal::QDesignerPromotion::referencedPromotedClassNames(), QExtensionManager::registerExtensions(), QDBusConnection::registerObject(), QResource::registerResource(), QAccessibleDisplay::relationTo(), QDir::relativeFilePath(), QDir::remove(), QSidebar::removeEntry(), QNetworkDiskCachePrivate::removeFile(), QCoreApplication::removeLibraryPath(), QFileSystemWatcher::removePath(), QDir::rename(), QGLWidget::renderText(), QUrl::resolved(), QPatternist::AccelTreeResourceLoader::retrieveUnparsedText(), Q3ComboBox::returnPressed(), QDir::rmdir(), QDir::rmpath(), qt::fulltextsearch::std::QHelpSearchIndexReader::run(), QFileInfoGatherer::run(), QKqueueFileSystemWatcherEngine::run(), MainWindow::save(), QDomElementPrivate::save(), QDomDocumentTypePrivate::save(), MainWindow::saveAs(), MainWindow::saveFile(), Screenshot::saveScreenshot(), Window::saveSvg(), AddressBook::saveToFile(), Q3IconViewExtraInfo::saveWidgetExtraInfo(), QScriptDebuggerAgent::scriptLoad(), QScriptDebuggerAgent::scriptUnload(), QTextEdit::scrollToAnchor(), Q3TextEdit::scrollToAnchor(), Q3SqlCursor::select(), QSqlTableModel::select(), Q3FileDialog::selectDirectoryOrFile(), QFileDialog::selectFile(), QSqlTableModel::selectStatement(), QSqlRelationalTableModel::selectStatement(), QSqlResult::setActive(), Q3TabDialog::setApplyButton(), QScriptDebuggerAgent::setBreakpoint(), QNetworkDiskCache::setCacheDirectory(), QGraphicsItem::setCacheMode(), Q3TabDialog::setCancelButton(), QNetworkCookieJar::setCookiesFromUrl(), MainWindow::setCurrentFile(), QScriptDebuggerLocalsModel::setData(), qdesigner_internal::ConnectionModel::setData(), QFileSystemModel::setData(), Q3TabDialog::setDefaultButton(), Q3FileDialog::setDir(), QFileDialog::setDirectory(), Q3Url::setFileName(), Q3FileDialog::setFilter(), Q3TabDialog::setHelpButton(), QWebSettings::setIconDatabasePath(), Dialog::setItem(), QColor::setNamedColor(), Q3TabDialog::setOkButton(), QPrinter::setOutputFileName(), QTextLayout::setPreeditArea(), qdesigner_internal::QDesignerPromotion::setPromotedClassIncludeFile(), QAbstractSpinBoxPrivate::setRange(), QFileSystemModel::setRootPath(), Q3FileDialog::setSelection(), QAccessibleAbstractScrollArea::setText(), Q3ListViewItem::setText(), QImageWriter::setText(), Q3IconViewItem::setText(), Dialog::setText(), TreeModel::setupModelData(), Q3Action::showStatusText(), QToolTip::showText(), QWindowsMobileStyle::sizeFromContents(), QWindowsStyle::sizeFromContents(), QPushButton::sizeHint(), QFontDatabase::smoothSizes(), QAbstractSpinBoxPrivate::specialValue(), QCompleter::splitPath(), QFSCompletor::splitPath(), QSqlDriver::sqlStatement(), QLocale::standaloneDayName(), QLocale::standaloneMonthName(), QStyleSheetStyle::standardIconImplementation(), QStyleSheetStyle::standardPixmap(), Handler::startElement(), XbelHandler::startElement(), UiReader::startElement(), JambiApiParser::startElement(), QDesktopServices::storageLocation(), QStyleSheetStyle::styleHint(), QFontDatabase::styles(), MainWindow::sumItems(), QSQLiteDriver::tables(), QDB2Driver::tables(), QIBaseDriver::tables(), QAccessibleTabBar::text(), QAccessibleMenuBar::text(), QClipboard::text(), QAccessibleWidget::text(), Q3AccessibleDisplay::text(), Q3TextEdit::text(), QAccessibleComboBox::text(), QAccessibleButton::text(), Q3AccessibleHeader::text(), QImage::text(), QAccessibleHeader::text(), QAccessibleToolButton::text(), QAccessibleLineEdit::text(), QAccessibleDisplay::text(), QDBusMessagePrivate::toDBusMessage(), QTextHtmlExporter::toHtml(), QDateTime::toString(), QHostAddress::toString(), QUrl::toString(), QScriptContext::toString(), Q3Url::toString(), QCoreApplication::translate(), QFileIconProvider::type(), QExtensionManager::unregisterExtensions(), Q3SqlCursor::update(), QAbstractSpinBoxPrivate::updateEdit(), QSqlTableModel::updateRowInTable(), QFontDialogPrivate::updateSizes(), QWebPage::userAgentForUrl(), qdesigner_internal::QULongLongValidator::validate(), QSpinBoxValidator::validate(), QT_BEGIN_NAMESPACE::UrlValidator::validate(), qdesigner_internal::QLongLongValidator::validate(), QSpinBoxPrivate::validateAndInterpret(), QDoubleSpinBoxPrivate::validateAndInterpret(), QDateTimeEditPrivate::validateAndInterpret(), FilterPage::validatePage(), qdesigner_internal::DesignerPropertyManager::valueText(), QtFlagPropertyManager::valueText(), DetailsDialog::verify(), QHeaderView::viewportEvent(), QFontDatabase::weight(), QPatternist::QAbstractXmlReceiver::whitespaceOnly(), QAbstractXmlReceiver::whitespaceOnly(), QPictureIO::write(), QImageWriter::write(), QSvgIconEngine::write(), QXmlSerializer::writeEscaped(), QXmlSerializer::writeEscapedAttribute(), XbelWriter::writeItem(), and QXmlStreamWriter::writeNamespace().

{ return d->size == 0; }

Generated by  Doxygen 1.6.0   Back to index