Laurent Montel
486e05b270
If include is define in .h remove it if it's defined in .cpp too (scripted)
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
Albert Astals Cid
93540ac16d
Enable most of clazy level2
6 years ago
Ahmad Samir
4a4456abd7
Port QRegExp to QRegularExpression in a couple of locations
...
Some instances of QRegExp are still left:
generators/mobipocket and generators/epub
6 years ago
Laurent Montel
cea7d0fa28
Don't use endl at the end of qDebug as it already adds end line
6 years ago
Albert Astals Cid
b001ea2019
CI: Enable a bunch of bugprone- clang-tidy warnings
6 years ago
Albert Astals Cid
0a2287be19
CI: Enable two readability clang-tidy checks
...
Use jq to filter compile_commands.json to not include the compilation of
autogenerated files, we don't want to check those
Also filter out the synctex folder, since that is imported code
6 years ago
Laurent Montel
db0f477119
Port deprecated QLayout::setMargin
7 years ago
Laurent Montel
c3db297225
Remove deprecated method
7 years ago
Yuri Chornoivan
5478b2ec92
Fix minor typos
7 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Martin T. H. Sandsmark
b512e668e0
chm, dvi: Fix build with compiler flags after removing kdelibs4support
...
After removing kdelibs4support, these flags are enabled:
-DQT_USE_FAST_OPERATOR_PLUS -DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII -DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
So wrap naked string and character literals in QStringLiteral,
QLatin1Char and QLatin1String as appropriate.
To more easily see the changes, use «git show --color-words».
Thank $DEITY for vim macros.
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Montel Laurent
8f8b70d893
kdelibs4support--
12 years ago
Montel Laurent
2d8df45845
kdelibs4support--
12 years ago
Montel Laurent
7098b044c9
Port KSharedPtr
12 years ago
Montel Laurent
3b4ee788b8
Fix includes
12 years ago
Montel Laurent
a94b09684a
Use new connect api. Remove not necessary include moc
12 years ago
Frederik Gladhorn
1e01a5cfc9
Use KSharedConfig::openConfig instead of KGlobal::config
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
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
Luigi Toscano
ae555519c5
Move the call to fontLocate in the pixmap rendering thread
...
- Initialize the kpsewhich QProcess in the fontLocate() method
- Remove the usage of fontProgressDialog and use the warning
signal to notify the user on the status of font generation.
- The change makes it "easier", in future, to kill the font
generation when the user opens a new document. Right now it
is not possible to stop the generation.
Reviewed by: Albert Astal Cid, Fabio d'Urso
(and thanks for the hints!)
12 years ago
Albert Astals Cid
5826ba35f3
Remove the use of progress dialog and widget in the dvi exporter
...
They are not really useful anyway
Acked by Luigi
12 years ago
Luigi Toscano
9a59b49d8c
Code cleanup: remove references to the old KDVI statusbar
12 years ago
Luigi Toscano
b27d890812
Use signals to display messages in fontpool
...
- replace KMessageBox usage
- cleanup/rewrite few message strings
12 years ago
Luigi Toscano
2c5672ea74
Use signals to display messages in dviRenderer*
...
- replace KMessageBox usage
- readd and clean few notice/warning/error messages (previously commented)
12 years ago
Luigi Toscano
4ae6ece82e
Use signals to propagate notifications in dviexport and psgs
...
Change KMessageBox into notifications (PageViewMessage).
REVIEW: 115925
12 years ago
Luigi Toscano
90779f4a2a
Comments cleanup: remove references to the old KDVI info dialog
12 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Kevin Kofler
e001fbab55
Fix landscape documents getting printed in portrait format if "Landscape" is selected in the print dialog (the default).
...
Partly based on a patch by Falk from KDE bug #181290 .
BUG: 181290
REVIEW: 101513
15 years ago
Albert Astals Cid
27830a988e
Add a [hidden] config option to set hinting to fonts
...
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
17 years ago
Pino Toscano
c08afdd0e6
use a per-dviRender-instance painter instead of a global (!) one, so different documents can be painted safely at the same time
...
BUG: 200409
svn path=/trunk/KDE/kdegraphics/okular/; revision=1002247
17 years ago
Malcolm Hunter
b6124a900b
Typo fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=795906
18 years ago
Pino Toscano
4554ddbf8b
Patch by Luigi Toscano <luigi.toscano@tiscali.it> to reactivate the rendering of postscript specials.
...
Thanks Luigi.
CCMAIL: luigi.toscano@tiscali.it
BUG: 154507
svn path=/trunk/KDE/kdegraphics/okular/; revision=754951
18 years ago
Pino Toscano
59f19fe8aa
Patch by Luigi Toscano <luigi.toscano@tiscali.it> to mplemented printing support for DVI backend.
...
CCMAIL: luigi.toscano@tiscali.it
He says:
"Thanks for the infrastructure work to John Layt and apologies for my (non-existent) reply to your mail..."
CCMAIL: john@layt.net
svn path=/trunk/KDE/kdegraphics/okular/; revision=754729
18 years ago
Albert Astals Cid
e7a3f58308
KDVI -> Okular on visible messages
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=739354
19 years ago
Pino Toscano
f1fa4254f3
i18n fixes (s/KDVI/okular/) by Luigi Toscano.
...
CCMAIL: luigi.toscano@tiscali.it
svn path=/trunk/KDE/kdegraphics/okular/; revision=736814
19 years ago
John Layt
070285e039
Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
...
*** Note this is not a complete port, most of the generators use the
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution. At least it removes
the dependency so we can remove from kdelibs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
19 years ago
Laurent Montel
d7193013e2
Adapt to new KWarning/kFatal/kDebug api
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=695802
19 years ago
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
19 years ago
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
19 years ago
Pino Toscano
a8c90e618b
fix compilation
...
svn path=/trunk/playground/graphics/okular/; revision=585743
20 years ago
Urs Wolfer
656a7c403a
Port KProgressBar's to QProgressBar's.
...
svn path=/trunk/playground/graphics/okular/; revision=585741
20 years ago
Tobias Koenig
90140c1479
warnings--
...
svn path=/trunk/playground/graphics/okular/; revision=578892
20 years ago
Pino Toscano
aa109c9ef0
Port the recent changes to kdv, and remove some debug code
...
(Luigi Toscano)
svn path=/trunk/playground/graphics/okular/; revision=556901
20 years ago
Pino Toscano
7d26d25bd2
delete the dupe files, and now really copying the good ones
...
svn path=/trunk/playground/graphics/okular/; revision=556294
20 years ago