[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktp-common-internals/frameworks] KTp/Declarative: Register all the types!
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2014-04-13 13:35:38
Message-ID: E1WZKZO-0006rj-0t () scm ! kde ! org
[Download RAW message or body]

Git commit cac89edd519758c1695b24c3b922a29f36a5b3f0 by Aleix Pol.
Committed on 13/04/2014 at 13:35.
Pushed by apol into branch 'frameworks'.

Register all the types!

M  +2    -0    KTp/Declarative/qml-plugins.cpp

http://commits.kde.org/telepathy-common-internals/cac89edd519758c1695b24c3b=
922a29f36a5b3f0

diff --git a/KTp/Declarative/qml-plugins.cpp b/KTp/Declarative/qml-plugins.=
cpp
index 2ab65d5..74b5b0c 100644
--- a/KTp/Declarative/qml-plugins.cpp
+++ b/KTp/Declarative/qml-plugins.cpp
@@ -33,6 +33,7 @@
 #include "filtered-pinned-contacts-proxy-model.h"
 #include "telepathy-manager.h"
 =

+#include <TelepathyQt/PendingChannelRequest>
 #include "KTp/types.h"
 #include "KTp/Models/contacts-filter-model.h"
 #include "KTp/Models/contacts-model.h"
@@ -64,6 +65,7 @@ void QmlPlugins::registerTypes(const char *uri)
 =

     qmlRegisterType<TelepathyManager>();
     qmlRegisterType<ConversationsModel>();
+    qmlRegisterType<Tp::PendingChannelRequest>();
     qRegisterMetaType<Tp::AccountManagerPtr>();
     qRegisterMetaType<KTp::ContactPtr>();
     qRegisterMetaType<Tp::AccountPtr>();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic