Commit 2ca1779f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

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

parent 1d2dd42c
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment