diff options
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 |