Commit graph

332 commits

Author SHA1 Message Date
Montel Laurent
e03e6f6863 Use Q_DECL_OVERRIDE 2015-08-04 15:22:41 +02:00
David Faure
d5bad89a51 Fix crash on startup when okularpart can't be found 2015-08-03 15:30:05 +02:00
Ivan Čukić
c46b08c23f Make KActivities a required dependency
Our goal is better integration with Plasma and other KDE components.

We have made a conscious decision to reduce our code a bit by removing
the legacy #ifdefs. That way we do not have to support a build
configuration which is going to be used by just a tiny minority of our
users, and one that we are not terribly interested in. Without
KActivities, there is for example no support for recording and listing
of recent documents, PDF sharing etc etc, and we honestly believe that
the majority of our audience wants these features.

REVIEW: 123249
2015-05-05 00:19:28 +02:00
Montel Laurent
2708e9ce6d Merge remote-tracking branch 'origin/master' into frameworks 2015-04-01 19:46:00 +02:00
Albert Astals Cid
72ca504ce1 Merge remote-tracking branch 'origin/Applications/15.04' 2015-03-30 20:06:17 +02:00
Ronnie Thomas
0877dfd5f8 Fix error messags on cmdline arguments
The --print and the --page arguments were showing wrong error messages. This patch fixes it.

REVIEW: 123163
2015-03-30 20:05:40 +02:00
Montel Laurent
ffbf0b82f6 Rename icons 2015-03-17 08:52:39 +01:00
Montel Laurent
d780d15ea9 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	autotests/mainshelltest.cpp
	part.cpp
	part.h
	shell/shell.cpp
2015-03-17 08:47:52 +01:00
Saheb Preet Singh
1eafe4feb1 New shortcut to resize window to fit page
FIXED-IN: KDE Applications 15.08
BUGS: 326844
REVIEW: 115283
2015-03-17 00:20:11 +01:00
Jonathan Doman
1cfb007b63 Fix session restore/save with multiple tabs
BUGS: 335852
REVIEW: 122570
2015-03-16 23:55:57 +01:00
Montel Laurent
5e984303a4 Use new KDE_ macro 2015-03-04 07:52:20 +01:00
Montel Laurent
90b2f6c62c Fix install icons 2015-03-01 10:57:10 +01:00
Montel Laurent
c4f224f1e8 Port to new connect api 2015-01-30 22:06:53 +01:00
Lukáš Tinkl
fd6a35486e port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
l10n daemon script
9a3672b255 SVN_SILENT made messages (.desktop file) 2014-12-26 04:18:45 +00:00
l10n daemon script
e6ef3cb64b SVN_SILENT made messages (.desktop file) 2014-12-25 04:05:24 +00:00
Montel Laurent
5da7c5f77d port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
Montel Laurent
603d8b19c9 Fix includes 2014-10-19 15:17:37 +02:00
Montel Laurent
16f13c04d2 kdelibs4support-- 2014-10-17 23:30:54 +02:00
Jeremy Whiting
83299b9532 Remove %i from .desktop files which added --icon to exec line.
Since Okular no longer uses KApplication it no longer handles --icon parameters.
2014-10-07 16:41:59 -06:00
Montel Laurent
4ec78fa5df Use modern macro 2014-10-07 13:16:16 +02:00
Montel Laurent
57adb81a03 Remove not necessary include moc 2014-10-05 07:28:09 +02:00
Lukáš Tinkl
48300404cb replace deprecated QAction::setShortcut with KStandardShortcut 2014-10-04 21:48:32 +02:00
Montel Laurent
47a278b5fd Merge remote-tracking branch 'origin/KDE/4.14' into frameworks
Conflicts:
	shell/shell.cpp
2014-10-02 13:44:32 +02:00
Montel Laurent
5b88e93891 reverse dns desktop 2014-10-02 09:21:18 +02:00
Sergio Martins
9ff5451f1f Merge branch 'KDE/4.14' into master 2014-10-01 23:57:42 +01:00
Sergio Martins
cb4d52fb4c Fix infinit loop if component isn't found.
Shell's CTOR will fail if Okular component isn't found, leading
to i never being incremented.
2014-10-01 23:56:00 +01:00
Frederik Gladhorn
1e01a5cfc9 Use KSharedConfig::openConfig instead of KGlobal::config 2014-09-17 21:15:46 +02:00
Frederik Gladhorn
f7d1dd9312 Remove -caption %c from .desktop files
BUGS: 338264
2014-09-17 20:16:49 +02:00
Frederik Gladhorn
50e3c1478a Use qApp instead of kapp 2014-09-16 23:22:30 +02:00
David Faure
d98b4d9200 Make it possible to open URLs on the command-line again
by removing much cruft and using the shiny new QUrl::fromUserInput(2 args),
but since that requires Qt 5.4, also include a copy here if Qt is too "old".

Reviewed-By: Albert
Makes-Happy: Lukas
2014-09-11 18:26:10 +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
Lukáš Tinkl
33f6862a94 fix command line parsing and DBUS registration in effect
Okular still doesn't start tho when e.g. clicking on a PDF
in Dolphin and fails to open a file from command line
(QUrl porting bug)
2014-09-11 11:26:16 +02:00
Frederik Gladhorn
374592256a Use tabBar()->hide() instead of setTabBarHidden 2014-09-09 17:49:10 +02:00
Frederik Gladhorn
b79e706e56 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	generators/dvi/generator_dvi.cpp
	generators/ooo/generator_ooo.cpp
	part.cpp
	shell/main.cpp
	shell/shell.cpp
	shell/shell.h
	shell/shellutils.h
	tests/CMakeLists.txt
	ui/propertiesdialog.cpp
2014-08-14 13:35:43 +02:00
Rohan Garg
bd36521c36 Port away from KUrl, pretify headers 2014-08-13 23:03:23 +02:00
Rohan Garg
d5b9a2e078 Port Shell away from KUrl to QUrl
REVIEWED-BY: Albert Astals Cid <aacid@kde.org>
2014-08-13 23:03:23 +02:00
Vishesh Handa
46cf7e46a5 Port away from KUrl::List 2014-08-13 13:07:44 +02:00
Vishesh Handa
e038950f50 KIcon -> QIcon 2014-08-13 11:54:49 +02:00
Frederik Gladhorn
9398df0a06 Welcome back Okular::Part 2014-08-10 22:01:13 +02:00
Frederik Gladhorn
ac15a7075e More QUrl porting 2014-08-10 20:36:41 +02:00
Frederik Gladhorn
99db5d0157 Fix rc install dir 2014-08-10 19:27:47 +02:00
Lukáš Tinkl
b32306463c look for KF5 versions of libkscreen and kactivities 2014-08-10 17:40:24 +02:00
Albert Astals Cid
20d687cac5 I need it down here for cmake to suceed 2014-08-09 19:45:50 +02:00
Frederik Gladhorn
5ec298c10c Fix linking 2014-08-09 13:47:38 +02:00
Frederik Gladhorn
1703f2df7c Port KAboutData 2014-08-09 13:44:29 +02:00
Frederik Gladhorn
c7e003d7bc Port to QCommandLineParser 2014-08-09 13:27:12 +02:00
Frederik Gladhorn
272e8eb556 Use QKeySequence instead of KStandardShortcut 2014-08-09 12:57:56 +02:00
Frederik Gladhorn
49c6f33356 KDialog::setCaption removed 2014-08-09 12:47:17 +02:00
Frederik Gladhorn
cebdf978ce Fix linking to KF5 libs 2014-08-09 12:46:36 +02:00