Home · All Classes · Grouped Classes · Annotated · Functions

ApplicationTypeLauncher Class Reference

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.

Public Types

Public Functions

Signals

Additional Inherited Members


Detailed Description

The ApplicationTypeLauncher class provides an interface to control a particular application type in the system.

The ApplicationTypeLauncher provides a Qtopia Server Task interface. Qtopia Server Tasks are documented in full in the QtopiaServerApplication class documentation.

Note: This class is part of the Qtopia server and cannot be used by other Qtopia 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.


Member Type Documentation

enum ApplicationTypeLauncher::ApplicationState

Represents the state of an application.

ConstantValueDescription
ApplicationTypeLauncher::NotRunning0The application is not running.
ApplicationTypeLauncher::Starting1The application is starting.
ApplicationTypeLauncher::Running2The application is running.

enum ApplicationTypeLauncher::TerminationReason

Represents the reason an application terminated.

ConstantValueDescription
ApplicationTypeLauncher::Normal3The application terminated normally.
ApplicationTypeLauncher::Killed4The application was killed by the system.
ApplicationTypeLauncher::FailedToStart0The application failed to start.
ApplicationTypeLauncher::Crashed1The application crashed.
ApplicationTypeLauncher::Unknown2The application terminated for an unknown reason.


Member Function Documentation

ApplicationTypeLauncher::~ApplicationTypeLauncher ()   [virtual]

Destruct the ApplicationTypeLauncher instance.

ApplicationState ApplicationTypeLauncher::applicationState ( const QString & application )   [pure virtual]

Return the current state of the application.

void ApplicationTypeLauncher::applicationStateChanged ( const QString & application, ApplicationTypeLauncher::ApplicationState state )   [signal]

Emitted whenever the application state changes. state will be the application's new state.

bool ApplicationTypeLauncher::canLaunch ( const QString & application )   [pure virtual]

Return true if this ApplicationTypeLauncher can launch the application.

void ApplicationTypeLauncher::kill ( const QString & application )   [pure virtual]

Kill the application.

void ApplicationTypeLauncher::launch ( const QString & application )   [pure virtual]

Attempt to launch the application.

QString ApplicationTypeLauncher::name ()   [pure virtual]

Return a descriptive name for the ApplicationTypeLauncher type.

void ApplicationTypeLauncher::terminated ( const QString & application, ApplicationTypeLauncher::TerminationReason reason )   [signal]

Emitted whenever the application terminates. reason represents the cause of the termination.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3