mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
Add a way to get the PagePrivate if you have the Page
This commit is contained in:
parent
1d2dd42c67
commit
2ca1779feb
|
@ -90,6 +90,10 @@ PagePrivate::~PagePrivate()
|
||||||
delete m_transition;
|
delete m_transition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PagePrivate *PagePrivate::get( Page * page )
|
||||||
|
{
|
||||||
|
return page->d;
|
||||||
|
}
|
||||||
|
|
||||||
void PagePrivate::imageRotationDone( RotationJob * job )
|
void PagePrivate::imageRotationDone( RotationJob * job )
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,6 +58,8 @@ class PagePrivate
|
||||||
PagePrivate( Page *page, uint n, double w, double h, Rotation o );
|
PagePrivate( Page *page, uint n, double w, double h, Rotation o );
|
||||||
~PagePrivate();
|
~PagePrivate();
|
||||||
|
|
||||||
|
static PagePrivate *get( Page *page );
|
||||||
|
|
||||||
void imageRotationDone( RotationJob * job );
|
void imageRotationDone( RotationJob * job );
|
||||||
QTransform rotationMatrix() const;
|
QTransform rotationMatrix() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue