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

(be93c06758260b1e0738ab17a2ecc4ee8f90e87e)

#include "qioseventdispatcher.h"
#include "qiosapplicationdelegate.h"
#include "qiosglobal.h"
#include <QtCore/qprocessordetection.h>
#include <QtCore/private/qcoreapplication_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[])
 [2]
 
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 30 of file qioseventdispatcher.mm.

◆ qAlignUp

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

Definition at line 31 of file qioseventdispatcher.mm.

Enumeration Type Documentation

◆ SetJumpResult [1/2]

Enumerator
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 

Definition at line 225 of file qioseventdispatcher.mm.

◆ SetJumpResult [2/2]

Enumerator
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 
kJumpPointSetSuccessfully 
kJumpedFromEventDispatcherProcessEvents 
kJumpedFromEventLoopExecInterrupt 
kJumpedFromUserMainTrampoline 

Definition at line 225 of file qioseventdispatcher.mm.

Function Documentation

◆ __attribute__() [1/2]

static void __attribute__ ( (noinline, noreturn) )
static

Definition at line 235 of file qioseventdispatcher.mm.

◆ __attribute__() [2/2]

bool __attribute__ ( (returns_twice) )

Definition at line 475 of file qioseventdispatcher.mm.

◆ main()

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

[2]

[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]

[QApplication subclass]

[21]

[getter functions]

[0]

[3]

[4]

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

[0] [1]

[3]

[2]

[2]

[4]

[2]

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

[0] [1]

[2]

[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]

[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]

[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]

[0]

[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]

[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 77 of file buffer.cpp.

References Automaton::Automaton(), CommandLineOptions::CommandLineOptions(), CppGenerator::CppGenerator(), MyApplication::MyApplication(), QDesigner::QDesigner(), QHelpProjectData::QHelpProjectData(), SyncScanner::SyncScanner(), Translator::AbsoluteLocations, TestRunnerSystemSemaphore::acquire(), Options::auxMode, Automaton::build(), Options::build, buildAndroidProject(), Grammar::buildExtendedGrammar(), Grammar::buildRuleMap(), bytearray_ptr_ctor_snippet(), CannotBuildAndroidProject, CannotCopyAndroidExtraLibs, CannotCopyAndroidExtraResources, CannotCopyAndroidSources, CannotCopyAndroidTemplate, CannotCopyApk, CannotCopyGnuStl, CannotCopyQtFiles, CannotCreateRcc, CannotFindApplicationBinary, CannotGenerateJavaQmlComponents, CannotInstallApk, CannotReadDependencies, CannotReadInputFile, CannotSignPackage, CannotUpdateAndroidFiles, HelpGenerator::checkLinks(), Scanner::ChromiumAttributions, cleanAndroidFiles(), ConversionData::clearErrors(), containsApplicationBinary(), copyAndroidExtraLibs(), copyAndroidExtraResources(), copyAndroidSources(), copyAndroidTemplate(), Options::copyDependenciesOnly, copyPackage(), copyQtFiles(), copyStdCpp(), createRcc(), Translator::DefaultLocations, Options::deploymentMechanism, Translator::dropTranslations(), Translator::dropUiLines(), Expectations::expectFive(), Expectations::expectFour(), Expectations::expectOne(), Expectations::expectThree(), Expectations::expectTwo(), g_options, g_testInfo, JsonGenerator::generate(), QDocGenerator::generate(), generateJavaQmlComponents(), Options::generateJavaQmlComponents, help_me(), Options::helpRequested, Movie::id, installApk(), Options::installApk, InvalidArguments, PackageFilter::InvalidFilter, Parser::isEmpty(), CommandLineOptions::isValid(), ConversionData::m_sortContexts, ConversionData::m_sortMessages, main_snippet(), Translator::message(), Translator::messageCount(), NoError, Translator::NoLocations, Translator::normalizeTranslations(), NormalLog, obtainSdkVersion(), CppGenerator::operator()(), DotGraph::operator()(), ParseTable::operator()(), out, parseOptions(), parseOptions(), parseTestArgs(), preliminarySetup(), CommandLineOptions::printHelp(), printHelp(), printHelp(), CommandLineOptions::printHelpOnly(), pullResults(), Q_DECLARE_METATYPE(), QCH, QHC, QHCP, QHP, qout(), Scanner::QtAttributions, read_datastream_snippets(), readDependencies(), readInputFile(), Translator::RelativeLocations, TestRunnerSystemSemaphore::release(), HelpEngineWrapper::removeInstance(), Translator::replaceSorted(), Translator::resolveDuplicates(), Grammar::rules, runRcc(), runUic(), setBuffer_snippet(), CppGenerator::setCopyright(), CppGenerator::setDebugInfo(), Translator::setLocationsType(), CustomMediaInputSnippets::setupAndRecordAudio(), setupStdoutLogger(), CppGenerator::setWarningsAreErrors(), sigHandler(), signPackage(), SilentLog, Grammar::start, startProcess(), stopStdoutLogger(), Translator::stripFinishedMessages(), Translator::stripNonPluralForms(), Translator::stripObsoleteMessages(), Translator::stripUntranslatedMessages(), SyncScanner::sync(), SyntaxErrorOrHelpRequested, testExitCode(), testRunnerLock, Options::timing, Options::Unbundled, uninstallTestPackage(), updateAndroidFiles(), VerboseLog, waitForFinished(), waitForLoggingStarted(), waitForStarted(), withComponent(), write_datastream_snippets(), and writeDependencyFile().

◆ qt_main_wrapper()

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

Definition at line 186 of file qioseventdispatcher.mm.

◆ rootLevelRunLoopIntegration()

static bool rootLevelRunLoopIntegration ( )
static

Definition at line 275 of file qioseventdispatcher.mm.

Variable Documentation

◆ kApplicationWillTerminateExitCode

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

Definition at line 375 of file qioseventdispatcher.mm.

◆ kBytesPerKiloByte

static const size_t kBytesPerKiloByte = 1024
static

Definition at line 33 of file qioseventdispatcher.mm.

◆ kPageSize

static const long kPageSize = sysconf(_SC_PAGESIZE)
static

Definition at line 34 of file qioseventdispatcher.mm.