summaryrefslogtreecommitdiff
path: root/src/frontend/cmdiarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/cmdiarea.h')
-rw-r--r--src/frontend/cmdiarea.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/frontend/cmdiarea.h b/src/frontend/cmdiarea.h
index 4b9d70e..6245d94 100644
--- a/src/frontend/cmdiarea.h
+++ b/src/frontend/cmdiarea.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.
*
**********/
@@ -18,6 +20,7 @@
class BibleTime;
class CSwordModuleInfo;
class CDisplayWindow;
+class QWebView;
/**
A custom MDI area widget.
@@ -51,7 +54,15 @@ class CMDIArea: public QMdiArea {
/**
Reimplementation of QMdiArea::addSubWindow().
*/
- QMdiSubWindow *addSubWindow(QWidget *widget, Qt::WindowFlags windowFlags = 0);
+ QMdiSubWindow * addSubWindow(QWidget * widget,
+ Qt::WindowFlags windowFlags = 0);
+
+ /**
+ Returns the BibleTime main window
+ */
+ BibleTime* bibleTimeWindow() {
+ return m_bibleTime;
+ }
/**
Resets the MDI arrangement mode and arranges the windows.
@@ -118,6 +129,12 @@ class CMDIArea: public QMdiArea {
*/
void myTileHorizontal();
+ void findNextTextInActiveWindow(const QString& text, bool caseSensitive);
+
+ void findPreviousTextInActiveWindow(const QString& text, bool caseSensitive);
+
+ void highlightTextInActiveWindow(const QString& text, bool caseSensitive);
+
signals:
/**
@@ -143,6 +160,8 @@ class CMDIArea: public QMdiArea {
void fixSystemMenu(QMdiSubWindow* subWindow);
+ QWebView* getActiveWebView();
+
protected slots:
/**