Commit graph

11 commits

Author SHA1 Message Date
Albert Astals Cid 0c659a5466 clang-tidy: Enable google-explicit-constructor 2021-08-29 08:52:35 +00:00
Alexander Lohnau 2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
Albert Astals Cid 19d98d6a74 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-07-11 09:17:33 +02:00
Oliver Sander 8611cd775a Add @since markers for the new ViewCapability values 2019-10-02 13:00:57 +00:00
Felix Mauch bd25d17e70 Save view information per file
Adds the functionality to save the view mode (single page, facing...),
continuous scrolling, and margin trimming  to the document information,
as it is already done with the zoom information.
2019-10-02 13:00:57 +00:00
Montel Laurent 5da7c5f77d port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01: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
Pino Toscano 1518922f79 add a CapabilitySerializable for capabilities suitable for being saved and loaded
svn path=/trunk/KDE/kdegraphics/okular/; revision=814993
2008-05-31 21:08:08 +00:00
Pino Toscano 2173b11e55 add the ZoomModality capability (the view mode)
svn path=/trunk/KDE/kdegraphics/okular/; revision=814971
2008-05-31 20:11:40 +00:00
Pino Toscano 7042bd4cc2 add viewId()
svn path=/trunk/KDE/kdegraphics/okular/; revision=801718
2008-04-27 14:30:26 +00:00
Pino Toscano 5851ddf6a8 Start a View class for managing the "views" of a document.
Provide ways to register & unregister the view from a Document, and to get/set the view capabilities.

svn path=/trunk/KDE/kdegraphics/okular/; revision=801657
2008-04-27 11:05:59 +00:00