[Kde-imaging] extragear/libs/kipi-plugins/jpeglossless
Gilles Caulier
caulier.gilles at gmail.com
Mon Jun 11 00:30:25 CEST 2007
SVN commit 673730 by cgilles:
kipi-plugins from trunk (KDE4) : JPEGLossLess kipi-plugin is now ported to QT4/KDE4
CCMAIL: kde-imaging at kde.org
M +4 -5 jpegtransform.cpp
--- trunk/extragear/libs/kipi-plugins/jpeglossless/jpegtransform.cpp #673729:673730
@@ -40,14 +40,13 @@
// Qt includes.
#include <QString>
-//#include <QMatrix>
#include <QFile>
// KDE includes.
#include <kdebug.h>
#include <klocale.h>
-#include <ktempfile.h>
+#include <ktemporaryfile.h>
// Local includes.
@@ -203,9 +202,9 @@
// If twoPass is true, we need another file (src -> tempFile -> destGiven)
if (twoPass)
{
- KTempFile tempFile;
- tempFile.setAutoDelete(false);
- dest=tempFile.name();
+ KTemporaryFile tempFile;
+ tempFile.setAutoRemove(false);
+ dest=tempFile.fileName();
}
output_file = fopen(QFile::encodeName(dest), "wb");
More information about the Kde-imaging
mailing list