|
dtknotifications
notification development tool kit
|
DAbstractModeNotificationConfig类 更多...
#include <dabstractnotificationmodeconfig.h>
信号 | |
| void | enabledChanged (const bool name) |
| 该模式使能改变时发出enabledChanged信号 更多... | |
Public 成员函数 | |
| DAbstractNotificationModeConfig (const QString &name, QObject *parent=nullptr) | |
| 构造通知系统模式配置对象 更多... | |
| QString | name () const |
| 获取模式的名称(独一无二的标识) 更多... | |
| virtual bool | enabled () const =0 |
| virtual DExpected< void > | setEnabled (bool enabled)=0 |
| 设置当前模式是否启用 更多... | |
Protected 成员函数 | |
| DAbstractNotificationModeConfig (DAbstractNotificationModeConfigPrivate &d, QObject *parent=nullptr) | |
Protected 属性 | |
| QScopedPointer< DAbstractNotificationModeConfigPrivate > | d_ptr |
属性 | |
| QString | name |
| 模式名称 | |
| bool | enabled |
| 是否启用该模式 | |
DAbstractModeNotificationConfig类
|
explicit |
构造通知系统模式配置对象
| [in] | name | 模式名称 |
| [in] | parent | 父对象 |
|
pure virtual |
|
signal |
该模式使能改变时发出enabledChanged信号
| [in] | enabled | 布尔值 |
| QString DAbstractNotificationModeConfig::name | ( | ) | const |
获取模式的名称(独一无二的标识)
|
pure virtual |