Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
Provides the Qt Extended built-in service. More...
#include <QtopiaAppService>
Inherits QtopiaAbstractService.
Provides the Qt Extended built-in service.
The QtopiaApplicationService describes messages that all Qt Extended applications respond to, without the application programmer needing to do anything special to enable them.
For example, every application has a raise() message that can be used to automatically execute and raise the application as follows:
QtopiaIpcEnvelope e( "QPE/Application/foo", "raise()" );
Make the application's main window "go away". If the application is preloaded, this will merely hide the main window. Otherwise this calls QCoreApplication::quit().
Disable preloading of this application. This will cause the close() message to quit the application rather than just hide the main window.
Enable preloading of this application. This will cause the close() message to hide the main window rather than quitting.
Tell the application to flush all of its data to disk in preparation for syncing with a desktop system. This will cause the QtopiaApplication::flush() signal to be emitted, which the application can connect to if it needs to perform non-trivial operations to flush its data.
Ask the application to quit if doing so will not lose state. Internally, this calls QtopiaApplication::tryQuit().
Quit the application if it has no windows currently displayed. Internally, this calls QCoreApplication::quit().
Raise this application to the top-most position and make its main window visible.
Tell the application to reload its data after syncing with a desktop system. This will cause the QtopiaApplication::reload() signal to be emitted, which the application can connect to if it needs to perform non-trivial operations to reload its data.
Set the document to be displayed in the application to doc. If the main window object has a setDocument(QString) slot, then that slot will be invoked automatically, with doc as its argument.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |