Albert Astals Cid
191a37fb52
Q_DECL_OVERRIDE -> override
9 years ago
Albert Astals Cid
b50aff3ed7
Q_NULLPTR -> nullptr
9 years ago
Martin T. H. Sandsmark
48d52d9bd1
Add missing override declarations
10 years ago
Marco Martin
bb5c4291e2
fix and port the Table of Contents browser
11 years ago
Montel Laurent
6fab218de9
Use Q_NULLPTR
11 years ago
Montel Laurent
a8c13a9e1d
Add Q_DECL_OVERRIDE
11 years ago
Fabio D'Urso
80ebb46d36
Don't attempt to restore old TOCModel if it hasn't been actually saved
...
Because if it hasn't been saved (54b4a20e07 )
this results in m_model == 0, which makes us crash.
13 years ago
Albert Astals Cid
f40b42f8db
Fix my fixes for 313147 and 313146
...
It actually fixed them but make the toc reload keeping not work anymore :D
13 years ago
Jaydeep Solanki
7c99477f94
Preserve TOC folding status on document dirty reload
...
REVIEW: 107994
BUGS: 312138
13 years ago
Glen Kaukola
824a620d7a
Krazy: Check for C++ ctors that should be declared 'explicit'.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110334
16 years ago
Pino Toscano
5bfb9dca4f
Support for external URLs as destination for the TOC items.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=890883
18 years ago
Pino Toscano
f84c256657
don't activate the TOC when it has no items
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=753072
18 years ago
Pino Toscano
a917f080e6
Create a model for the TOC, and use that for displaying the TOC of the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710317
19 years ago
Pino Toscano
239434362e
Basic version of a tree model for the document annotations.
...
It provides the items this way:
root
+ page 1
| + annotations for page 1
+ page 2
| + annotations for page 2
.. and so on
It does not return subtrees for pages without annotations.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709946
19 years ago