added post

This commit is contained in:
Jeena 2015-01-11 12:45:06 +01:00
parent 9cab3341b6
commit 5101a426c0
9 changed files with 139 additions and 33 deletions

View file

@ -5,13 +5,16 @@
#include <QtQml>
#include "tinytinyrsslogin.h"
#include "tinytinyrss.h"
#include "post.h"
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
qmlRegisterType<TinyTinyRSSLogin>("TTRSS", 1, 0, "ServerLogin");
// qmlRegisterType<TinyTinyRSS>("TTRSS", 1, 0, "Server");
qmlRegisterType<TinyTinyRSS>("TTRSS", 1, 0, "Server");
qmlRegisterType<Post>("TTRSS", 1, 0, "Post");
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));