Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The ApplicationTypeLauncher class provides an interface to control a particular application type in the system. More...
#include <ApplicationTypeLauncher>
Inherits QObject.
Inherited by BuiltinApplicationLauncher, ConsoleApplicationLauncher, ExeApplicationLauncher, and QtopiaServerApplicationLauncher.
The ApplicationTypeLauncher class provides an interface to control a particular application type in the system.
The ApplicationTypeLauncher provides a Qt Extended Server Task interface. Qt Extended Server Tasks are documented in full in the QtopiaServerApplication class documentation.
Note: This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
ApplicationTypeLauncher implementers are used by the ApplicationLauncher to control a specific type of application. An overview of the application launcher mechanism is given in the documentation of the ApplicationLauncher class.
Represents the state of an application.
Constant | Value | Description |
---|---|---|
ApplicationTypeLauncher::NotRunning | 0 | The application is not running. |
ApplicationTypeLauncher::Starting | 1 | The application is starting. |
ApplicationTypeLauncher::Running | 2 | The application is running. |
Represents the reason an application terminated.
Constant | Value | Description |
---|---|---|
ApplicationTypeLauncher::Normal | 3 | The application terminated normally. |
ApplicationTypeLauncher::Killed | 4 | The application was killed by the system. |
ApplicationTypeLauncher::FailedToStart | 0 | The application failed to start. |
ApplicationTypeLauncher::Crashed | 1 | The application crashed. |
ApplicationTypeLauncher::Unknown | 2 | The application terminated for an unknown reason. |
Destruct the ApplicationTypeLauncher instance.
Return the current state of the application.
Emitted whenever the application state changes. state will be the application's new state.
Return true if this ApplicationTypeLauncher can launch the application.
Kill the application.
Attempt to launch the application.
Return a descriptive name for the ApplicationTypeLauncher type.
This signal is used by the memory monitor. If pid is empty the Qtopia application exited; otherwise pid is greater than zero. Most server classes should use the terminated() or applicationStateChanged() signal.
Emitted whenever the application terminates. reason represents the cause of the termination.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |