Commit graph

7304 commits

Author SHA1 Message Date
Martin T. H. Sandsmark c8e3c0eb01 Port part away from deprecated KArchive methods 2016-07-11 23:52:42 +02:00
Martin T. H. Sandsmark b51d495930 Port part away from NetAccess 2016-07-11 23:37:13 +02:00
Martin T. H. Sandsmark 4189304934 Port away from KStandardPaths 2016-07-11 23:25:09 +02:00
Martin T. H. Sandsmark 638fedb2ea Replace obsolete typedefs 2016-07-11 23:24:47 +02:00
Martin T. H. Sandsmark 9ac9027467 Port part away from KFileDialog 2016-07-11 23:16:42 +02:00
Martin T. H. Sandsmark d5bdca64d2 Fix low hanging unused parameters warnings 2016-07-11 22:57:11 +02:00
Martin T. H. Sandsmark 25a1915daf Fix source file encoding 2016-07-11 22:45:39 +02:00
Martin T. H. Sandsmark 48d52d9bd1 Add missing override declarations 2016-07-11 22:40:15 +02:00
Martin T. H. Sandsmark d29ec08007 remove invalid null pointer checks 2016-07-11 22:29:20 +02:00
Martin T. H. Sandsmark 004f67410d Use proper qvariant cast 2016-07-11 22:14:11 +02:00
Martin T. H. Sandsmark d700bc626e Port away from obsolete QTabletEvent member 2016-07-11 22:13:52 +02:00
Martin T. H. Sandsmark ad6e3fe850 Port away from obsolete QRect/QRegion members 2016-07-11 22:13:31 +02:00
Martin T. H. Sandsmark 44624bd52d Get correct error message when failing to create temporary file 2016-07-11 22:12:55 +02:00
Martin T. H. Sandsmark 67e7ada311 Fix build without implicit cast to/from ascii
See the previous commits for details. This is the last part.
2016-07-11 22:11:43 +02:00
Martin T. H. Sandsmark f05d42eac3 core: Fix build without implicit cast to/from ascii
See previous commits for details.
2016-07-11 22:07:57 +02:00
Martin T. H. Sandsmark ba4b9eb1a6 ui: Fix build without implicit cast to/from ascii
See previous commits for details.
2016-07-11 22:05:18 +02:00
Martin T. H. Sandsmark 3fcd698896 autotests: Fix build without implicit cast to/from ascii
See previous commits for details.
2016-07-11 22:01:10 +02:00
Martin T. H. Sandsmark 2b473fedbd generators: Fix build without implicit cast to/from ascii
See previous commit for details.
2016-07-11 21:59:14 +02:00
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.
2016-07-11 21:54:08 +02:00
Martin T. H. Sandsmark a1d2d8cac7 Undo mistake in last commit 2016-07-11 19:41:37 +02:00
Martin T. H. Sandsmark 243fc02cb9 Add some missing explicit dependencies 2016-07-11 19:40:49 +02:00
Martin T. H. Sandsmark 439ced872d Port away from signal/slot keyword
When building okular without kdelibs4support it apparently builds with
-DQT_NO_SIGNALS_SLOTS_KEYWORDS.
2016-07-11 19:34:08 +02:00
Bhushan Shah 6fd7509730 somehow this still needs KDELibs4Support
Gives following error otherwise,

/usr/include/qmobipocket/qmobipocket_export.h:22:23: fatal error: kdemacros.h: No such file or directory
compilation terminated.
2016-06-27 14:55:03 +05:30
Martin T. H. Sandsmark b2ffcab043 Fix build of mobipocket backend 2016-06-18 19:34:55 +02:00
Aleix Pol 32b62e919a Remove most KDELibs4Support linking
Ports away from KFileDialog.
Stops linking to KDELibs4Support from objects that don't need it.

