libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
Functions
application.h File Reference

Contains all methods defined on qmlbind_application. More...

#include "qmlbind_global.h"

Go to the source code of this file.

Functions

QMLBIND_API qmlbind_applicationqmlbind_application_new (int argc, const char *const *argv)
 Initializes the window system and constructs an application object with argc command line arguments in argv. More...
 
QMLBIND_API qmlbind_applicationqmlbind_application_instance (void)
 Returns a pointer to the application's QApplication instance. More...
 
QMLBIND_API void qmlbind_application_release (qmlbind_application *self)
 Cleans up any window system resources that were allocated by this application. More...
 
QMLBIND_API int qmlbind_application_exec (qmlbind_application *self)
 Enters the main event loop and waits until qmlbind_application_exit() is called, then returns the value that was set to qmlbind_application_exit(). More...
 
QMLBIND_API void qmlbind_application_exit (int returnCode)
 Tells the application to exit with a return code after the current event is processed. More...
 
QMLBIND_API void qmlbind_process_events ()
 Processes all pending events for the calling thread until there are no more events to process. More...
 
QMLBIND_API void qmlbind_next_tick (void(*callback)(void *), void *data)
 Adds callback as to an event queue and returns immediately. More...
 

Detailed Description

Contains all methods defined on qmlbind_application.