forked from blue/squawk
trust summary gui delivery
This commit is contained in:
parent
fffef9876a
commit
4f295fee3c
13 changed files with 169 additions and 143 deletions
|
@ -17,6 +17,8 @@
|
|||
#ifndef SHARED_TRUSTSUMMARY_H
|
||||
#define SHARED_TRUSTSUMMARY_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
|
@ -42,10 +44,18 @@ private:
|
|||
typedef std::map<EncryptionProtocol, Amounts> Data;
|
||||
|
||||
Data data;
|
||||
|
||||
public:
|
||||
static const std::map<EncryptionProtocol, QString> protocolKeys;
|
||||
static const std::map<QString, EncryptionProtocol> protocolValues;
|
||||
|
||||
private:
|
||||
static const std::set<TrustLevel> trustedLevels;
|
||||
static const std::set<TrustLevel> untrustedLevels;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Shared::TrustSummary)
|
||||
|
||||
#endif // SHARED_TRUSTSUMMARY_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue