summaryrefslogtreecommitdiff
path: root/src/backend/rendering/chtmlexportrendering.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/rendering/chtmlexportrendering.h')
-rw-r--r--src/backend/rendering/chtmlexportrendering.h40
1 files changed, 17 insertions, 23 deletions
diff --git a/src/backend/rendering/chtmlexportrendering.h b/src/backend/rendering/chtmlexportrendering.h
index 97e632d..db90707 100644
--- a/src/backend/rendering/chtmlexportrendering.h
+++ b/src/backend/rendering/chtmlexportrendering.h
@@ -25,37 +25,31 @@ namespace Rendering {
* @short HTML rendering for export.
* @author The BibleTime team
*/
+class CHTMLExportRendering: public CTextRendering {
-class CHTMLExportRendering : public CTextRendering {
-
- public:
- struct Settings {
- Settings(const bool text = true) {
- addText = text;
- };
-
- bool addText;
- };
+ public: /* Methods: */
CHTMLExportRendering(
- const Settings &settings,
+ bool addText,
const DisplayOptions &displayOptions = CBTConfig::getDisplayOptionDefaults(),
- const FilterOptions &filterOptions = CBTConfig::getFilterOptionDefaults()
- );
- virtual inline ~CHTMLExportRendering() {};
-
- protected:
- virtual const QString renderEntry( const KeyTreeItem&, CSwordKey* = 0 );
- virtual const QString finishText( const QString&, KeyTree& tree );
- virtual const QString entryLink(const KeyTreeItem &item,
- const CSwordModuleInfo *module);
+ const FilterOptions &filterOptions = CBTConfig::getFilterOptionDefaults());
+
+ protected: /* Methods: */
+
+ virtual QString renderEntry(const KeyTreeItem &item, CSwordKey * key = 0);
+ virtual QString finishText(const QString &text, const KeyTree &tree);
+ virtual QString entryLink(const KeyTreeItem &item,
+ const CSwordModuleInfo *module);
virtual void initRendering();
+ protected: /* Fields: */
+
DisplayOptions m_displayOptions;
FilterOptions m_filterOptions;
- Settings m_settings;
-};
+ bool m_addText;
+
+}; /* class CHTMLExportRendering */
-}
+} /* namespace Rendering */
#endif