Switched ConnectionConfig to QString from std::string to fit better into Qt framework
This commit is contained in:
parent
bcfd82c27d
commit
082293e58a
20 changed files with 1077 additions and 211 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue