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
2020-11-18 19:32:56 +00:00
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)
2020-07-11 09:17:33 +02:00
Laurent Montel
516fb89d94
Use camelcase include. (scripted)
2020-07-08 13:54:37 +02:00
Yuri Chornoivan
4d75045cd8
Fix minor EBN issues
2020-04-04 12:17:50 +03:00
Albert Astals Cid
d1568efd52
Don't use QDir::separator
...
If we're building paths for Qt, always use /
2020-03-12 23:57:21 +01:00
Albert Astals Cid
93540ac16d
Enable most of clazy level2
2020-02-21 14:57:48 +01:00
Albert Astals Cid
968e9d6073
Enable clazy old-style-connect
2020-02-20 15:48:08 +01:00
Albert Astals Cid
93de247795
Enable all of clazy level0
2020-02-20 11:34:47 +01:00
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.
2019-12-09 13:39:47 +00:00
Laurent Montel
8beef33c05
Port some deprecated methods
2019-09-18 13:41:19 +02:00
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
2019-05-27 08:02:57 +02:00
Yuri Chornoivan
39b6e8147d
Fix minor EBN issues
2018-09-01 11:25:57 +03:00
Albert Vaca
c71f308252
Fixes suggested by Clazy
2016-10-29 16:33:05 +02:00
Albert Astals Cid
32149802b9
Fix wrong c&p
2016-10-29 11:26:52 +02:00
Albert Astals Cid
62eea3336b
Merge remote-tracking branch 'origin/master' into frameworks
2016-10-29 11:13:24 +02:00
Albert Astals Cid
174b86e20b
Also add the View to the context menu
2016-03-23 02:02:45 +01:00
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
2016-03-23 01:58:38 +01:00
Montel Laurent
466eb79615
Use QStringLiteral
2015-10-29 13:37:11 +01:00
Montel Laurent
5c85b83a8f
Fix includes
2015-02-07 13:16:07 +01:00
Lukáš Tinkl
e9ae1d99af
port away from KLocale
2015-01-29 21:48:47 +01:00
Montel Laurent
127175c3ea
Port to QDialog
2014-10-19 15:28:32 +02:00
Montel Laurent
26fc592e7d
Fix includes
2014-10-06 08:31:17 +02:00
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
2014-10-01 07:27:09 +02:00
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
2014-09-11 16:32:43 +02:00
Vishesh Handa
e038950f50
KIcon -> QIcon
2014-08-13 11:54:49 +02:00
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.
2014-08-09 00:21:03 +02:00
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
2010-03-03 16:46:29 +00:00
Albert Astals Cid
267f8c8ea3
some KUIT
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=840780
2008-08-01 20:11:51 +00:00
Pino Toscano
eed660ebd3
move the embedded file saving function to the GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797108
2008-04-14 22:31:28 +00:00
Pino Toscano
7518bc0b56
store the EmbeddedFile* directly in the QTreeWidgetItem
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773060
2008-02-10 02:02:58 +00:00
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
2008-01-25 20:06:02 +00:00
Pino Toscano
808aa2a621
duplicate header
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686269
2007-07-10 22:20:31 +00:00
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
2007-07-03 15:30:44 +00:00
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
2007-07-03 14:47:16 +00:00
Albert Astals Cid
5348802a9b
MultiSelection sucks, go go go ExtendedSelection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682740
2007-07-03 10:33:11 +00:00
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Albert Astals Cid
b0339a4e40
fix some easy krazy issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +00:00
David Jarvie
6ccde0505c
Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
2007-04-09 23:36:26 +00:00
Pino Toscano
ff029376ce
simplify
...
svn path=/trunk/playground/graphics/okular/; revision=617271
2006-12-28 15:48:13 +00:00
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
2006-12-27 10:03:34 +00:00
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
2006-12-19 12:23:43 +00:00
Albert Astals Cid
792023ffde
don't show invalid dates
...
svn path=/trunk/playground/graphics/okular/; revision=590351
2006-09-29 21:46:13 +00:00
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
2006-09-21 08:45:36 +00:00
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
2006-09-16 03:49:40 +00:00
Laurent Montel
8ad07fc5da
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=584683
2006-09-15 11:57:39 +00:00
Albert Astals Cid
760fdbcadb
makeItBuild
...
svn path=/trunk/playground/graphics/okular/; revision=578661
2006-08-29 21:09:55 +00:00
Pino Toscano
3375d653a0
KMimeTypePtr can be empty
...
svn path=/trunk/playground/graphics/okular/; revision=552287
2006-06-17 10:22:24 +00:00
Pino Toscano
37f9c2f5c4
setting a default button so won't crash
...
svn path=/trunk/playground/graphics/okular/; revision=552081
2006-06-16 15:12:55 +00:00
Pino Toscano
d2c5882a27
Port to the new KDialog / KPageDialog API
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550944
2006-06-13 08:44:08 +00:00
Albert Astals Cid
b54ca9996f
enable multi selection and use KStdGuiItem instead of sucky hand made one
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545993
2006-05-28 18:23:52 +00:00