DOtherSide  0.7.1
C language library for creating bindings for the Qt QML language
Functions
QGuiApplication

Functions related to the QGuiApplication class. More...

Functions

DOS_API char * dos_qcoreapplication_application_dir_path (void)
 Return the QCore::applicationDirPath. More...
 
DOS_API void dos_qcoreapplication_process_events (DosQEventLoopProcessEventFlag flags=DosQEventLoopProcessEventFlag::DosQEventLoopProcessEventFlagProcessAllEvents)
 Force the event loop to spin and process the given events.
 
DOS_API void dos_qcoreapplication_process_events_timed (DosQEventLoopProcessEventFlag flags, int ms)
 Force the event loop to spin and process the given events until no more available or timed out.
 
DOS_API void dos_qguiapplication_create (void)
 Create a QGuiApplication. More...
 
DOS_API void dos_qguiapplication_exec (void)
 Calls the QGuiApplication::exec() function of the current QGuiApplication. More...
 
DOS_API void dos_qguiapplication_quit (void)
 Calls the QGuiApplication::quit() function of the current QGuiApplication. More...
 
DOS_API void dos_qguiapplication_delete (void)
 Free the memory of the current QGuiApplication. More...
 

Detailed Description

Functions related to the QGuiApplication class.

Function Documentation

◆ dos_qcoreapplication_application_dir_path()

DOS_API char* dos_qcoreapplication_application_dir_path ( void  )

Return the QCore::applicationDirPath.

Returns
The QCore::applicationDirPath as a UTF-8 string
Note
The returned string should be deleted by the calling code by using the dos_chararray_delete() function

◆ dos_qguiapplication_create()

DOS_API void dos_qguiapplication_create ( void  )

Create a QGuiApplication.

Note
The created QGuiApplication should be freed by calling dos_qguiapplication_delete()

◆ dos_qguiapplication_delete()

DOS_API void dos_qguiapplication_delete ( void  )

Free the memory of the current QGuiApplication.

Note
A QGuiApplication should have been already created through dos_qguiapplication_create()

◆ dos_qguiapplication_exec()

DOS_API void dos_qguiapplication_exec ( void  )

Calls the QGuiApplication::exec() function of the current QGuiApplication.

Note
A QGuiApplication should have been already created through dos_qguiapplication_create()

◆ dos_qguiapplication_quit()

DOS_API void dos_qguiapplication_quit ( void  )

Calls the QGuiApplication::quit() function of the current QGuiApplication.

Note
A QGuiApplication should have been already created through dos_qguiapplication_create()