~vcs-imports/bibletime/trunk

« back to all changes in this revision

Viewing changes to bibletime/backend/cdisplayrendering.h

  • Committer: mgruner
  • Date: 2007-05-08 15:51:07 UTC
  • Revision ID: vcs-imports@canonical.com-20070508155107-0rj7jdmm5ivf8685
-imported source and data files to new svn module
-this is where KDE4-based development will take place

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// C++ Interface: cdisplayrendering
 
3
//
 
4
// Description:
 
5
//
 
6
//
 
7
// Author: The BibleTime team <info@bibletime.info>, (C) 2004
 
8
//
 
9
// Copyright: See COPYING file that comes with this distribution
 
10
//
 
11
//
 
12
#ifndef RENDERINGCDISPLAYRENDERING_H
 
13
#define RENDERINGCDISPLAYRENDERING_H
 
14
 
 
15
#include "chtmlexportrendering.h"
 
16
 
 
17
namespace Rendering {
 
18
 
 
19
/** HTML rendering for the text display widgets.
 
20
 * @short Rendering for the html display widget.
 
21
 * @author The BibleTime team
 
22
 */
 
23
 
 
24
class CDisplayRendering : public CHTMLExportRendering {
 
25
public:
 
26
        static const QString keyToHTMLAnchor(const QString& key);
 
27
 
 
28
        CDisplayRendering(
 
29
                CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults(),
 
30
                CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults()
 
31
        );
 
32
 
 
33
protected:
 
34
        virtual const QString entryLink( const KeyTreeItem& item, CSwordModuleInfo* const module );
 
35
        virtual const QString finishText( const QString&, KeyTree& tree );
 
36
};
 
37
 
 
38
}
 
39
 
 
40
#endif