24 #include <QtDeclarative/QDeclarativeItem>
42 qmlRegisterType<ContactList> (uri, 0, 1,
"ContactList");
43 qmlRegisterType<TelepathyTextObserver> (uri, 0, 1,
"TelepathyTextObserver");
44 qmlRegisterType<Conversation>(uri, 0, 1,
"Conversation");
45 qmlRegisterType<HideWindowComponent>(uri, 0, 1,
"HideWindowComponent");
46 qmlRegisterType<PinnedContactsModel>(uri, 0, 1,
"PinnedContactsModel");
47 qmlRegisterType<ContactPin>(uri, 0, 1,
"ContactPin");
48 qmlRegisterType<FilteredPinnedContactsProxyModel>(uri, 0, 1,
"FilteredPinnedContactsProxyModel");
49 qmlRegisterType<DeclarativeKTpActions>(uri, 0, 1,
"DeclarativeKTpActions");
51 qmlRegisterUncreatableType<KTp::ContactsFilterModel> (uri, 0, 1,
"AccountsFilterModel",
52 QLatin1String(
"Filter cannot be created. Access through ContactList.filter"));
53 qmlRegisterUncreatableType<MessagesModel> (uri, 0, 1,
"MessagesModel",
54 QLatin1String(
"It will be created once the conversation is created"));
56 qmlRegisterType<ConversationTarget>();
57 qmlRegisterType<ConversationsModel>();
58 qRegisterMetaType<Tp::AccountManagerPtr>();
59 qRegisterMetaType<KTp::ContactPtr>();
60 qRegisterMetaType<Tp::AccountPtr>();