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>.
|
#include <QtCore/qtclasshelpermacros.h>
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtdeprecationmarkers.h>
#include <QtCore/qttypetraits.h>
Go to the source code of this file.
Classes | |
class | QtPrivate::QForeachContainer< T > |
Namespaces | |
namespace | QtPrivate |
\macro QT_NO_KEYWORDS > | |
Macros | |
#define | Q_FOREACH_IMPL(variable, name, container) |
#define | Q_FOREACH_JOIN(A, B) Q_FOREACH_JOIN_IMPL(A, B) |
#define | Q_FOREACH_JOIN_IMPL(A, B) A ## B |
#define | Q_FOREACH(variable, container) Q_FOREACH_IMPL(variable, Q_FOREACH_JOIN(_container_, __LINE__), container) |
#define | Q_FOREVER for(;;) |
#define | foreach Q_FOREACH |
[19] | |
#define | forever Q_FOREVER |
Functions | |
template<typename T , typename = decltype(std::declval<T>().detach())> | |
void | QtPrivate::warnIfContainerIsNotShared (int) |
template<typename T > | |
QForeachContainer< typename std::decay< T >::type > | QtPrivate::qMakeForeachContainer (T &&t) |
#define forever Q_FOREVER |
Definition at line 78 of file qforeach.h.
Referenced by QNetworkReplyHttpImplPrivate::_q_bufferOutgoingData(), QNetworkReplyImplPrivate::_q_bufferOutgoingData(), QNetworkReplyWasmImplPrivate::_q_bufferOutgoingData(), QNetworkReplyImplPrivate::_q_copyReadyRead(), QtConcurrent::ThreadEngineBarrier::acquire(), QAbstractItemModelPrivate::allowMove(), QV4::WeakMapCtor::construct(), QV4::WeakSetCtor::construct(), QWindowsShellItem::copyData(), HIDDriverHandler::find_devices(), findXdndAwareParent(), QQuickTextNodeEngine::BinaryTreeNode::insert(), interfaceNames(), QV4::ArrayPrototype::method_from(), QV4::IntrinsicTypedArrayCtor::method_from(), Recognizer::nextToken(), QQuickTableViewPrivate::nextVisibleEdgeIndex(), QCocoaEventDispatcher::processEvents(), qCleanupFuncinfo(), QByteArray::qstricmp(), qt_call_post_routines(), qt_poll(), QIODevicePrivate::read(), read_xpm_string(), QEvdevTouchScreenHandler::readData(), QEvdevKeyboardHandler::readKeycode(), QEvdevMouseHandler::readMouseData(), QtConcurrent::ThreadEngineBarrier::release(), QtConcurrent::ThreadEngineBarrier::releaseUnlessLast(), QWindowsFileSystemWatcherEngineThread::run(), QFileInfoGatherer::run(), QLibProxyWrapper::run(), FileInfoThread::run(), QIntegrityHIDManager::run(), QStringAlgorithms< StringType >::simplified_helper(), test_tcpwait(), updateFile(), QNetworkAccessFileBackend::uploadReadyReadSlot(), QtConcurrent::ThreadEngineBarrier::wait(), QWaitConditionPrivate::wait(), and QIODevice::write().
#define Q_FOREACH | ( | variable, | |
container ) Q_FOREACH_IMPL(variable, Q_FOREACH_JOIN(_container_, __LINE__), container) |
Definition at line 66 of file qforeach.h.
Referenced by QQnxScreen::~QQnxScreen(), QQnxScreen::activateWindowGroup(), QQnxScreen::deactivateWindowGroup(), QQnxWindow::findWindow(), QQnxScreen::findWindow(), QQnxClipboard::MimeData::formats(), QQnxIntegration::screenForNative(), QHaikuClipboard::setMimeData(), QQnxClipboard::setMimeData(), QQnxWindow::setScreen(), and QQnxScreen::updateHierarchy().
Definition at line 59 of file qforeach.h.
#define Q_FOREACH_JOIN | ( | A, | |
B ) Q_FOREACH_JOIN_IMPL(A, B) |
Definition at line 63 of file qforeach.h.
#define Q_FOREVER for(;;) |
Definition at line 70 of file qforeach.h.
Referenced by QWaylandXdgToplevelPrivate::handleAckConfigure(), and QWaylandXdgPopupPrivate::handleAckConfigure().