Debian Codegraph @

docs/global/dlicenseinfo.zh_CN.dox

raw
1 /*!
2 @~chinese
3 @ingroup dglobal
4 @file include/global/dlicenseinfo.h
5
6 @class Dtk::Core::DLicenseInfo::DComponentInfo
7 @brief dcomponentinfo 是一组用于查询组件所用开源协议信息的类
8
9 @fn Dtk::Core::DLicenseInfo::DComponentInfo::DComponentInfo(DObject *parent)
10 @brief 组件信息类的构造函数
11 @param[in] parent 组件信息类的父对象
12
13 @fn QString Dtk::Core::DLicenseInfo::DComponentInfo::name()
14 @brief 获取组件的名称
15
16 @fn QString Dtk::Core::DLicenseInfo::DComponentInfo::version()
17 @brief 获取组件的版本号
18
19 @fn QString Dtk::Core::DLicenseInfo::DComponentInfo::copyRight()
20 @brief 获取组件的授权信息
21
22 @fn QString Dtk::Core::DLicenseInfo::DComponentInfo::licenseName()
23 @brief 获取组件的所用开源许可协议名称
24
25 @class Dtk::Core::DLicenseInfo
26 @brief dlicenseinfo是一组用于查询应用所用开源许可协议相关信息的类
27
28 @fn Dtk::Core::DLicenseInfo::DLicenseInfo(DObject *parent)
29 @brief 开源许可协议信息类的构造函数
30 @param[in] parent 开源许可协议信息类的父对象
31
32 @fn bool Dtk::Core::DLicenseInfo::loadContent(const QByteArray &content)
33 @brief 通过内容content加载协议
34 @return 0 加载失败
35 @return 1 加载成功
36
37 @fn bool Dtk::Core::DLicenseInfo::loadFile(const QString &file)
38 @brief 通过文件file加载协议
39 @return 0 加载失败
40 @return 1 加载成功
41
42 @fn void Dtk::Core::DLicenseInfo::setLicenseSearchPath(const QString &path)
43 @brief 设置协议内容路径path
44
45 @fn QByteArray Dtk::Core::DLicenseInfo::licenseContent(const QString &licenseName)
46 @brief 获取协议名为licenseName的内容
47
48 @fn DLicenseInfo::DComponentInfos Dtk::Core::DLicenseInfo::componentInfos()
49 @brief 获取组件的相关信息
50
51 */