summaryrefslogtreecommitdiff
path: root/src/frontend/displaywindow/cbiblereadwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/displaywindow/cbiblereadwindow.h')
-rw-r--r--src/frontend/displaywindow/cbiblereadwindow.h44
1 files changed, 20 insertions, 24 deletions
diff --git a/src/frontend/displaywindow/cbiblereadwindow.h b/src/frontend/displaywindow/cbiblereadwindow.h
index 198c4fd..99c98fb 100644
--- a/src/frontend/displaywindow/cbiblereadwindow.h
+++ b/src/frontend/displaywindow/cbiblereadwindow.h
@@ -1,8 +1,10 @@
/*********
*
+* In the name of the Father, and of the Son, and of the Holy Spirit.
+*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2011 by the BibleTime developers.
+* Copyright 1999-2014 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
@@ -22,28 +24,21 @@ class QEvent;
class QMenu;
class QObject;
-/** The read display window for Bibles.
- *@author The BibleTime team
- */
-class CBibleReadWindow : public CLexiconReadWindow {
+class CBibleReadWindow: public CLexiconReadWindow {
+
Q_OBJECT
- public:
- CBibleReadWindow(QList<CSwordModuleInfo*> modules, CMDIArea* parent);
- virtual ~CBibleReadWindow();
- /**
- * Store the settings of this window in the given CProfileWindow object.
- */
- virtual void storeProfileSettings( Profile::CProfileWindow* const settings );
- /**
- * Store the settings of this window in the given profile window.
- */
- virtual void applyProfileSettings( Profile::CProfileWindow* const settings );
- /**
- * Reimplementation.
- */
+
+ public: /* Methods: */
+
+ inline CBibleReadWindow(const QList<CSwordModuleInfo*> & modules, CMDIArea* parent)
+ : CLexiconReadWindow(modules, parent) {}
+
+ virtual void storeProfileSettings(const QString & windowGroup);
+ virtual void applyProfileSettings(const QString & windowGroup);
static void insertKeyboardActions( BtActionCollection* const a );
- protected:
+ protected: /* Methods: */
+
virtual void initActions();
virtual void initToolbars();
virtual void initConnections();
@@ -97,6 +92,7 @@ class CBibleReadWindow : public CLexiconReadWindow {
public slots:
+
void nextBook();
void previousBook();
void nextChapter();
@@ -108,7 +104,8 @@ class CBibleReadWindow : public CLexiconReadWindow {
*/
virtual void reload(CSwordBackend::SetupChangedReason reason);
- protected slots: // Protected slots
+ protected slots:
+
/**
* Copies the current chapter into the clipboard.
*/
@@ -124,14 +121,13 @@ class CBibleReadWindow : public CLexiconReadWindow {
virtual void lookupSwordKey( CSwordKey* newKey );
void syncWindows();
- private:
+ private: /* Methods: */
/**
* Wrapper around key() to return the right type of key.
*/
CSwordVerseKey* verseKey();
- // CTransliterationButton* m_transliterationButton;
};
-#endif
+#endif /* CBIBLEREADWINDOW_H */