Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qscopeguard.h File Reference

(01e1dc273d0fd95e4e4f57ae0af1862196f72bd6)

#include <QtCore/qglobal.h>
#include <type_traits>
#include <utility>
+ Include dependency graph for qscopeguard.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QScopeGuard< F >
 

Functions

template<typename F >
 QScopeGuard (F(&)()) -> QScopeGuard< F(*)()>
 
template<typename F >
QScopeGuard< typename std::decay< F >::typeqScopeGuard (F &&f)
 [qScopeGuard]
 

Function Documentation

◆ qScopeGuard()

template<typename F >
QScopeGuard< typename std::decay< F >::type > qScopeGuard ( F && f)

[qScopeGuard]

Definition at line 60 of file qscopeguard.h.

Referenced by QMenuPrivate::activateCausedStack(), QQmlJS::Dom::DomEnvironment::addExternalItemInfo(), QFseventsFileSystemWatcherEngine::addPaths(), QInotifyFileSystemWatcherEngine::addPaths(), QKqueueFileSystemWatcherEngine::addPaths(), QPollingFileSystemWatcherEngine::addPaths(), QWindowsFileSystemWatcherEngine::addPaths(), QQmlComponentPrivate::beginCreate(), QtQuickPrivate::beginDeferred(), QNetworkListManagerEvents::checkBehindCaptivePortal(), QQuickItemViewPrivate::clear(), QtQuickPrivate::completeDeferred(), QVideoTextureHelper::createTexturesFromMemory(), QTlsPrivate::TlsKeyOpenSSL::decodePem(), QTlsBackendOpenSSL::dhParametersFromDer(), QTlsBackendOpenSSL::dhParametersFromPem(), QT_BEGIN_NAMESPACE::doCrypt(), QQmlTypeData::done(), QRhiVulkan::endFrame(), QQmlJS::Dom::ModuleIndex::ensureMinorVersion(), QV4::Module::evaluate(), QQuickDeliveryAgent::event(), QQmlJS::Dom::LoadInfo::execEnd(), QEglFSKmsGbmScreen::flip(), QQmlJSCodeGenerator::generate_Ret(), QQmlJSCodeGenerator::generateReturnError(), QCGWindowCapture::Grabber::grabFrame(), QGdiWindowCapture::Grabber::grabFrame(), QGrabWindowSurfaceCapture::Grabber::grabFrame(), QQuickDrawerPrivate::handleRelease(), QComboBox::hidePopup(), QTlsPrivate::X509CertificateOpenSSL::importPkcs12(), jump(), QTreeViewPrivate::layout(), QV4::CompiledData::CompilationUnit::loadFromDisk(), QQmlJS::Dom::DomEnvironment::loadPendingDependencies(), QHostInfo::localDomainName(), myComplexCodeWithMultipleReturnPoints(), QGstreamerImageCapture::probeBuffer(), QCocoaEventDispatcher::processEvents(), qCompileJSFile(), qt_initialize_pthread_cond(), qt_message_print(), qt_Nfc_Queue(), QCacheUtils::readCachedMesh(), QCacheUtils::readCookedMesh(), QWinSettingsPrivate::readKey(), QQuickGridLayoutBase::rearrange(), registerNatives(), QFseventsFileSystemWatcherEngine::removePaths(), QInotifyFileSystemWatcherEngine::removePaths(), QKqueueFileSystemWatcherEngine::removePaths(), QWindowsFileSystemWatcherEngine::removePaths(), QShortcutMap::removeShortcut(), QFFmpeg::AudioRenderer::renderInternal(), QWindowsWindow::requestActivateWindow(), QHostInfoRunnable::run(), QQuickPixmapReader::run(), QV4::CompiledData::SaveableUnitPointer::saveToDisk(), QCoreApplicationPrivate::sendPostedEvents(), QGraphicsWidget::setGeometry(), QWidget::setParent(), QObjectPrivate::setParent_helper(), QCocoaMenu::showPopup(), QTlsPrivate::TlsKeyOpenSSL::toPem(), QQuickMultiPointTouchArea::updateTouchData(), QX11CapturableWindows::windows(), QQmlJS::Dom::FileWriter::write(), QCacheUtils::writeCachedMesh(), and xxflate().

◆ QScopeGuard()

template<typename F >
QScopeGuard ( F(&)() ) -> QScopeGuard< F(*)()>

Referenced by QFFmpeg::EncoderThread::lockLoopData().

+ Here is the caller graph for this function: