Yuri Chornoivan
c7722c4078
Fix minor EBN issues
8 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Vaca
3c93b2523e
Added missing overrides found by clang-tidy
10 years ago
Olivier CHURLAUD
630269a400
More ports out of KDialog
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
8e7429ddcc
kdelibs4support--
12 years ago
Montel Laurent
21360d6b7a
Fix includes
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Montel Laurent
2eacdea022
Port to new connect api
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
9d89739972
Use categorized logging
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
Vishesh Handa
077689c4d3
Port KAction and KMenu
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
48c324f77c
Added UrlChanged notification in notifySetup to fix BookmarkList not updating after save as
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
Fabio D'Urso
e3e3657788
When renaming a bookmark folder, don't assume that we are renaming the current document
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
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
1de3285d37
maintain the bookmark view sorted when adding new elements in the "selective" tree update
...
CCBUG: 205952
svn path=/trunk/KDE/kdegraphics/okular/; revision=1129505
16 years ago
Pino Toscano
ea7480e2a5
SVN_SILENT unused parameters
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072155
16 years ago
Pino Toscano
32ccf8593b
add a context menu for the top-level items (representing the files), to allow to:
...
- open that documen (if it is not the current document already)
- remove all of its bookmarks
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072135
16 years ago
Pino Toscano
4ee7112fe7
create a FileItem type of QTreeWidgetItem to handle better items representing the files
...
this should:
- reduce a bit the code duplication
- make the tooltip updated automatically on the number of items
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072090
16 years ago
Pino Toscano
d607996bce
isolate the context menu for BookmarkItem in an own method
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072058
16 years ago
Christian Ehrlicher
9e2f6edcf5
KUrl::path() -> KUrl::toLocalFile()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071713
16 years ago
Pino Toscano
c7b7ce7b08
fix selectiveUrlUpdate()
...
- create new branches for documents different than the current one
- give the Url data role, so they can be identified again later
this makes it possible use it for any situation, even for updating non-existing branches for non-current documents
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066321
16 years ago
Pino Toscano
983392095d
sort the bookmarks in the side panel by file name first, and then by page number for each file
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=971761
17 years ago
Pino Toscano
1080a193b9
- make sure to properly unregister all the observers before the Document gets destroyed
...
- keep ownership of the "export as" menu, and check before manipulating its child widgets: avoid crashes in case the part widget is destroyed before the pa
rt is
both the problems discovered and debugged with the precious help of Armin Berres, thanks!
CCMAIL: trigger@space-based.de
svn path=/trunk/KDE/kdegraphics/okular/; revision=863716
18 years ago
Pino Toscano
76cde2d2ae
do not update more than the necessary
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=793544
18 years ago
Pino Toscano
7f24f09cf3
No more need to rebuild the bookmark tree when changing document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=793542
18 years ago
Pino Toscano
b5a4b0edb5
move the search for the item for a specified url into an own method
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=793540
18 years ago
Pino Toscano
39b730d371
Selectively update the tree branch of the document whose bookmarks were changed.
...
This way, there's no need to rebuild the tree.
svn path=/trunk/KDE/kdegraphics/okular/; revision=793532
18 years ago
Pino Toscano
5a4259d04f
Dynamically get the tooltip of bookmark items.
...
CCMAIL: 160189
svn path=/trunk/KDE/kdegraphics/okular/; revision=792388
18 years ago
Pino Toscano
3004d81bd8
Add a tooltip for the bookmark name.
...
BUG: 158219
svn path=/trunk/KDE/kdegraphics/okular/; revision=779636
18 years ago
Jakob Petsovits
46eaee7f44
Icon renaming (code and icon changes - KDE/):
...
* bookmark -> bookmarks
* and finally, remove user-2 and konv-message[2] from Oxygen
svn path=/trunk/KDE/kdegraphics/okular/; revision=757019
18 years ago
Jakob Petsovits
d9de20dfe7
Masses of icon fixes and adaptions, caused by the original
...
desire to rename "edit" to "object-edit". I changed my mind
in the middle of the process (but had lots of other changes
lying around already and really need to stop), so many
or all of the newly renamed "object-edit" icons might
vanish again.
But all in all, there are improvements in many places.
svn path=/trunk/KDE/kdegraphics/okular/; revision=744272
19 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
b56ad8c3ae
Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
19 years ago
Pino Toscano
17e6bdfcfd
make the bookmark tree showing its contents with no document open;
...
use a kdelibs method to save 7+ lines
svn path=/trunk/KDE/kdegraphics/okular/; revision=705780
19 years ago
Pino Toscano
dac41f84ad
give the thumbnail list, the toc and the bookmark list a coherent look
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=704267
19 years ago
Pino Toscano
5150419e81
adapt the debug stuff to the new kdebug way:
...
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp
svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
19 years ago
Pino Toscano
e83f58d78d
instead of emitting a signal, just use a simple action
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667074
19 years ago
Pino Toscano
3019616824
Bookmark list: add a tooltip for the top-level items with the number of bookmarks of the file.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666669
19 years ago
Pino Toscano
4e2e675914
No need to show entries with no children.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666450
19 years ago