diff options
Diffstat (limited to 'api/logic/translations/TranslationsModel.h')
-rw-r--r-- | api/logic/translations/TranslationsModel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/api/logic/translations/TranslationsModel.h b/api/logic/translations/TranslationsModel.h index 4bf83a56..fa0ae5f6 100644 --- a/api/logic/translations/TranslationsModel.h +++ b/api/logic/translations/TranslationsModel.h @@ -28,8 +28,10 @@ public: explicit TranslationsModel(QString path, QObject *parent = 0); virtual ~TranslationsModel(); - virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; - virtual int rowCount(const QModelIndex &parent = QModelIndex()) const override; + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; + QVariant headerData(int section, Qt::Orientation orientation, int role) const override; + int rowCount(const QModelIndex &parent = QModelIndex()) const override; + int columnCount(const QModelIndex & parent) const override; bool selectLanguage(QString key); void updateLanguage(QString key); |