add FernschreiberUtils to qml context (unused for now)
This commit is contained in:
parent
59304527d2
commit
1486e49f1c
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "processlauncher.h"
|
||||
#include "stickermanager.h"
|
||||
#include "tgsplugin.h"
|
||||
#include "fernschreiberutils.h"
|
||||
|
||||
Q_IMPORT_PLUGIN(TgsIOPlugin)
|
||||
|
||||
|
@ -60,6 +61,9 @@ int main(int argc, char *argv[])
|
|||
context->setContextProperty("tdLibWrapper", tdLibWrapper);
|
||||
qmlRegisterUncreatableType<TDLibWrapper>(uri, 1, 0, "TelegramAPI", QString());
|
||||
|
||||
FernschreiberUtils *fernschreiberUtils = new FernschreiberUtils(view.data());
|
||||
context->setContextProperty("fernschreiberUtils", fernschreiberUtils);
|
||||
|
||||
DBusAdaptor *dBusAdaptor = tdLibWrapper->getDBusAdaptor();
|
||||
context->setContextProperty("dBusAdaptor", dBusAdaptor);
|
||||
|
||||
|
|
Loading…
Reference in a new issue