summaryrefslogtreecommitdiff
path: root/src/backend/bookshelfmodel/languageitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/bookshelfmodel/languageitem.h')
-rw-r--r--src/backend/bookshelfmodel/languageitem.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/bookshelfmodel/languageitem.h b/src/backend/bookshelfmodel/languageitem.h
index b5696d9..c6e4417 100644
--- a/src/backend/bookshelfmodel/languageitem.h
+++ b/src/backend/bookshelfmodel/languageitem.h
@@ -28,17 +28,7 @@ class LanguageItem: public Item {
LanguageItem(CSwordModuleInfo *module);
- inline const CLanguageMgr::Language *language() const {
- return m_language;
- }
-
- inline QString name() const {
- return BtBookshelfModel::languageName(m_language);
- }
-
- inline QIcon icon() const {
- return util::directory::getIcon("flag.svg");
- }
+ QVariant data(int role = Qt::DisplayRole) const;
inline bool fitFor(CSwordModuleInfo *module) const {
return module->language() == m_language;