Switched ConnectionConfig to QString from std::string to fit better into Qt framework

This commit is contained in:
eelke 2019-09-16 19:24:39 +02:00
parent bcfd82c27d
commit 082293e58a
20 changed files with 1077 additions and 211 deletions

View file

@ -6,6 +6,7 @@
#include <QSqlDatabase>
#include <botan/secmem.h>
#include <string>
#include <string_view>
#include <tuple>
#include <memory>
@ -55,7 +56,7 @@ public:
bool locked() const;
std::string encrypt(const std::string &id, const std::string &passwd);
std::string decrypt(const std::string &id, const std::string &encpwd);
std::string decrypt(const std::string &id, const std::string_view &encpwd);
// void remove(const std::string &id);
private:
QString m_passwordTableName = "psk_passwd";