8 static bool preventDisplaySleep(const QString &reason);
9 static bool allowDisplaySleep();
10 static QString displayErrorMessage();
12 static bool preventSystemSleep(const QString &reason);
13 static bool allowSystemSleep();
14 static QString systemErrorMessage();