summaryrefslogtreecommitdiff
path: root/src/backend/rendering/cplaintextexportrendering.cpp
diff options
context:
space:
mode:
authorTeus Benschop <teusjannette@gmail.com>2017-10-06 12:24:31 +0200
committerTeus Benschop <teusjannette@gmail.com>2017-10-06 12:24:31 +0200
commit90d2181239761f8950b95768d3b037843e9e8b50 (patch)
tree6cc667ab420cc04029de2de7e361d2305e214595 /src/backend/rendering/cplaintextexportrendering.cpp
parent1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (diff)
New upstream version 2.11.0
Diffstat (limited to 'src/backend/rendering/cplaintextexportrendering.cpp')
-rw-r--r--src/backend/rendering/cplaintextexportrendering.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/rendering/cplaintextexportrendering.cpp b/src/backend/rendering/cplaintextexportrendering.cpp
index e462e53..f065503 100644
--- a/src/backend/rendering/cplaintextexportrendering.cpp
+++ b/src/backend/rendering/cplaintextexportrendering.cpp
@@ -2,15 +2,14 @@
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2014 by the BibleTime developers.
+* Copyright 1999-2016 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
-#include "backend/rendering/cplaintextexportrendering.h"
+#include "cplaintextexportrendering.h"
-#include <QSharedPointer>
-#include "backend/keys/cswordkey.h"
+#include "../keys/cswordkey.h"
namespace Rendering {
@@ -32,12 +31,12 @@ QString CPlainTextExportRendering::renderEntry(const KeyTreeItem &i,
if (!m_addText)
return QString(i.key()).append("\n");
- const QList<const CSwordModuleInfo*> modules = i.modules();
+ const BtConstModuleList modules = i.modules();
CSwordKey * key = CSwordKey::createInstance(modules.first());
QString renderedText = QString(i.key()).append(":\n");
QString entry;
- Q_FOREACH(const CSwordModuleInfo * module, modules) {
+ Q_FOREACH(CSwordModuleInfo const * const module, modules) {
key->setModule(module);
key->setKey(i.key());