Add a way to get the PagePrivate if you have the Page

remotes/origin/Applications/17.04
Albert Astals Cid 9 years ago
parent 1d2dd42c67
commit 2ca1779feb
  1. 4
      core/page.cpp
  2. 2
      core/page_p.h

@ -90,6 +90,10 @@ PagePrivate::~PagePrivate()
delete m_transition;
}
PagePrivate *PagePrivate::get( Page * page )
{
return page->d;
}
void PagePrivate::imageRotationDone( RotationJob * job )
{

@ -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;

Loading…
Cancel
Save