~verzegnassi-stefano/+junk/temp-new-pdf-plugin

« back to all changes in this revision

Viewing changes to src/plugin/poppler-qml-plugin/pdfitem.h

  • Committer: Roman Shchekin
  • Date: 2015-12-12 13:46:49 UTC
  • Revision ID: mrqtros@gmail.com-20151212134649-p24mefq108ek9eww
On the way to PDF rendering in RenderEngine \m/

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
class PdfItem
25
25
{
26
26
public:
27
 
    PdfItem(Poppler::Page *page);
28
 
    int width() const;
29
 
    int height() const;
 
27
    explicit PdfItem(Poppler::Page *page);
30
28
 
31
 
private:
32
 
    int m_width;
33
 
    int m_height;
 
29
public:
 
30
    int id;
 
31
    int index;
 
32
    int width;
 
33
    int height;
 
34
    QString image;
34
35
};
35
36
 
36
37
#endif // PDFITEM_H