Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qioseventdispatcher.mm File Reference

(9f618f120c5eb715ec9cbf9120bcb0daf5a97912)

#include "qioseventdispatcher.h"
#include "qiosapplicationdelegate.h"
#include "qiosglobal.h"
#include <QtCore/qprocessordetection.h>
#include <QtCore/private/qcoreapplication_p.h>
#include <QtCore/private/qsystemerror_p.h>
#include <QtCore/private/qthread_p.h>
#include <qpa/qwindowsysteminterface.h>
import <Foundation/NSArray.h>
import <Foundation/NSString.h>
import <Foundation/NSProcessInfo.h>
import <Foundation/NSThread.h>
import <Foundation/NSNotification.h>
import <UIKit/UIApplication.h>
#include <setjmp.h>
#include <sys/mman.h>
Include dependency graph for qioseventdispatcher.mm:

Go to the source code of this file.

Classes

class  QIOSApplicationStateTracker

Macros

#define qAlignDown(val, align)
#define qAlignUp(val, align)

Enumerations

enum  SetJumpResult {
  kJumpPointSetSuccessfully = 0 , kJumpedFromEventDispatcherProcessEvents , kJumpedFromEventLoopExecInterrupt , kJumpedFromUserMainTrampoline ,
  kJumpPointSetSuccessfully = 0 , kJumpedFromEventDispatcherProcessEvents , kJumpedFromEventLoopExecInterrupt , kJumpedFromUserMainTrampoline
}
enum  SetJumpResult {
  kJumpPointSetSuccessfully = 0 , kJumpedFromEventDispatcherProcessEvents , kJumpedFromEventLoopExecInterrupt , kJumpedFromUserMainTrampoline ,
  kJumpPointSetSuccessfully = 0 , kJumpedFromEventDispatcherProcessEvents , kJumpedFromEventLoopExecInterrupt , kJumpedFromUserMainTrampoline
}

Functions

int qt_main_wrapper (int argc, char *argv[])
int main (int argc, char *argv[])
 [ctor_close]
static void __attribute__ ((noinline, noreturn)) user_main_trampoline()
static bool rootLevelRunLoopIntegration ()
bool __attribute__ ((returns_twice)) QIOSJumpingEventDispatcher

Variables

static const size_t kBytesPerKiloByte = 1024
static const long kPageSize = sysconf(_SC_PAGESIZE)
static const char kApplicationWillTerminateExitCode = char(SIGTERM | 0x80)

Macro Definition Documentation

◆ qAlignDown

#define qAlignDown ( val,
align )
Value:
val & ~(align - 1)
GLuint GLfloat * val

Definition at line 32 of file qioseventdispatcher.mm.

◆ qAlignUp

#define qAlignUp ( val,
align )
Value:
qAlignDown(val + (align - 1), align)
#define qAlignDown(val, align)

Definition at line 33 of file qioseventdispatcher.mm.

Enumeration Type Documentation

◆ SetJumpResult [1/2]

Enumerator
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 

Definition at line 266 of file qioseventdispatcher.mm.

◆ SetJumpResult [2/2]

Enumerator
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 

Definition at line 266 of file qioseventdispatcher.mm.

Function Documentation

◆ __attribute__() [1/2]

void __attribute__ ( (noinline, noreturn) )
static

Definition at line 276 of file qioseventdispatcher.mm.

◆ __attribute__() [2/2]

bool __attribute__ ( (returns_twice) )

Definition at line 522 of file qioseventdispatcher.mm.

References kJumpedFromEventDispatcherProcessEvents.

◆ main()

int main ( int argc,
char * argv[] )

[ctor_close]

[0] [1]

[main_cpp]

[main.cpp body]

The main function for the string list model example.

Create a default directory model and, using the index-based interface to the model and some QLabel widgets, populate the window's layout with the names of objects in the directory.

[0] //! [1]

[1]

[using a custom style]

[4]

[QApplication subclass]

[2]

[21]

[getter functions]

[0]

[3]

[main]

This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]

[ctor_close]

[ctor_close]

This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]

[ctor_close]

[0] [1]

[printing a custom type]

[printing a custom type] [storing a custom value]

[storing a custom value]

[retrieving a custom value]

[retrieving a custom value]

[0]

[0] [1]

[1]

[0]

[0]

[1]

[1] [2]

[2]

[0]

[0]

[2]

[2]

[22]

[22]

[3]

[3]

[4]

[4]

[10]

[10]

[qcinfo_stream]

[qcinfo_stream]

[11]

[11]

[12]

[12]

[13]

[13]

[qcinfo_printf]

[qcinfo_printf]

[14]

[14]

[15]

[15]

[16]

[16]

[17]

[17]

[0]

[0]

[1]

[1]

[2]

[2]

[Window class using revision]

[Window class using revision]

[0]

[0]

[1]

[1]

[2]

[2]

[write output] [start stream]

[start stream]

[write element]

[write element]

[finish stream]

[finish stream] [write output]

[1]

[1]

[0]

[0]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1] //! [2]

[2]

[0]

[0]

[1]

[1]

[Adding a resource]

