|
DAWorkbench 0.0.1
DAWorkbench API
|
参考Java Properties 类封装的属性类,负责SA的属性传递 更多...
#include <DAProperties.h>
Public 成员函数 | |
| QVariant | getProperty (const QString &key) const |
| 获取属性 | |
| QVariant | getProperty (const QString &key, const QVariant &defaultProperty) const |
| 获取属性 | |
| void | setProperty (const QString &key, const QVariant &value) |
| 设置属性 | |
参考Java Properties 类封装的属性类,负责SA的属性传递
| QVariant DA::DAProperties::getProperty | ( | const QString & | key | ) | const |
获取属性
| key | 键值 |
| QVariant DA::DAProperties::getProperty | ( | const QString & | key, |
| const QVariant & | defaultProperty | ||
| ) | const |
获取属性
| key | 键值 |
| defaultProperty | 默认值 |
| void DA::DAProperties::setProperty | ( | const QString & | key, |
| const QVariant & | value | ||
| ) |
设置属性
| key | 键值 |
| value | 值 |