DtkSystemSettings
dtk library for systemsettings.
|
#include "dtklogin_global.h"
#include <qdatetime.h>
#include <qobject.h>
#include <qvariant.h>
类 | |
struct | Dtk::Login::ScheduledShutdownValue |
定义定时关机所用数据结构 更多... | |
struct | Dtk::Login::Inhibitor |
一个结构数组 更多... | |
枚举 | |
enum class | Dtk::Login::ShutdownType { PowerOff , DryPowerOff , Reboot , DryReboot , Halt , DryHalt , Unknown } |
定义关机类型 更多... | |
enum | Dtk::Login::InhibitBehavior { Shutdown = 1 << 0 , Sleep = 1 << 1 , Idle = 1 << 2 , HandlePowerKey = 1 << 3 , HandleSuspendKey = 1 << 4 , HandleHibernateKey = 1 << 5 , HandleLidSwitch = 1 << 6 } |
定义抑制锁行为 | |
enum class | Dtk::Login::PowerAction { PowerOff , Reboot , Halt , KExec , Suspend , Hibernate , HybridSleep , SuspendThenHibernate , Lock , FactoryReset , Ignore , Unknown } |
定义关机键的动作 更多... | |
enum class | Dtk::Login::ExecuteStatus { Yes , No , Challenge , Na , Unknown } |
是否可以执行当前动作 更多... | |
enum class | Dtk::Login::SessionRole { Leader , All , Unknown } |
指定进程对象 更多... | |
enum class | Dtk::Login::InhibitMode { Block , Delay , Unknown } |
抑制锁的类型 更多... | |
enum class | Dtk::Login::SessionState { Online , Active , Closing , Unknown } |
会话状态 更多... | |
enum class | Dtk::Login::SessionType { TTY , X11 , Mir , Wayland , Unspecified } |
会话类型 更多... | |
enum class | Dtk::Login::SessionClass { User , Greeter , LockScreen , Unknown } |
会话类别 更多... | |
enum class | Dtk::Login::UserState { Offline , Lingering , Online , Active , Closing , Unknown } |
用户状态 更多... | |
enum | DLoginErrorCode { NoError = 0 , Other = 1 , Failed , NoMemory , ServiceUnknown , NoReply , BadAddress , NotSupported , LimitsExceeded , AccessDenied , NoServer , Timeout , NoNetwork , AddressInUse , Disconnected , InvalidArgs , UnknownMethod , TimedOut , InvalidSignature , UnknownInterface , UnknownObject , UnknownProperty , PropertyReadOnly , InternalError , InvalidService , InvalidObjectPath , InvalidInterface , InvalidMember } |
函数 | |
QDebug | Dtk::Login::operator<< (QDebug debug, const ShutdownType &type) |
QDebug | Dtk::Login::operator<< (QDebug debug, const ScheduledShutdownValue &scheduledShutdown) |
QDebug | Dtk::Login::operator<< (QDebug debug, const PowerAction &action) |
QDebug | Dtk::Login::operator<< (QDebug debug, const ExecuteStatus &status) |
QDebug | Dtk::Login::operator<< (QDebug debug, const SessionRole &role) |
QDebug | Dtk::Login::operator<< (QDebug debug, const InhibitMode &mode) |
QDebug | Dtk::Login::operator<< (QDebug debug, const SessionState &state) |
QDebug | Dtk::Login::operator<< (QDebug debug, const SessionType &type) |
QDebug | Dtk::Login::operator<< (QDebug debug, const SessionClass &sessionClass) |
QDebug | Dtk::Login::operator<< (QDebug debug, const UserState &userState) |
dlogintypes.h 中定义了login组件需要使用到的一些自定义数据结构。
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |