diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
commit | a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 (patch) | |
tree | 6b97b6ac14716dbe51cb105819abde3e36ffd465 /main.cpp | |
parent | 5ef8b38e55c1883224fe1f01f47aba45b7b42666 (diff) | |
download | tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.tar.gz tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.zip |
add support for actually reading topics
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ #include "board.h" #include "boardmodel.h" #include "forummodel.h" +#include "topicmodel.h" #include "xmlrpcinterface.h" #include "xmlrpcreply.h" @@ -28,6 +29,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) qmlRegisterType<BoardModel>("com.javispedro.tapasboard", 1, 0, "BoardModel"); qmlRegisterType<ForumModel>("com.javispedro.tapasboard", 1, 0, "ForumModel"); + qmlRegisterType<TopicModel>("com.javispedro.tapasboard", 1, 0, "TopicModel"); viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto); viewer.setMainQmlFile(QLatin1String("qml/tapasboard/main.qml")); |