[Adding a resource]

[Inserting an image with a cursor]

[Inserting an image with a cursor]

[Inserting an image using HTML]

[Inserting an image using HTML]

[0]

[0] //! [1]

[1]

[1]

[2]

[2]

[3]

[0]

[1]

[1]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[4]

[4]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[4]

[4]

[5]

[5]

[6]

[6]

[7]

[7]

[8]

[8]

[9]

[9]

[10]

[10]

[11]

[11]

[12]

[12]

[13]

[13]

[14]

[14]

[15]

[15]

[16]

[16]

[17]

[17]

[18]

[18]

[19]

[19]

[20]

[20]

[21]

[21]

[22]

[22]

[23]

[23]

[24]

[24]

[0]

[0]

[1]

[1]

[2] //! [3]

[0] //! [2] //! [4] //! [5]

[3] //! [6]

[4] //! [6] //! [7]

[7]

[5]

[8]

[0]

[0]

[1]

[1]

[2]

[2]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[1]

[0] //! [1] //! [2] //! [3]

[2]

[4]

[3] //! [4]

[5]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[QQuickView]

[QQuickView]

[properties]

[properties]

[cast]

[cast]

[findChild]

[findChild]

[QQmlComponent-b]

[QQmlComponent-b]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[0]

[1]

[2]

[Media Audio Input Device Enumeration]

[Media Audio Input Device Enumeration]

[Media Video Input Device Enumeration]

[Media Video Input Device Enumeration]

Definition at line 100 of file src_corelib_animation_qpropertyanimation.cpp.

References Automaton::Automaton(), CommandLineOptions::CommandLineOptions(), CppGenerator::CppGenerator(), MyApplication::MyApplication(), QDesigner::QDesigner(), QHelpProjectData::QHelpProjectData(), SyncScanner::SyncScanner(), Translator::AbsoluteLocations, TestRunnerSystemSemaphore::acquire(), Automaton::build(), Grammar::buildExtendedGrammar(), Grammar::buildRuleMap(), HelpGenerator::checkLinks(), Scanner::ChromiumAttributions, ConversionData::clearErrors(), Translator::DefaultLocations, Translator::dropTranslations(), Translator::dropUiLines(), Expectations::expectFive(), Expectations::expectFour(), Expectations::expectOne(), Expectations::expectThree(), Expectations::expectTwo(), g_options, g_testInfo, JsonGenerator::generate(), QDocGenerator::generate(), help_me(), Movie::id, InvalidArguments, PackageFilter::InvalidFilter, Parser::isEmpty(), CommandLineOptions::isValid(), ConversionData::m_sortContexts, ConversionData::m_sortMessages, Translator::message(), Translator::messageCount(), NoError, Translator::NoLocations, Translator::normalizeTranslations(), NormalLog, obtainSdkVersion(), CppGenerator::operator()(), DotGraph::operator()(), ParseTable::operator()(), parseOptions(), parseTestArgs(), preliminarySetup(), CommandLineOptions::printHelp(), printHelp(), CommandLineOptions::printHelpOnly(), processAndroidManifest(), pullResults(), Q_DECLARE_METATYPE(), QCH, QHC, QHCP, QHP, qout(), Scanner::QtAttributions, Translator::RelativeLocations, TestRunnerSystemSemaphore::release(), HelpEngineWrapper::removeInstance(), Translator::replaceSorted(), Translator::resolveDuplicates(), Grammar::rules, runRcc(), runUic(), CppGenerator::setCopyright(), CppGenerator::setDebugInfo(), Translator::setLocationsType(), CustomMediaInputSnippets::setupAndRecordAudio(), setupStdoutLogger(), CppGenerator::setWarningsAreErrors(), Options::showLogcatOutput, sigHandler(), SilentLog, Grammar::start, startProcess(), stopStdoutLogger(), Translator::stripFinishedMessages(), Translator::stripNonPluralForms(), Translator::stripObsoleteMessages(), Translator::stripUntranslatedMessages(), SyncScanner::sync(), testExitCode(), testRunnerLock, uninstallTestPackage(), VerboseLog, waitForFinished(), waitForLoggingStarted(), waitForStarted(), and withComponent().

Referenced by qtEntryPoint().

Here is the caller graph for this function:

◆ qt_main_wrapper()

int qt_main_wrapper ( int argc,
char * argv[] )

Definition at line 214 of file qioseventdispatcher.mm.

◆ rootLevelRunLoopIntegration()

bool rootLevelRunLoopIntegration ( )
static

Definition at line 320 of file qioseventdispatcher.mm.

Variable Documentation

◆ kApplicationWillTerminateExitCode

const char kApplicationWillTerminateExitCode = char(SIGTERM | 0x80)
static

Definition at line 422 of file qioseventdispatcher.mm.

◆ kBytesPerKiloByte

const size_t kBytesPerKiloByte = 1024
static

Definition at line 35 of file qioseventdispatcher.mm.

◆ kPageSize

const long kPageSize = sysconf(_SC_PAGESIZE)
static

Definition at line 36 of file qioseventdispatcher.mm.