From bd809abc52cc8d312c0023cfc9ae2d14e191d0b5 Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 14 Jan 2019 13:25:59 +0100 Subject: add account support Co-authored-by: kenshi84 --- main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 43b1f5a6..b47d1191 100644 --- a/main.cpp +++ b/main.cpp @@ -55,6 +55,8 @@ #include "model/AddressBookModel.h" #include "Subaddress.h" #include "model/SubaddressModel.h" +#include "SubaddressAccount.h" +#include "model/SubaddressAccountModel.h" #include "wallet/api/wallet2_api.h" #include "Logger.h" #include "MainApp.h" @@ -208,6 +210,12 @@ int main(int argc, char *argv[]) qmlRegisterUncreatableType("moneroComponents.Subaddress", 1, 0, "Subaddress", "Subaddress can't be instantiated directly"); + qmlRegisterUncreatableType("moneroComponents.SubaddressAccountModel", 1, 0, "SubaddressAccountModel", + "SubaddressAccountModel can't be instantiated directly"); + + qmlRegisterUncreatableType("moneroComponents.SubaddressAccount", 1, 0, "SubaddressAccount", + "SubaddressAccount can't be instantiated directly"); + qRegisterMetaType(); qRegisterMetaType(); qRegisterMetaType(); -- cgit v1.2.3