Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Accessibility
KMag
Commits
3a1eca0e
Commit
3a1eca0e
authored
Sep 29, 2014
by
Christoph Feck
Browse files
KF5 port: KTemporaryFile -> QTemporaryFile
parent
d5246f9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
kmag.cpp
View file @
3a1eca0e
...
...
@@ -32,6 +32,7 @@
#include
<QContextMenuEvent>
#include
<QPixmap>
#include
<QDesktopWidget>
#include
<QTemporaryFile>
// include files for KDE
#include
<kxmlguiclient.h>
...
...
@@ -55,7 +56,6 @@
#include
<kimageio.h>
#include
<kio/job.h>
#include
<kio/netaccess.h>
#include
<ktemporaryfile.h>
#include
<kmenu.h>
#include
<kedittoolbar.h>
#include
<kglobal.h>
...
...
@@ -589,7 +589,7 @@ void KmagApp::saveZoomPixmap()
if
(
!
url
.
fileName
().
isEmpty
())
{
if
(
!
url
.
isLocalFile
())
{
// create a temp file.. save image to it.. copy over the n/w and then delete the temp file.
K
TemporaryFile
tempFile
;
Q
TemporaryFile
tempFile
;
#ifdef __GNUC__
#warning "kde4: port KImageIO::type \n";
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment