diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:29 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:29 -0400 |
commit | e8a196082586bb68e0bf254a8f6f4b8f39071f32 (patch) | |
tree | b03dbbd1b5be6092ed5e9bcb3806aa2d4938bba3 /src/frontend/cprinter.h | |
parent | dd2f7ce46df53f2c377c02d1bf4df8adcf092072 (diff) |
Imported Upstream version 2.3.3
Diffstat (limited to 'src/frontend/cprinter.h')
-rw-r--r-- | src/frontend/cprinter.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/src/frontend/cprinter.h b/src/frontend/cprinter.h index 8b85691..d97563e 100644 --- a/src/frontend/cprinter.h +++ b/src/frontend/cprinter.h @@ -18,26 +18,24 @@ class QWebPage; -namespace Printing -{ - - // The CPrinter class manages the print item queue and the printing of them to the printer. - -class CPrinter : public QObject, public Rendering::CDisplayRendering -{ - Q_OBJECT -public: - CPrinter(QObject* parent, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions); - virtual ~CPrinter(); - void printKeyTree( KeyTree& ); - -protected: - virtual const QString entryLink(const KeyTreeItem& item, CSwordModuleInfo* const module); - virtual const QString renderEntry( const KeyTreeItem&, CSwordKey* = 0 ); - virtual const QString finishText(const QString& arg1, KeyTree& tree); - -private: - QWebPage* m_htmlPage; +namespace Printing { + +// The CPrinter class manages the print item queue and the printing of them to the printer. + +class CPrinter : public QObject, public Rendering::CDisplayRendering { + Q_OBJECT + public: + CPrinter(QObject* parent, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions); + virtual ~CPrinter(); + void printKeyTree( KeyTree& ); + + protected: + virtual const QString entryLink(const KeyTreeItem& item, CSwordModuleInfo* const module); + virtual const QString renderEntry( const KeyTreeItem&, CSwordKey* = 0 ); + virtual const QString finishText(const QString& arg1, KeyTree& tree); + + private: + QWebPage* m_htmlPage; }; } //namespace Printing |