~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/plugin/poppler-qml-plugin/plugin.cpp

  • Committer: Stefano Verzegnassi
  • Date: 2015-01-30 19:20:39 UTC
  • mto: (63.3.3 30-new-header-style)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: stefano92.100@gmail.com-20150130192039-4hxxt4enfv4t3evz
Add VerticalView class in popplerqmlplugin (but not use it for now)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2013 Canonical, Ltd.
 
2
 * Copyright (C) 2013-2015 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software: you can redistribute it and/or modify it
5
5
 * under the terms of the GNU General Public License version 3, as published
20
20
 
21
21
#include "plugin.h"
22
22
#include "pdfdocument.h"
 
23
#include "verticalview.h"
23
24
 
24
25
void PopplerPlugin::registerTypes(const char *uri)
25
26
{
27
28
    
28
29
    //@uri com.ubuntu.popplerqmlplugin
29
30
    qmlRegisterType<PdfDocument>(uri, 1, 0, "Document");
 
31
    qmlRegisterType<VerticalView>(uri, 1, 0, "VerticalView");
30
32
}
31
33
 
32
34
void PopplerPlugin::initializeEngine(QQmlEngine *engine, const char *uri)