diff options
Diffstat (limited to 'src/backend/managers/cswordbackend.h')
-rw-r--r-- | src/backend/managers/cswordbackend.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/managers/cswordbackend.h b/src/backend/managers/cswordbackend.h index 3120694..c8b4f77 100644 --- a/src/backend/managers/cswordbackend.h +++ b/src/backend/managers/cswordbackend.h @@ -211,6 +211,11 @@ class CSwordBackend : public QObject, public sword::SWMgr { */ QList<CSwordModuleInfo*> takeModulesFromList(QStringList names); + /** + * Returns a list of pointers to modules, created from a list of module names. + */ + QList<CSwordModuleInfo*> getPointerList(QStringList names); + /** Sword prefix list. * @return A list of all known Sword prefix dirs */ @@ -254,6 +259,9 @@ class CSwordBackend : public QObject, public sword::SWMgr { QMap<QString, QString> m_moduleDescriptionMap; }; +Q_DECLARE_METATYPE(CSwordBackend::FilterOptions) +Q_DECLARE_METATYPE(CSwordBackend::DisplayOptions) + /**Returns The list of modules managed by this backend*/ inline const QList<CSwordModuleInfo*> &CSwordBackend::moduleList() const { return m_dataModel.modules(); |