~vcs-imports/bibletime/trunk

« back to all changes in this revision

Viewing changes to bibletime/backend/centrydisplay.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
*
 
3
* This file is part of BibleTime's source code, http://www.bibletime.info/.
 
4
*
 
5
* Copyright 1999-2006 by the BibleTime developers.
 
6
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
 
7
*
 
8
**********/
 
9
 
 
10
 
 
11
 
 
12
#ifndef CENTRYDISPLAY_H
 
13
#define CENTRYDISPLAY_H
 
14
 
 
15
//BibleTime includes
 
16
#include "ctextrendering.h"
 
17
#include "cswordmoduleinfo.h"
 
18
#include "cswordbackend.h"
 
19
 
 
20
#include "util/cpointers.h"
 
21
 
 
22
//Sword includes
 
23
#include <swdisp.h>
 
24
 
 
25
//Qt includes
 
26
#include <qstring.h>
 
27
 
 
28
class CSwordModuleInfo;
 
29
 
 
30
namespace Rendering {
 
31
 
 
32
/**
 
33
* The reimplementation of SWDisplay to fit our needs.
 
34
* @short Display implementation
 
35
* @author The BibleTime team
 
36
*/
 
37
 
 
38
class CEntryDisplay : public sword::SWDisplay, public CPointers {
 
39
 
 
40
public:
 
41
        virtual ~CEntryDisplay() {}
 
42
 
 
43
        /**
 
44
        * Returns the rendered text using the modules in the list and using the key parameter.
 
45
        * The displayoptions and filter options are used, too.
 
46
        */
 
47
        virtual const QString text( const ListCSwordModuleInfo& modules, const QString& key, const CSwordBackend::DisplayOptions displayOptions, const CSwordBackend::FilterOptions filterOptions);
 
48
};
 
49
 
 
50
 
 
51
}
 
52
 
 
53
#endif