summaryrefslogtreecommitdiff
path: root/src/frontend/keychooser/ckeychooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/keychooser/ckeychooser.h')
-rw-r--r--src/frontend/keychooser/ckeychooser.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/frontend/keychooser/ckeychooser.h b/src/frontend/keychooser/ckeychooser.h
index 79706cc..c18adbe 100644
--- a/src/frontend/keychooser/ckeychooser.h
+++ b/src/frontend/keychooser/ckeychooser.h
@@ -4,7 +4,7 @@
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2014 by the BibleTime developers.
+* Copyright 1999-2016 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
@@ -14,10 +14,11 @@
#include <QWidget>
+#include "backend/drivers/btmodulelist.h"
+
class BTHistory;
class CSwordKey;
-class CSwordModuleInfo;
class QAction;
/**
@@ -45,7 +46,7 @@ public: /* Methods: */
* @param key if not NULL, the @ref CKey the KeyChooser should be set to
* @param parent the parent of the widget to create
*/
- static CKeyChooser * createInstance(const QList<const CSwordModuleInfo *> & modules,
+ static CKeyChooser * createInstance(const BtConstModuleList & modules,
BTHistory * history,
CSwordKey * key,
QWidget * parent);
@@ -72,7 +73,7 @@ public slots:
/**
Sets the module of this keychooser and refreshes the comboboxes
*/
- virtual void setModules(const QList<const CSwordModuleInfo *> & modules,
+ virtual void setModules(const BtConstModuleList & modules,
bool refresh = true) = 0;
/**
@@ -89,9 +90,9 @@ signals:
protected: /* Methods: */
- CKeyChooser(const QList<const CSwordModuleInfo *> & info,
+ CKeyChooser(const BtConstModuleList & info,
BTHistory * history,
- QWidget * parent = 0);
+ QWidget * parent = nullptr);
/**
Resets the appropriate font to for the modules.