integrating cpp wallet mockups with QML

This commit is contained in:
Ilya Kitaev
2016-02-24 13:25:20 +03:00
parent 1195a89d06
commit 625041df18
11 changed files with 172 additions and 36 deletions

View File

@@ -3,15 +3,27 @@
#include <QObject>
struct WalletImpl;
class Wallet : public QObject
{
Q_OBJECT
Q_PROPERTY(QString seed READ getSeed)
public:
explicit Wallet(QObject *parent = 0);
QString getSeed() const;
QString getSeedLanguage() const;
void setSeedLaguage(const QString &lang);
signals:
public slots:
private:
friend class WalletManager;
WalletImpl * m_pimpl;
};
#endif // WALLET_H
#endif // WALLET_H