Albert Vaca
3c93b2523e
Added missing overrides found by clang-tidy
10 years ago
Martin T. H. Sandsmark
f05d42eac3
core: Fix build without implicit cast to/from ascii
...
See previous commits for details.
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
17b7049c69
Fix includes
12 years ago
Montel Laurent
08013f87d0
Port to QStandardPaths
12 years ago
Arnold Dumas
f8f90b15b3
Port away from KGlobal::caption().
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
Vishesh Handa
46cf7e46a5
Port away from KUrl::List
12 years ago
Frederik Gladhorn
c7e003d7bc
Port to QCommandLineParser
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
Frederik Gladhorn
d16ac66ab3
Fix some QUrl usage
12 years ago
Frederik Gladhorn
75031eee7e
Fix includes
12 years ago
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
13 years ago
Fabio D'Urso
9a11294b12
Sort bookmarks from the same page in viewport order
14 years ago
David Faure
dc2f2d36aa
Fix compilation with strict iterators
14 years ago
Mailson Menezes
bd9087f20a
Remember position on the page in bookmark
...
IOW accept more than one bookmark per page
BUGS: 157198
REVIEW: 104365
14 years ago
Albert Astals Cid
3e3a504d3c
Allow the renaming of bookmark "parent" items (i.e. file names)
...
Patch heavily inspired on a patch by Constantin Serban-Radoi <costashsrc@gmail.com>
14 years ago
Albert Astals Cid
405bd75a1a
add a property with the page number
...
deliverately not documented since we don't want others to use it
15 years ago
Albert Astals Cid
880dae2e19
Add a way to rename the current page bookmark from the menu
...
Comes with some api additions to bookmarkmanager
15 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Pino Toscano
45e62fa320
make sure actionsForUrl() returns actions sorted by page number
...
CCBUG: 205952
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129512
16 years ago
Albert Astals Cid
4a1d8bb025
Do not use the title to store the url because it will get mangled by KBoomark::fullText, use the url field
...
CCMAIL: 229141
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108063
16 years ago
Pino Toscano
c3f75f13c2
add a function to remove a list of bookmark belonging to the specified url
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072132
16 years ago
Christian Ehrlicher
9e2f6edcf5
KUrl::path() -> KUrl::toLocalFile()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071713
16 years ago
Pino Toscano
aa84e31316
Change the saving strategy for bookmarks: instead of saving them manually or at closing, save them after each action.
...
This should avoid any bookmark loss due to premature crash or similar abnormal closing.
BUG: 157246
BUG: 213206
Also, the above change triggers the D-Bus synchronisation of the internal bookmark manager of the various Okular instances;
react to those changes properly by updating the own info (because of the changes in the bookmark manager of another instance).
BUG: 216239
On the technical note, keep the cache of known file just with the bookmark address instead of the group itself
(which gets changed behind our back).
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066286
16 years ago
Pino Toscano
3b905e3cf4
undefine the internal macros at the end
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=908738
17 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
Pino Toscano
8932cdd742
Add a bookmarksChanged(url) signal to notify when the bookmarks for that url have changed.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=793523
18 years ago
Pino Toscano
09bc4c140e
Keep the page cache updated.
...
BUG: 160190
svn path=/trunk/KDE/kdegraphics/okular/; revision=792391
18 years ago
Pino Toscano
b30d3ab3a6
make the internal bookmark search method part of the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=779730
18 years ago
Tobias Koenig
34099483fb
Update the bookmark menu whenever bookmarks have been renamed
...
in the sidebar
BUG: 157189
svn path=/trunk/KDE/kdegraphics/okular/; revision=771286
18 years ago
Pino Toscano
6d375af868
Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
19 years ago
Pino Toscano
797c8d94d4
SVN_SILENT unused parameter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=699958
19 years ago
Daniel Teske
c93025abc2
Port to new API.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=699520
19 years ago
Daniel Teske
ab380eefc8
Port to KBookmark::addBookmark and KBookmark::createNewFolder
...
changes.
svn path=/trunk/KDE/kdegraphics/okular/; revision=699502
19 years ago
Pino Toscano
9b92fa1d41
no need to set the complete viewport of new page bookmarks, the page number is enough
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=694538
19 years ago
Pino Toscano
66518d52a7
Do not delete the kde bookmark manager here, it's automatically deleted.
...
This fixes a crash on close after being embedded, making okular finally usable as print preview component :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=687815
19 years ago
David Faure
073b756bea
boolean argument (for importing kde1 bookmarks!) is gone
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=680312
19 years ago
Pino Toscano
fba7c1874d
give the #<page> title for a new bookmark instead of #<bookmark count>
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666142
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Albert Astals Cid
4586139282
Adapt to kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=628342
19 years ago
Pino Toscano
e71a608054
Use the form "<page> - <name>" for the items in the Bookmarks menu.
...
svn path=/trunk/playground/graphics/okular/; revision=625075
19 years ago
Pino Toscano
8a7c2ad654
As requested by our usability expert Florian, add a Bookmarks menu with the bookmarks in the current document, if any.
...
svn path=/trunk/playground/graphics/okular/; revision=622995
19 years ago
Pino Toscano
e3992fb642
move the KBookmarkOwner implementation into the d-ptr
...
svn path=/trunk/playground/graphics/okular/; revision=622959
19 years ago
Pino Toscano
afc18f9d97
Re-add the possibility to toggle a page bookmark quickly (ie with the popup menu).
...
svn path=/trunk/playground/graphics/okular/; revision=622945
19 years ago
Pino Toscano
c248956942
better use HTML ref instead of ref, otherwise we'll have "encoding" problems
...
svn path=/trunk/playground/graphics/okular/; revision=616993
19 years ago