Martin T. H. Sandsmark
ab2fe5f178
Remove dead code that was added in 2004 but never used
10 years ago
Martin T. H. Sandsmark
9014ef75cb
Fix setting of icon in backend about dialog
10 years ago
Olivier CHURLAUD
3b608a66c9
Preview functions again.
...
I added again the okularXXX.desktop
Correct the mess done by review 126193
10 years ago
Olivier CHURLAUD
327b560e4e
This is Qt5 based, remove condition
10 years ago
Olivier CHURLAUD
741c616c7a
Port most of part.cpp out of KDELibsSupport
...
minor: Change header cases : <qicon.h> becomes <QIcon>
10 years ago
Olivier CHURLAUD
1f69f5fdcc
Port GotoPageDialog away from KDialog, KIntNumInput
10 years ago
Martin T. H. Sandsmark
39bff653a5
Add config migration
10 years ago
Martin T. H. Sandsmark
c8e3c0eb01
Port part away from deprecated KArchive methods
10 years ago
Martin T. H. Sandsmark
b51d495930
Port part away from NetAccess
10 years ago
Martin T. H. Sandsmark
4189304934
Port away from KStandardPaths
10 years ago
Martin T. H. Sandsmark
9ac9027467
Port part away from KFileDialog
10 years ago
Martin T. H. Sandsmark
d5bdca64d2
Fix low hanging unused parameters warnings
10 years ago
Martin T. H. Sandsmark
44624bd52d
Get correct error message when failing to create temporary file
10 years ago
Martin T. H. Sandsmark
67e7ada311
Fix build without implicit cast to/from ascii
...
See the previous commits for details. This is the last part.
10 years ago
Alex Richardson
93b94161f2
Bring back the about backend dialog
...
REVIEW: 126193
10 years ago
Alex Richardson
2f9246ae42
Port to new JSON plugin loading system
...
This means Okular can now work without ksycoca and KDELibs4Support.
REVIEW: 126193
10 years ago
Alex Richardson
ab1d3a36cc
Set the KXMLGUI component name to okular
...
Without this the .rc files will not be found by the unit tests or other
programs that use okularpart
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Albert Astals Cid
ce7f81fc06
Make the sidebar work on widget pointers and not ints
...
This way we don't need to worry if we add more widgets in the middle
11 years ago
Albert Astals Cid
1cd101b480
Small cleanup of the layer support feature
...
Tab replacing, function naming, include removal, @since addition, etc
11 years ago
Albert Astals Cid
d8f9800d28
Make the drawing tools be actions instead of tool buttons
...
3 benefits:
* We can set the shortcut in the edit shortcuts dialog as before
* Shortcuts can be activated without showing the topbar as before
* Drawing in the toppbar is exactly as the other actions
11 years ago
Tobias Koenig
81f80ac3a4
Implement drawing quick selection tool for presentation mode
...
REVIEW: 124687
11 years ago
Montel Laurent
6fab218de9
Use Q_NULLPTR
11 years ago
Saheb Preet Singh
f5f0947dd9
hided layers pane in a cleaner way
11 years ago
Saheb Preet Singh
5af8cc5873
solved some minor bugs, corrected the search options and proper hiding of layers section when not present
11 years ago
Saheb Preet Singh
d891436231
reloading form widgets with layer show and hide
11 years ago
Jan Kundrát
abd30fb774
s/auto_ptr/unique_ptr/
...
The old auto_ptr was used for simple RAII. None of the auto_ptr flaws
were apparent in that context, but given that that class is actively
deprecated and that compilers warn about its use, it's better to switch
to its drop-in replacement.
My reason for not using QScopedPointer is that the C++11 version works
well enough, Okular is being built in C++11 mode anyway, unique_ptr
works on the KF5-minimal-mandated-compilers according to their docs, and
therefore there's no point in using something with a different API
(QScopedPointer) just because its name begins with a Q.
REVIEW: 124027
11 years ago
Saheb Preet Singh
854f047d47
hide layers from the sidebar when layers are not present in the document
11 years ago
Saheb Preet Singh
bf673495fb
added layers on the left sidebar
11 years ago
Albert Astals Cid
8452e86b65
Fix porting mistake on next/prev page shortcuts
...
CCMAIL: lukas@kde.org
BUGS: 347109
11 years ago
Jonathan Doman
223092aa0e
Fix embed mode detection
...
Wow, I have no idea how this happened. I wrote an big test case and spent a lot of time playing with tabs. Stephan Binner even told me about this a month ago, but I didn't quite understand the problem...
Broken embed mode detection means that the tabbed interface is disabled. It actually made it into release... ugh
REVIEW: 123680
11 years ago
Montel Laurent
080dba35b2
kdelibs4support--
11 years ago
Montel Laurent
3580f0089b
Fix includes
11 years ago
Saheb Preet Singh
1eafe4feb1
New shortcut to resize window to fit page
...
FIXED-IN: KDE Applications 15.08
BUGS: 326844
REVIEW: 115283
11 years ago
Jonathan Doman
1cfb007b63
Fix session restore/save with multiple tabs
...
BUGS: 335852
REVIEW: 122570
11 years ago
Jeremy Whiting
61554c833e
Reenabled text to speech using QtSpeech as an optional dependency.
...
If QtSpeech (dev branch) is built and installed this builds and works
very well.
REVIEW:122553
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
David Faure
f264146e59
Fix crash when arguments().mimeType() is an invalid mimetype name.
...
I have a JIRA bug report with a PDF attached, and mid-clicking the PDF
in konqueror leads to opening an okularpart with mimetype="application/x-octet-stream"
(the x- in there is very unusual, and unknown to shared-mime-info).
Fixed with null pointer checks.
REVIEW: 122074
11 years ago
Albert Astals Cid
eb0da16e45
Set the proper title again after tab change
...
BUGS: 342492
FIXED-IN: 14.12.1
11 years ago
Lukáš Tinkl
ef8d018a72
fix shortcut conflict between "Save as" and "Save copy as"
...
both are being created using KStandardAction::saveAs()
12 years ago
Arnold Dumas
d852a7bee0
Use new Q_OS_* macros.
12 years ago
Montel Laurent
26fc592e7d
Fix includes
12 years ago
Lukáš Tinkl
48300404cb
replace deprecated QAction::setShortcut with KStandardShortcut
12 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Nidhi Jain
f62153231b
Move focus to view when closing the find bar with the [x] button
...
BUGS: 314251
REVIEW: 120307
FIXED-IN: 4.14.2
12 years ago
Arnold Dumas
a6db7a2655
Port from KInputDialog to QInputDialog.
...
REVIEW: 120378
12 years ago
Albert Astals Cid
b958a5e3ae
Complement to last commit
...
Do not end up with the sidebar hidden when opening some files and you had it open
For example with http://www.abax.se/content/download/137/862/file/example.pdf
12 years ago
Albert Astals Cid
d2708aef12
Do not end up with the sidebar hidden when opening some files and you had it open
...
For example with http://www.abax.se/content/download/137/862/file/example.pdf
12 years ago
Frederik Gladhorn
3581fb6245
Port to QTemporaryFile
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago