Commit 07f5293f authored by Jeremy Whiting's avatar Jeremy Whiting

Port from KTemporaryFile to QTemporaryFile.

parent 76d7e632
......@@ -18,17 +18,19 @@
#include "phrasebook.h"
#include "phrasebookparser.h"
#include <QAction>
#include <QFile>
#include <QFileDialog>
#include <QFontDatabase>
#include <QPainter>
#include <QRegExp>
#include <QStack>
#include <QTemporaryFile>
#include <QTextStream>
#include <QUrl>
#include <QXmlInputSource>
#include <QXmlSimpleReader>
#include <QAction>
#include <KActionMenu>
#include <KActionCollection>
#include <KDesktopFile>
......@@ -36,11 +38,11 @@
#include <KMenu>
#include <KMessageBox>
#include <KToolBar>
#include <KTemporaryFile>
#include <QUrl>
#include <kio/netaccess.h>
#include <QDebug>
Phrase::Phrase()
{
this->phrase.clear();
......@@ -263,7 +265,7 @@ bool PhraseBook::save(const QUrl &url, bool asPhrasebook)
else
return true;
} else {
KTemporaryFile tempFile;
QTemporaryFile tempFile;
tempFile.open();
QTextStream ts(&tempFile);
......
......@@ -20,8 +20,7 @@
#include <QObject>
#include <QProcess>
#include <ktemporaryfile.h>
#include <QTemporaryFile>
/**This class is used internally by TextToSpeechSystem in order to do the actual speaking.
*@author Gunnar Schmi Dt
......@@ -67,7 +66,7 @@ public slots:
private:
QProcess m_process;
QByteArray encText;
KTemporaryFile tempFile;
QTemporaryFile tempFile;
};
#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