REVIEW: 127021
2016-05-31 00:13:36 +02:00
Albert Astals Cid 18b4cababc Change kf5-warning text
Makes Thomas happier
2016-05-17 23:50:55 +02:00
Marco Martin 954c46ec46 go at beginning of page when switching 2016-05-13 18:07:37 +02:00
Marco Martin 7fe208892d joined buttons style on plasma style 2016-05-13 18:01:31 +02:00
Marco Martin f4de5d1bef move progressbar in MainView
only show on controls shown
2016-05-13 17:58:21 +02:00
Marco Martin 3b34e223c8 adjust look of thumbnails 2016-05-13 17:52:49 +02:00
Marco Martin 3c74f1acb0 minor layout fixes 2016-05-13 17:41:35 +02:00
Marco Martin 1d5853c2cb better behavior for wheel zoom 2016-05-13 17:19:48 +02:00
Marco Martin 5cc122f021 restore horiz flicking
restore scrolling with mouse wheel
2016-05-13 17:01:17 +02:00
Marco Martin 4bb05056ce support zoom by ctrl+wheel 2016-05-13 16:36:06 +02:00
Marco Martin 6fe6e884d1 make sure horiz scrollbar is off when not needed
size the page correctly to not have the horizontal
scrollbar when not needed, and make sure the flickable
is not interactive, as flicking is managed by hand
with a mousearea
2016-05-13 16:17:26 +02:00
Marco Martin eb1f73800e port to kirigami
port away from plasma-framework dependencies
2016-05-13 14:49:08 +02:00
Albert Astals Cid f9917aa9fe Mark this as not official release 2016-05-04 22:54:23 +02:00
Dan Leinir Turthra Jensen d01a5704bf Avoid a crash occurring when pushing the components a little hard
The situation described here occurs in particular when first increasing
the size of the component considerably, and then reducing it again
(such as switching to and from full screen in some application)
Error discovered in Peruse, but will happen elsewhere as well.
2016-04-25 08:28:50 +01:00
Dan Leinir Turthra Jensen 8bcfc5d0b4 Actually fix fax generator compilation with msvc2015
This isn't defined until you have QtGlobal included somewhere.
So, moving the QImage include above the std stuff does the trick.
2016-04-07 10:55:31 +01:00
Thomas Friedrichsmeier df0c41212f Fix build with MinGW on Windows.
REVIEW: 127328
2016-03-16 10:57:34 +01:00
David Rosca 1335d67259 Use kcmshell5 for configure web shortcuts action
REVIEW: 126852
2016-03-11 14:23:26 +01:00
Armin K 568079625d cmake: Port to FindPoppler from extra-cmake-modules
REVIEW: 127049
2016-03-08 19:54:21 +01:00
Aleix Pol 154c98fdaa Fix QUrl string encoding issue
Don't go through QUrl -> QString -> QUrl when opening files from the
argument list.
Don't be strict when opening URLs that come from the dbus interface.

REVIEW: 127042
2016-02-26 17:04:40 +01:00
Albert Vaca 67f69c8871 Merge branch 'master' into frameworks
# Conflicts:
#	CMakeLists.txt
#	active/app/package/metadata.desktop
#	conf/widgetannottools.cpp
#	core/version.h
#	generators/poppler/libokularGenerator_poppler.desktop
#	generators/txt/libokularGenerator_txt.desktop
#	generators/xps/libokularGenerator_xps.desktop
#	ui/annotationwidgets.cpp
#	ui/presentationwidget.cpp
2016-02-22 03:50:54 -08:00
Albert Vaca db212c805f Make presentation widget tool bar follow the lineedit height
REVIEW: 126050
2016-02-22 02:56:17 -08:00
Albert Astals Cid aa2c28bc51 Forms: Let checkboxes be unchecked
At least in PDF which is the only backend with form support

Radio buttons are a bit of a mess since they're supposedly also uncheckable if NoToggleToOff is not set but in Adobe Reader they never are

BUGS: 357743
2016-02-22 02:54:04 -08:00
Krzysztof Pyrkosz 14c936ea1b Fix for CUPS printing
Okular was checking for Q_WS_X11 definition (which is not available since Qt 5) to detect CUPS, so detection always fails making CUPS parameters ignored.

REVIEW: 127036
2016-02-16 01:27:29 +01:00
Albert Astals Cid c8f52a2795 Merge remote-tracking branch 'origin/Applications/15.12' 2016-02-08 00:28:09 +01:00
Albert Astals Cid 41006445a9 setAttribute with doubles is evil as it uses the current locale and we don't want that, use QString::number
BUGS: 359016
2016-02-08 00:27:06 +01:00
Aleix Pol a704fbce94 Fix porting QUrl issues
Reviewed by Albert Astals
2016-01-30 20:00:25 +01:00