StartupApplications Class Reference
|
Option | Description |
---|---|
ApplicationName | The name of the application to send the QCop messages to. |
ServiceName | A name of a service to send QCop messages to. The default provider of the service will be used. If both ApplicationName and ServiceName are specified, the ServiceName option is ignored. |
TaskGroup | The name of the group to which the background application belogs. Group names allow a collection of applications to be started together at startup by inserting the group name into the Tasks.cfg Qt Extended startup file. Task groups are not optional. |
Silent | If true, warning messages about this application will be suppressed. For example, if the application or service cannot be found a qWarning() will only appear if Silent is false or omitted. |
StartupMessage | A message to send when the application is started. A common value for StartupMessage is raise. |
RestartMessage | A message to send to restart the application when it terminates. This message is optional and will only be sent if the application had previously been started with StartupMessage. |
ShutdownMessage | A message to send at system shutdown. This message is optional and will only be sent if the application had previously been started with StartupMessage. Following this message, the application is expected to exit within 5 seconds. |
Here is a concrete example, specifying that the MessageServer application should be started with the 'startup' application group, and should be restarted if it terminates:
[DaemonParameter] ApplicationName=messageserver TaskGroup=startup StartupMessage=raise() RestartMessage=raise()
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
Create the StartupApplications class with the specified parent.
Emitted whenever a preloaded application crashes. A crashing preloaded application will be automatically removed from the preloaded application list.
The PreloadApplication class filter crashes, using the ApplicationTerminationHandler interface.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com