mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-16 10:17:04 +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;
|
||||
}
|
||||
|
||||
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…
Reference in a new issue