Albert Astals Cid
0d40301d50
Add a few definitions that will come with ECM 5.85
...
Better enforce them now, so that the work to port doesn't increase over
time
Not a super fan of this for regular applications, but oh well the ship
has sailed
4 years ago
Volker Krause
50d0703ae0
Enable readability-braces-around-statements
4 years ago
Albert Astals Cid
4cd6bfd30e
mobile: Add Signature Viewing UI
...
Move a few files from part/ to gui/ since they are also used by the
mobile/ frontend
4 years ago
Albert Astals Cid
6795ae7f2c
Fix previewing embedded files on Windows
...
BUGS: 448735
4 years ago
Alexander Lohnau
2f193a63de
Convert license headers to SPDX
5 years ago
David Hurka
19d5dd8ec7
New part/ directory for okularpart sources from /, ui/, conf/
...
Source files are no longer separated by UI and non-UI and similar,
but only by their build target.
* ui/ -> part/
* Move all source files from conf/ to part/
* Keep config skeleton definitions in conf/, needed for the mobile target too
* Move editdrawingtooldialogtest.h from conf/autotests/ to autotests/
* ui/data/icons/ -> icons/
* Move /part.cpp, /part.rc and similar files to part/
* Adapt include paths in source files
* Adapt CMakeLists.txt files (in / and in subdirectories)
* Adapt /Messages.sh
5 years ago
Albert Astals Cid
19d98d6a74
Run clang-format
...
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
6 years ago
Laurent Montel
516fb89d94
Use camelcase include. (scripted)
6 years ago
Yuri Chornoivan
4d75045cd8
Fix minor EBN issues
6 years ago
Albert Astals Cid
d1568efd52
Don't use QDir::separator
...
If we're building paths for Qt, always use /
6 years ago
Albert Astals Cid
93540ac16d
Enable most of clazy level2
6 years ago
Albert Astals Cid
968e9d6073
Enable clazy old-style-connect
6 years ago
Albert Astals Cid
93de247795
Enable all of clazy level0
6 years ago
Ahmad Samir
945c1e1b8d
[ui/*] Replace foreach (deprecated) with range-for
...
The code compiles, tests pass (except for two tests but they fail
on master too). Okular loads and seems to work.
6 years ago
Laurent Montel
8beef33c05
Port some deprecated methods
7 years ago
Laurent Montel
cb691f70dc
Fix some clazy warning
...
Summary: fix clazy warning
Reviewers: aacid
Reviewed By: aacid
Subscribers: nicolasfella, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20832
7 years ago
Yuri Chornoivan
39b6e8147d
Fix minor EBN issues
8 years ago
Albert Vaca
c71f308252
Fixes suggested by Clazy
10 years ago
Albert Astals Cid
32149802b9
Fix wrong c&p
10 years ago
Albert Astals Cid
174b86e20b
Also add the View to the context menu
10 years ago
Daniel Lichtenberger
155dc14b55
Added ability to view embedded files
...
The selected embedded file(s) are extracted to QDir::tempPath() and the
default application associated with the file type is launched with KRun.
Double-click on an embedded file also launches the view action.
The temporary files are cleaned up automatically when the dialog is
closed.
REVIEW: 127351
BUGS: 295567
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Montel Laurent
5c85b83a8f
Fix includes
11 years ago
Lukáš Tinkl
e9ae1d99af
port away from KLocale
11 years ago
Montel Laurent
127175c3ea
Port to QDialog
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
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
Harsh Chouraria J
a212da143a
Fix the embedded files dialog's save button, so that it enables/disables as per selection.
...
BUG:229064
svn path=/trunk/KDE/kdegraphics/okular/; revision=1098392
16 years ago
Albert Astals Cid
267f8c8ea3
some KUIT
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=840780
18 years ago
Pino Toscano
eed660ebd3
move the embedded file saving function to the GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797108
18 years ago
Pino Toscano
7518bc0b56
store the EmbeddedFile* directly in the QTreeWidgetItem
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773060
18 years ago
Albert Astals Cid
76566e8afe
check we could open the file, i always get hit by that kind of bugs in other apps and i hate it :D
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=766417
18 years ago
Pino Toscano
808aa2a621
duplicate header
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686269
19 years ago
Pino Toscano
8c42d8cf02
add a simple popup menu for the items, just with 'save as' at the moment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682870
19 years ago
Pino Toscano
2602037fb9
display (if available) the file size for attachments, courtesy of Albert for his work in poppler
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682847
19 years ago
Albert Astals Cid
5348802a9b
MultiSelection sucks, go go go ExtendedSelection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682740
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
b0339a4e40
fix some easy krazy issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
19 years ago
David Jarvie
6ccde0505c
Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
19 years ago
Pino Toscano
ff029376ce
simplify
...
svn path=/trunk/playground/graphics/okular/; revision=617271
19 years ago
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
19 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
20 years ago
Albert Astals Cid
792023ffde
don't show invalid dates
...
svn path=/trunk/playground/graphics/okular/; revision=590351
20 years ago
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
20 years ago
Brad Hards
0e5f1bc41d
Fix typo in column title.
...
Resize columns to fit contents, and widget to fit contents (more or
less - the second part isn't too good).
svn path=/trunk/playground/graphics/okular/; revision=585027
20 years ago
Laurent Montel
8ad07fc5da
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=584683
20 years ago
Albert Astals Cid
760fdbcadb
makeItBuild
...
svn path=/trunk/playground/graphics/okular/; revision=578661
20 years ago