Commit 94686a61 authored by Sandro Knauß's avatar Sandro Knauß

Adapt move of AttachmentTemporaryFilesDirs

parent a30fb33f
......@@ -91,7 +91,7 @@ set(LIBGRAVATAR_VERSION_LIB "5.2.40")
set(LIBMAILIMPORTER_VERSION_LIB "5.2.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.2.40")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.2.42")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.52")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.53")
set(LIBKLEO_LIB_VERSION_LIB "5.2.40")
set(LIBGRANTLEETHEME_LIB_VERSION_LIB "5.2.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.40")
......
......@@ -18,7 +18,7 @@
#include <kio/jobuidelegate.h>
#include <QDebug>
#include <QUrlQuery>
#include <PimCommon/AttachmentTemporaryFilesDirs>
#include <MimeTreeParser/AttachmentTemporaryFilesDirs>
using namespace Akregator;
......@@ -60,7 +60,7 @@ void DownloadArticleJob::start()
mTemporaryFile = new QTemporaryFile(this);
mTemporaryFile->open();
mTemporaryFile->setAutoRemove(false);
mAttachmentTemporaryFile = new PimCommon::AttachmentTemporaryFilesDirs;
mAttachmentTemporaryFile = new MimeTreeParser::AttachmentTemporaryFilesDirs;
KIO::Job *job = KIO::file_copy(mArticleUrl, QUrl::fromLocalFile(mTemporaryFile->fileName()), -1, KIO::Overwrite);
mAttachmentTemporaryFile->addTempFile(mTemporaryFile->fileName());
......
......@@ -18,7 +18,7 @@
#include <QUrl>
class QTemporaryFile;
class KJob;
namespace PimCommon
namespace MimeTreeParser
{
class AttachmentTemporaryFilesDirs;
}
......@@ -49,7 +49,7 @@ private:
QString mTitle;
QString mText;
QTemporaryFile *mTemporaryFile;
PimCommon::AttachmentTemporaryFilesDirs *mAttachmentTemporaryFile;
MimeTreeParser::AttachmentTemporaryFilesDirs *mAttachmentTemporaryFile;
};
}
#endif // DOWNLOADARTICLEJOB_H
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