Commit graph

13 commits

Author SHA1 Message Date
Montel Laurent 5d727ee965 Fix includes 2015-03-20 08:55:32 +01: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 a3fb02b881 Some more linking KF5 2014-08-09 16:16:32 +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
Fabio D'Urso a556126816 Fix the issue exposed by the previous patch
The patch de-singletons the PageController class.

The PageController is now per-document and it gets deleted when the
document is closed.

As consequence of this, the RotationJob's done signal will not be
delivered if the document has been closed, and thus this fixes the
crash.
2013-07-30 20:40:40 +02:00
Montel Laurent f9f65979f5 Normalize signals/slots 2011-07-31 21:22:04 +02:00
Pino Toscano b2472bef0d check that the rotation page notification really refers to a page of a document
fixes crash when rotating documents opened in one of more than one okular tabs in konqueror

svn path=/trunk/KDE/kdegraphics/okular/; revision=989681
2009-06-30 17:21:55 +00:00
Pino Toscano ed413cb275 delay the real creation + initialization of the weaver to the real needed moment
svn path=/trunk/KDE/kdegraphics/okular/; revision=712637
2007-09-14 23:14:53 +00:00
Albert Astals Cid 2437917e47 Do not start numberOfPagesWithPixmaps threads because that brings the system down, just start what threadweaver thinks its best
Probably still have to tell the weaver how to optimize for memory consumption but it's an improvement anyways

svn path=/trunk/KDE/kdegraphics/okular/; revision=683383
2007-07-04 16:55:33 +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