Albert Astals Cid
47d7d04b5e
delete copy constructor and assignment operator of some internal classes
...
they are unused(except the PageViewItem one), but if anyone would use
them things would go wrong, so protect us from it
Actually fixes a bug in PageView::slotFitWindowToPage in which we were
copying constructing PageViewItem and that's bad
7 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Martin T. H. Sandsmark
09a99ba96b
Port away from obsolete Qt functions
10 years ago
Martin T. H. Sandsmark
ba4b9eb1a6
ui: Fix build without implicit cast to/from ascii
...
See previous commits for details.
10 years ago
Miklós Máté
1371ccfa28
Show TOC marker for parents if the children is collapsed
...
BUGS: 342076
REVIEWS: 127013
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Marco Martin
bb5c4291e2
fix and port the Table of Contents browser
11 years ago
Montel Laurent
0045b384e3
Fix includes²
12 years ago
Vishesh Handa
e038950f50
KIcon -> QIcon
12 years ago
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.
12 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
Albert Astals Cid
0413d53857
Delete the oldModel even if the new doc has no toc
...
BUGS: 313146
13 years ago
Jaydeep Solanki
7c99477f94
Preserve TOC folding status on document dirty reload
...
REVIEW: 107994
BUGS: 312138
13 years ago
Pino Toscano
083de3d1c4
do not try to get the label of pages "out of the document"
...
CCBUG: 266133
svn path=/trunk/KDE/kdegraphics/okular/; revision=1220024
15 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
a6e766cfad
Return the tooltip as well.
...
BUG: 159237
svn path=/trunk/KDE/kdegraphics/okular/; revision=785176
18 years ago
Pino Toscano
7155e212a7
One typo^W character to rule 'em all.
...
(aka: correctly respect the open state of the TOC branches.)
BUG: 159089
svn path=/trunk/KDE/kdegraphics/okular/; revision=784175
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
b455fb1221
we need to register QModelIndex as metatype to be able to pass it as parameter for queued slot calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=713205
19 years ago
Pino Toscano
4b3b1a910c
open just the TOC branch the document wants to be open; properly open them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=713165
19 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