StorageMonitor Class Reference
|
Key | Description |
---|---|
StorageMonitor/Enabled | Set to false if the storage monitor is to be disabled. By default this value is true and the storage monitor is enabled. |
StorageMonitor/UpdatePeriod | The rate, in seconds, at which the storage monitor polls the filesystems. By default this is 60 seconds. |
StorageMonitor/MinimalStorageLimit | When the total free space summed across all writable filesystems is below this value, in percent, the storage monitor dialog will be triggered. By default this is 10 percent. Note that MaxAbsolute and MinAbsolute can override certain aspects of this condition. Setting this value to 0 disables relative storage alarms. |
StorageMonitor/MaxAbsolute | The storage monitor will never be triggered unless the total free space is below this value (no matter what the relative minimalStorageLimit value is set to). This value is measured in megabyte and defaults to 100 MB. Setting this value to 0 causes the monitor to ignore this type of alarm adjustment. |
StorageMonitor/MinAbsolute | The storage monitor will always be triggered if the absolute amount of remaining storage space is below this value (no matter what the relative MinimalStorageLimit value is set to). This value is measured in megabyte and defaults to 1 MB. Setting this value to 0 causes the monitor to ignore this type of alarm adjustment. MinAbsolute takes precedence if MaxAbsolute >= MinAbsolute. |
#Trolltech/qpe.conf [StorageMonitor] MinimalStorageLimit=7 MaxAbsolute=200 MinAbsolute=5
The above example triggers the monitor alarm if the total free space is below 7% but not if the free space is above 200MB (for devices with big file systems). It also triggers the alarm if the device's total free space drops below 5MB even if that equates to more than 7% of the total space (for devices with small file systems).
Polls, by default, every 60 seconds, but pauses when screen is off or there are no writable file systems. Checks for CleanupWizard service.
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
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