diff options
Diffstat (limited to 'src/frontend/display/bthtmlreaddisplay.h')
-rw-r--r-- | src/frontend/display/bthtmlreaddisplay.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/frontend/display/bthtmlreaddisplay.h b/src/frontend/display/bthtmlreaddisplay.h index f1e1f5c..0a703d3 100644 --- a/src/frontend/display/bthtmlreaddisplay.h +++ b/src/frontend/display/bthtmlreaddisplay.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. * **********/ @@ -23,11 +25,6 @@ class BtHtmlReadDisplayView; -class QScrollArea; -class QWidget; -class QString; -class BtHtmlReadDisplay; -class QEvent; /** The implementation for the HTML read display. * @author The BibleTime team @@ -38,6 +35,10 @@ class BtHtmlReadDisplay : public QWebPage, public CReadDisplay { friend class BtHtmlReadDisplayView; public: + + BtHtmlReadDisplay( CReadWindow* readWindow, QWidget* parent = 0 ); + virtual ~BtHtmlReadDisplay(); + //reimplemented functions from CDisplay // Returns the right text part in the specified format. virtual const QString text( const CDisplay::TextType format = CDisplay::HTMLText, @@ -68,9 +69,7 @@ class BtHtmlReadDisplay : public QWebPage, public CReadDisplay { void completed(); protected: - friend class CDisplay; - BtHtmlReadDisplay( CReadWindow* readWindow, QWidget* parent = 0 ); - virtual ~BtHtmlReadDisplay(); + void slotGoToAnchor(const QString& anchor); struct DNDData { bool mousePressed; |