Commit graph

17 commits

Author SHA1 Message Date
Kevin Funk a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
Martin T. H. Sandsmark d5bdca64d2 Fix low hanging unused parameters warnings 2016-07-11 22:57:11 +02:00
Albert Astals Cid efbde66009 Port to new threadweaver
Not sure it works at all, but at least it compiles ^_^
2014-08-09 20:44:25 +02:00
Frederik Gladhorn 0ba233788c Use moc include style dictated by automoc
While it's generally not a great idea to include moc files at least this
compiles.
2014-08-09 00:21:03 +02:00
Frederik Gladhorn fdf223494d Fix moc includes 2014-08-08 01:25:43 +02:00
Albert Astals Cid 541650a4f4 Remove the concept of observer/view id
Just use the pointer as id :-)

This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future

Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
2013-02-24 23:01:02 +01:00
Mailson Menezes f56c5a8ac9 Merge branch 'master' into tiled-rendering 2012-11-08 20:51:01 -03:00
Jan Binder aa6ed8afc0 Replace deprecated QMatrix by QTransform
REVIEW: 105737
2012-09-08 17:06:02 +02:00
Mailson Menezes 401c3f7e5d Add rotation support to tiles manager 2012-08-17 14:30:53 -03:00
Pino Toscano 4913076ee9 extract in an own static function te calculation of a rotation matrix from both source and destination rotations
svn path=/trunk/KDE/kdegraphics/okular/; revision=708049
2007-09-03 18:16:27 +00:00
Pino Toscano 26857d5433 SVN_SILENT don't allocate a matrix in the rare case there's no need for it
svn path=/trunk/KDE/kdegraphics/okular/; revision=688310
2007-07-15 18:43:06 +00:00
Albert Astals Cid 723c3a482a move rotationjob.h to rotationjob_p.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=683286
2007-07-04 14:39:52 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano 36b894c75a Create a (private) PageController that handles the rotation jobs from all the pages.
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.

svn path=/trunk/playground/graphics/okular/; revision=646010
2007-03-24 10:47:22 +00:00
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular.
svn path=/trunk/playground/graphics/okular/; revision=620312
2007-01-05 17:09:47 +00:00
Tobias Koenig a490cc0cd7 Add the following functionality:
* Bring QPixmap* back to make Albert happy ;)
 * Store only one QPixmap per page/size and rotate it directly
 * Rotate ObjectRects (boundary)
 * Rotate Annotations (point coordinates)
 * Don't reload pixmaps, ObjectRects and annotations on rotation

svn path=/trunk/playground/graphics/okular/; revision=606371
2006-11-20 07:53:32 +00:00
Tobias Koenig bea71df6e0 * Made image rotation asynchronous
* Changed Page API and PagePainter to work only with QImage

svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00