Ai
81 Star 380 Fork 168

LibQQt应用程序开发组织/LibQQt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qqtdicthelper.h 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
T.D.R. 提交于 2021-03-18 15:41 +08:00 . 在qqtdicthelper.h里增加两个导出函数。
#ifndef QQTDICTHELPER_H
#define QQTDICTHELPER_H
#include <qqt-local.h>
#include <qqtdictionary.h>
#include <qqtordereddictionary.h>
//别名,Q开头的Dictionary。
typedef QQtDictionary QDictionary;
typedef QQtOrderedDictionary QOrderedDictionary;
typedef QQtDictionaryMap QDictionaryMap;
typedef QQtDictionaryMapIterator QDictionaryMapIterator;
typedef QQtDictionaryMutableMapIterator QDictionaryMutableMapIterator;
typedef QQtDictionaryList QDictionaryList;
typedef QQtDictionaryListIterator QDictionaryListIterator;
typedef QQtDictionaryMutableListIterator QDictionaryMutableListIterator;
typedef QQtOrderedDictionaryMap QOrderedDictionaryMap;
typedef QQtOrderedDictionaryMapIterator QOrderedDictionaryMapIterator;
typedef QQtOrderedDictionaryMutableMapIterator QOrderedDictionaryMutableMapIterator;
typedef QQtOrderedDictionaryList QOrderedDictionaryList;
typedef QQtOrderedDictionaryListIterator QOrderedDictionaryListIterator;
typedef QQtOrderedDictionaryMutableListIterator QOrderedDictionaryMutableListIterator;
//C++ []操作符重载超过两层就不能赋值给引用变量了,所以这里对于获取深层引用进行封装。
QQTSHARED_EXPORT QQtDictionary& QQtGetDictNode ( QQtDictionary& rootDict,
QList<QString>& keyList1, bool numberAsString = false );
QQTSHARED_EXPORT QQtOrderedDictionary& QQtGetDictNode ( QQtOrderedDictionary& rootDict,
QList<QString>& keyList1, bool numberAsString = false );
#endif // QQTDICTHELPER_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/drabel/LibQQt.git
git@gitee.com:drabel/LibQQt.git
drabel
LibQQt
LibQQt
master

搜索帮助