diff options
Diffstat (limited to 'src/frontend/displaywindow/chtmlwritewindow.h')
-rw-r--r-- | src/frontend/displaywindow/chtmlwritewindow.h | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/src/frontend/displaywindow/chtmlwritewindow.h b/src/frontend/displaywindow/chtmlwritewindow.h index 8aec012..2d2eee6 100644 --- a/src/frontend/displaywindow/chtmlwritewindow.h +++ b/src/frontend/displaywindow/chtmlwritewindow.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. * **********/ @@ -13,9 +15,7 @@ #include "frontend/displaywindow/cplainwritewindow.h" -class QAction; - -/** +/** * The write window class which offers a WYSIWYG text editor for creating a personal commentary. * * Inherits CPlainWriteWindow. @@ -25,17 +25,10 @@ class QAction; class CHTMLWriteWindow : public CPlainWriteWindow { Q_OBJECT public: - CHTMLWriteWindow(QList<CSwordModuleInfo*> modules, CMDIArea* parent); - - /** - * Store the settings of this window in the given CProfileWindow object. - */ - virtual void storeProfileSettings( Profile::CProfileWindow* ); + CHTMLWriteWindow(const QList<CSwordModuleInfo *> & modules, CMDIArea * parent); - /** - * Store the settings of this window in the given profile window. - */ - virtual void applyProfileSettings( Profile::CProfileWindow* ); + virtual void storeProfileSettings(const QString & windowGroup); + virtual void applyProfileSettings(const QString & windowGroup); /** * Returns true if the sync toolbar is enabled. @@ -49,18 +42,12 @@ class CHTMLWriteWindow : public CPlainWriteWindow { virtual void initView(); virtual void initConnections(); virtual void initToolbars(); - virtual void initActions(); - - /** - * Insert the keyboard accelerators of this window into the given KAccel object. - */ - static void insertKeyboardActions( BtActionCollection* const a ); - virtual CWriteWindow::WriteWindowType writeWindowType() { - return CWriteWindow::HTMLWindow; + virtual WriteWindowType writeWindowType() const { + return HTMLWindow; } - /** - * Called to add actions to mainWindow toolbars + /** + * Called to add actions to mainWindow toolbars */ virtual void setupMainWindowToolBars(); @@ -77,6 +64,7 @@ class CHTMLWriteWindow : public CPlainWriteWindow { * Saves the text for the current key. Directly writes the changed text into the module. */ virtual void saveCurrentText( const QString& ); + }; #endif |