Commit graph

315 commits

Author SHA1 Message Date
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 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
Frederik Gladhorn 4cf3df32e3 Fix includes and KQAction 2014-08-09 00:21:04 +02:00
Albert Astals Cid c5c3be9a1a Do not allow more than one path if using -page, -presentation or -print
Only in mater since it adds new strings
2014-08-08 23:34:24 +02:00
Albert Astals Cid 125ee3178c Don't you hate it when you forget files? 2014-08-08 22:39:53 +02:00
Albert Astals Cid 61c830cb7a Pass the command line options properly when using tabs or unique instances
Use a QString to serialize the command line options other than urls to open so it can be easily passed around to every place that opens a new shell or tab or overrides the content in a unique instance.

BUGS: 334100
FIXED-IN: 4.14.0
REVIEW: 119595
2014-08-08 22:35:53 +02:00
Frederik Gladhorn 93918b1ec8 Basic cmake kf5 porting 2014-08-07 09:59:07 +02:00
Albert Astals Cid 50f2019f8b Pass absolute urls
Patch pased on patch by Jonathan Doman based in a suggstion of willemsonke@planet.nl

BUGS: 334510
REVIEW: 119550
FIXED-IN: 4.14.0
2014-08-03 02:04:56 +02:00
Jonathan Doman 375c72dc66 Make tabs rearrangeable
BUGS: 334018
FIXED-IN: 4.14.0
REVIEW: 118685
2014-07-31 00:15:21 +02:00
Albert Astals Cid 49dc7dcb59 Indent 2014-04-10 00:01:39 +02:00
Albert Astals Cid cd02dd6d3c Minor changes
Make the receivers be the ones that check for empty, not the senders
2014-04-09 23:34:18 +02:00
Jonathan Doman 89fd56c23b Launch documents from external sources in new tabs
FIXED-IN: 4.13.0
BUGS: 331872
BUGS: 332238
REVIEW: 116700
2014-04-09 23:29:58 +02:00
Jonathan Doman ecf1f28290 Set tabWidget's documentMode
REVIEW: 115636
2014-02-13 23:25:27 +01:00
Albert Astals Cid 7681cdf004 Move the open new files in tabs setting to configure dialog
Also make it non enabled by default for now

GUI
BUGS: 155515
2014-02-08 12:15:15 +01:00
Jonathan Doman 0a982319f4 Tabbed interface
GUI
BUGS: 155515
REVIEW: 110914
2014-02-08 11:44:26 +01:00
l10n daemon script d773e626a9 SVN_SILENT made messages (.desktop file) 2013-08-04 04:26:31 +00:00
l10n daemon script 4e84194bef SVN_SILENT made messages (.desktop file) 2013-07-24 04:05:35 +00:00
l10n daemon script 2e847d2f81 SVN_SILENT made messages (.desktop file) 2013-07-01 03:53:16 +00:00
David Faure 155312269b Remove erroneous double-quotes around %c in Exec line 2013-05-03 13:25:44 +02:00