Bibletime – a bible study tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ccommentaryreadwindow.h 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*********
  2. *
  3. * This file is part of BibleTime's source code, http://www.bibletime.info/.
  4. *
  5. * Copyright 1999-2006 by the BibleTime developers.
  6. * The BibleTime source code is licensed under the GNU General Public License version 2.0.
  7. *
  8. **********/
  9. #ifndef CCOMMENTARYREADWINDOW_H
  10. #define CCOMMENTARYREADWINDOW_H
  11. //BibleTime includes
  12. #include "cbiblereadwindow.h"
  13. //TQt includes
  14. #include <tqwidget.h>
  15. /**
  16. *@author The BibleTime team
  17. */
  18. class CCommentaryReadWindow : public CLexiconReadWindow {
  19. Q_OBJECT
  20. public:
  21. /**
  22. * Reimplementation.
  23. */
  24. static void insertKeyboardActions( TDEActionCollection* const a );
  25. CCommentaryReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
  26. /**
  27. * Store the settings of this window in the given CProfileWindow object.
  28. */
  29. virtual void storeProfileSettings( Profile::CProfileWindow* profileWindow );
  30. /**
  31. * Store the settings of this window in the given profile window.
  32. */
  33. virtual void applyProfileSettings( Profile::CProfileWindow* profileWindow );
  34. virtual const bool syncAllowed() const;
  35. public slots: // Public slots
  36. void nextBook();
  37. void previousBook();
  38. void nextChapter();
  39. void previousChapter();
  40. void nextVerse();
  41. void previousVerse();
  42. /**
  43. * Reimplementation to handle the keychooser refresh.
  44. */
  45. virtual void reload();
  46. protected:
  47. virtual void initActions();
  48. virtual void initToolbars();
  49. private:
  50. TDEToggleAction* m_syncButton;
  51. CSwordVerseKey* verseKey();
  52. protected:
  53. virtual void setupPopupMenu();
  54. };
  55. #endif