|
23 | 23 | #include <qml/components/blockclockdial.h> |
24 | 24 | #include <qml/controls/linegraph.h> |
25 | 25 | #include <qml/guiconstants.h> |
| 26 | +#include <qml/imageprovider.h> |
26 | 27 | #include <qml/models/activitylistmodel.h> |
27 | 28 | #include <qml/models/chainmodel.h> |
28 | 29 | #include <qml/models/networktraffictower.h> |
29 | 30 | #include <qml/models/nodemodel.h> |
30 | 31 | #include <qml/models/options_model.h> |
31 | 32 | #include <qml/models/peerdetailsmodel.h> |
32 | 33 | #include <qml/models/peerlistsortproxy.h> |
| 34 | +#include <qml/models/sendrecipient.h> |
33 | 35 | #include <qml/models/walletlistmodel.h> |
34 | 36 | #include <qml/models/walletqmlmodel.h> |
35 | | -#include <qml/imageprovider.h> |
| 37 | +#include <qml/models/walletqmlmodeltransaction.h> |
36 | 38 | #include <qml/util.h> |
37 | 39 | #include <qml/walletqmlcontroller.h> |
38 | 40 | #include <qt/guiutil.h> |
@@ -337,10 +339,13 @@ int QmlGuiMain(int argc, char* argv[]) |
337 | 339 | qmlRegisterUncreatableType<PeerDetailsModel>("org.bitcoincore.qt", 1, 0, "PeerDetailsModel", ""); |
338 | 340 | qmlRegisterType<BitcoinAmount>("org.bitcoincore.qt", 1, 0, "BitcoinAmount"); |
339 | 341 | qmlRegisterUncreatableType<Transaction>("org.bitcoincore.qt", 1, 0, "Transaction", ""); |
| 342 | + qmlRegisterUncreatableType<SendRecipient>("org.bitcoincore.qt", 1, 0, "SendRecipient", ""); |
340 | 343 |
|
341 | 344 | #ifdef ENABLE_WALLET |
342 | 345 | qmlRegisterUncreatableType<WalletQmlModel>("org.bitcoincore.qt", 1, 0, "WalletQmlModel", |
343 | 346 | "WalletQmlModel cannot be instantiated from QML"); |
| 347 | + qmlRegisterUncreatableType<WalletQmlModelTransaction>("org.bitcoincore.qt", 1, 0, "WalletQmlModelTransaction", |
| 348 | + "WalletQmlModelTransaction cannot be instantiated from QML"); |
344 | 349 | #endif |
345 | 350 |
|
346 | 351 | engine.load(QUrl(QStringLiteral("qrc:///qml/pages/main.qml"))); |
|
0 commit comments