Commit 3a1eca0e authored by Christoph Feck's avatar Christoph Feck

KF5 port: KTemporaryFile -> QTemporaryFile

parent d5246f9c
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <QContextMenuEvent> #include <QContextMenuEvent>
#include <QPixmap> #include <QPixmap>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QTemporaryFile>
// include files for KDE // include files for KDE
#include <kxmlguiclient.h> #include <kxmlguiclient.h>
...@@ -55,7 +56,6 @@ ...@@ -55,7 +56,6 @@
#include <kimageio.h> #include <kimageio.h>
#include <kio/job.h> #include <kio/job.h>
#include <kio/netaccess.h> #include <kio/netaccess.h>
#include <ktemporaryfile.h>
#include <kmenu.h> #include <kmenu.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>
#include <kglobal.h> #include <kglobal.h>
...@@ -589,7 +589,7 @@ void KmagApp::saveZoomPixmap() ...@@ -589,7 +589,7 @@ void KmagApp::saveZoomPixmap()
if(!url.fileName().isEmpty()) { if(!url.fileName().isEmpty()) {
if(!url.isLocalFile()) { if(!url.isLocalFile()) {
// create a temp file.. save image to it.. copy over the n/w and then delete the temp file. // create a temp file.. save image to it.. copy over the n/w and then delete the temp file.
KTemporaryFile tempFile; QTemporaryFile tempFile;
#ifdef __GNUC__ #ifdef __GNUC__
#warning "kde4: port KImageIO::type \n"; #warning "kde4: port KImageIO::type \n";
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment