diff --git a/core/page.cpp b/core/page.cpp index a1d8f0fa5..3478769ea 100644 --- a/core/page.cpp +++ b/core/page.cpp @@ -90,6 +90,10 @@ PagePrivate::~PagePrivate() delete m_transition; } +PagePrivate *PagePrivate::get( Page * page ) +{ + return page->d; +} void PagePrivate::imageRotationDone( RotationJob * job ) { diff --git a/core/page_p.h b/core/page_p.h index 69a2c66c2..46daf9641 100644 --- a/core/page_p.h +++ b/core/page_p.h @@ -58,6 +58,8 @@ class PagePrivate PagePrivate( Page *page, uint n, double w, double h, Rotation o ); ~PagePrivate(); + static PagePrivate *get( Page *page ); + void imageRotationDone( RotationJob * job ); QTransform rotationMatrix() const;