~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/backend/bookshelfmodel/moduleitem.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Marsden
  • Date: 2009-11-18 17:30:00 UTC
  • mfrom: (1.3.4 upstream) (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091118173000-endkhjz5qai88tvr
Tags: 2.4-1
* New upstream version 2.4
* debian/control: 
  - Replace incorrect bibletime-data Depends on lib4qt-gui
    with bibletime Depends on libqtgui4 (>= 4.4.0). (Closes: #556209).
  - Add Build-depends: on zlib1g-dev and libcurl4-gnutls-dev 
    (Closes: #556805).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "backend/bookshelfmodel/btbookshelfmodel.h"
19
19
#include "backend/drivers/cswordmoduleinfo.h"
20
20
 
 
21
 
21
22
namespace BookshelfModel {
22
23
 
23
24
class ModuleItem: public Item {
24
25
    public:
25
26
        ModuleItem(CSwordModuleInfo *module);
26
27
 
27
 
        CSwordModuleInfo *moduleInfo() const { return m_moduleInfo; }
28
 
 
29
 
        inline QString name() const { return m_moduleInfo->name(); }
30
 
 
31
 
        inline QIcon icon() const {
32
 
            return BtBookshelfModel::categoryIcon(m_moduleInfo->category());
 
28
        CSwordModuleInfo *moduleInfo() const {
 
29
            return m_moduleInfo;
 
30
        }
 
31
 
 
32
        inline bool isHidden() const {
 
33
            return m_moduleInfo->isHidden();
33
34
        }
34
35
 
35
36
    protected: