summaryrefslogtreecommitdiff
path: root/src/backend/bookshelfmodel/moduleitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/bookshelfmodel/moduleitem.h')
-rw-r--r--src/backend/bookshelfmodel/moduleitem.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/backend/bookshelfmodel/moduleitem.h b/src/backend/bookshelfmodel/moduleitem.h
index 40ecc79..9657423 100644
--- a/src/backend/bookshelfmodel/moduleitem.h
+++ b/src/backend/bookshelfmodel/moduleitem.h
@@ -18,6 +18,7 @@
#include "backend/bookshelfmodel/btbookshelfmodel.h"
#include "backend/drivers/cswordmoduleinfo.h"
+
namespace BookshelfModel {
class ModuleItem: public Item {
@@ -28,12 +29,8 @@ class ModuleItem: public Item {
return m_moduleInfo;
}
- inline QString name() const {
- return m_moduleInfo->name();
- }
-
- inline QIcon icon() const {
- return BtBookshelfModel::moduleIcon(m_moduleInfo);
+ inline bool isHidden() const {
+ return m_moduleInfo->isHidden();
}
protected: