Albert Astals Cid
2da1cd736a
CI: Enable clang-tidy modernize-loop-convert
6 years ago
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
Yuri Chornoivan
c7722c4078
Fix minor EBN issues
8 years ago
Simone Gaiarin
cbc6f671e3
Change annotation type name when an annotation is associated to non-empty popup
...
Summary:
Mark the annotations that contain a non-empty popup. Especially useful to identify annotations that are not meant to contain an annotation as shapes or highlights.
BUG: 389836
Reviewers: #okular, aacid
Reviewed By: #okular, aacid
Subscribers: rkflx, aacid, ngraham
Tags: #okular
Differential Revision: https://phabricator.kde.org/D10797
8 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Astals Cid
026d3d104d
Fix small warning
9 years ago
Martin T. H. Sandsmark
033f21c826
Port some missing debug output to categorized logging
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
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Vishesh Handa
e038950f50
KIcon -> QIcon
12 years ago
Frederik Gladhorn
4ce837a7ac
Qt5 porting
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
Albert Astals Cid
7884c879a7
Qt decided to start passing invalid indexes to mapFromSource, do not crash on them
...
BUGS: 291278
FIXED-IN: 4.8.0
14 years ago
Albert Astals Cid
2c9122192d
Qt decided to start passing invalid indexes to mapFromSource, do not crash on them
...
BUGS: 291278
FIXED-IN: 4.8.0
14 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Albert Astals Cid
0d12c549cd
Enable people to remove annotations from the tree in the page or author
...
level
Patch by Alex Fiestas and Aleix Pol with some minor tweak by me
svn path=/trunk/KDE/kdegraphics/okular/; revision=846872
18 years ago
Pino Toscano
0f1f6d7396
some validity fixes for the annotation proxy models:
...
- page grouping proxy model:
+ more checks when an index is requested
+ be sure to return really unique indexes
+ proper calculation of the column count
+ directly reset() (instead of just a layout change) when we rebuild the structure
- author grouping proxy model:
+ more checks against invalid indexes
+ behave nicely on empty tree
svn path=/trunk/KDE/kdegraphics/okular/; revision=818419
18 years ago
Albert Astals Cid
6772c5f061
do not search twice
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801665
18 years ago
Pino Toscano
8e4d1708a6
few "krazy fixes", patch by Fábio Firmo <fabio.a.firmo@gmail.com>
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=770943
18 years ago
Jakob Petsovits
79006833de
Icon naming spec compliance (code changes - KDE/):
...
* actions/user -> places/user-identity
* places/contact -> mimetypes/x-office-contact
* fix KMail and KNode configuration dialog page icons
* and bits of other fix-up stuff.
svn path=/trunk/KDE/kdegraphics/okular/; revision=753841
18 years ago
Pino Toscano
0b35107505
fix icons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
19 years ago
Pino Toscano
616d587c2f
don't crash when trying to mapping an invalid proxy index in the group proxy model
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=732110
19 years ago
Pino Toscano
83454a5ff3
fix some memory leaks
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=711280
19 years ago
Pino Toscano
5da8a9861e
invalidate the page filter proxy model less times
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710549
19 years ago
Tobias Koenig
c70cb99bdc
Add proxy model for grouping by author
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710548
19 years ago
Tobias Koenig
075eabe799
Fixed the notifications
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710389
19 years ago
Tobias Koenig
9642e7ae5e
Add proxy models for the AnnotationModel and port SideReviews
...
to it
svn path=/trunk/KDE/kdegraphics/okular/; revision=710330
19 years ago