DtkCore
DTK Core module
|
dlicenseinfo是一组用于查询应用所用开源许可协议相关信息的类 更多...
类 | |
class | DComponentInfo |
dcomponentinfo 是一组用于查询组件所用开源协议信息的类 更多... | |
Public 类型 | |
using | DComponentInfos = QVector< DComponentInfo * > |
Public 成员函数 | |
DLicenseInfo (DObject *parent=nullptr) | |
开源许可协议信息类的构造函数 | |
bool | loadContent (const QByteArray &content) |
通过内容content加载协议 | |
bool | loadFile (const QString &file) |
通过文件file加载协议 | |
void | setLicenseSearchPath (const QString &path) |
设置协议内容路径path | |
QByteArray | licenseContent (const QString &licenseName) |
获取协议名为licenseName的内容 | |
DComponentInfos | componentInfos () const |
获取组件的相关信息 | |
额外继承的成员函数 | |
![]() | |
DObject (DObject *parent=nullptr) | |
DObject (DObjectPrivate &dd, DObject *parent=nullptr) | |
![]() | |
QScopedPointer< DObjectPrivate > | d_d_ptr |
dlicenseinfo是一组用于查询应用所用开源许可协议相关信息的类
|
explicit |
开源许可协议信息类的构造函数
[in] | parent | 开源许可协议信息类的父对象 |
bool Dtk::Core::DLicenseInfo::loadContent | ( | const QByteArray & | content | ) |
通过内容content加载协议
bool Dtk::Core::DLicenseInfo::loadFile | ( | const QString & | file | ) |
通过文件file加载协议