mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T472, allow to pass already existing values for model parsing
* list to map: toDbKeyValueMap * categories can also be passed, hence the categories can be seen in model views
This commit is contained in:
committed by
Mat Sutcliffe
parent
7a2ed1433d
commit
9cee34f4cc
@@ -21,9 +21,9 @@
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
#include <QJsonObject>
|
||||
#include <QMetaType>
|
||||
#include <QString>
|
||||
#include <QMap>
|
||||
#include <QStringList>
|
||||
#include <QMetaType>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -150,6 +150,10 @@ namespace BlackMisc
|
||||
BLACK_METAMEMBER(assignable)
|
||||
);
|
||||
};
|
||||
|
||||
//! Category/id map
|
||||
using AircraftCategoryIdMap = QMap<int, CAircraftCategory>;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user