diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:58:34 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:58:34 -0400 |
commit | 1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (patch) | |
tree | 1ad46980fdca402062502b20b7e16468b89393f8 /src/frontend/displaywindow/cbiblereadwindow.h | |
parent | 579657c8cb4ecd8a313221e70bdbbc7267f20286 (diff) |
Imported Upstream version 2.10.1
Diffstat (limited to 'src/frontend/displaywindow/cbiblereadwindow.h')
-rw-r--r-- | src/frontend/displaywindow/cbiblereadwindow.h | 44 |
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 */ |