From 31bf3102fe8f8cdd3f1448f0f22f182d0c2820d2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 23 May 2017 21:00:50 +0200 Subject: Moved MIME related stuff to a mime subdir --- .../mimetreeparser/otp/cryptobodypartmemento.cpp | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 framework/src/domain/mimetreeparser/otp/cryptobodypartmemento.cpp (limited to 'framework/src/domain/mimetreeparser/otp/cryptobodypartmemento.cpp') diff --git a/framework/src/domain/mimetreeparser/otp/cryptobodypartmemento.cpp b/framework/src/domain/mimetreeparser/otp/cryptobodypartmemento.cpp deleted file mode 100644 index a884ec36..00000000 --- a/framework/src/domain/mimetreeparser/otp/cryptobodypartmemento.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright (c) 2014-2017 Montel Laurent - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License, version 2, as - published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -#include "cryptobodypartmemento.h" - -using namespace GpgME; -using namespace MimeTreeParser; - -CryptoBodyPartMemento::CryptoBodyPartMemento() - : QObject(nullptr), - Interface::BodyPartMemento(), - m_running(false) -{ - -} - -CryptoBodyPartMemento::~CryptoBodyPartMemento() -{ - -} - -bool CryptoBodyPartMemento::isRunning() const -{ - return m_running; -} - -void CryptoBodyPartMemento::setAuditLog(const Error &err, const QString &log) -{ - m_auditLogError = err; - m_auditLog = log; -} - -void CryptoBodyPartMemento::setRunning(bool running) -{ - m_running = running; -} - -void CryptoBodyPartMemento::detach() -{ - disconnect(this, SIGNAL(update(MimeTreeParser::UpdateMode)), nullptr, nullptr); -} - -- cgit v1.2.3