[Interest] applicationStateChanged in QML
mark diener
rpzrpzrpz at gmail.com
Fri Aug 15 03:28:47 CEST 2014
Does anybody know how to receive application signals from QGuiApplication
in Qt Quick 2.0 application?
I do not want to use a binding
The signal coming from QGuiApplication ->void *applicationStateChanged
<http://qt-project.org/doc/qt-5/qguiapplication.html#applicationStateChanged>*
(Qt::ApplicationState* state*)
Inside QML, I want to use a Connections component to get the signal
triggered in QML
Or can I only deal with this signal inside of C++? And then use my own
global singleton class
to trigger a signal into QML?
I have searched high and low.
Maybe there is a way to use the Qt.application.active property and bind it
so that it will call
a javascript function?
Any answers appreciated,
md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140814/fcc7d03d/attachment.html>
More information about the Interest
mailing list