summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/help/helpviewer.h1
-rw-r--r--src/plugins/help/helpviewer_qtb.cpp4
-rw-r--r--src/plugins/help/helpviewer_qwv.cpp5
-rw-r--r--src/plugins/help/openpagesmodel.cpp1
4 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/help/helpviewer.h b/src/plugins/help/helpviewer.h
index 54a9eda171..d39a289222 100644
--- a/src/plugins/help/helpviewer.h
+++ b/src/plugins/help/helpviewer.h
@@ -100,6 +100,7 @@ public:
public slots:
void copy();
void home();
+ void stop();
void forward();
void backward();
diff --git a/src/plugins/help/helpviewer_qtb.cpp b/src/plugins/help/helpviewer_qtb.cpp
index 7420eb92b6..48058a9fce 100644
--- a/src/plugins/help/helpviewer_qtb.cpp
+++ b/src/plugins/help/helpviewer_qtb.cpp
@@ -249,6 +249,10 @@ void HelpViewer::copy()
QTextBrowser::copy();
}
+void HelpViewer::stop()
+{
+}
+
void HelpViewer::forward()
{
QTextBrowser::forward();
diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp
index 3e277a441b..f93536eda8 100644
--- a/src/plugins/help/helpviewer_qwv.cpp
+++ b/src/plugins/help/helpviewer_qwv.cpp
@@ -492,6 +492,11 @@ void HelpViewer::copy()
triggerPageAction(QWebPage::Copy);
}
+void HelpViewer::stop()
+{
+ triggerPageAction(QWebPage::Stop);
+}
+
void HelpViewer::forward()
{
QWebView::forward();
diff --git a/src/plugins/help/openpagesmodel.cpp b/src/plugins/help/openpagesmodel.cpp
index 669645278b..d7f56bd7ba 100644
--- a/src/plugins/help/openpagesmodel.cpp
+++ b/src/plugins/help/openpagesmodel.cpp
@@ -87,6 +87,7 @@ void OpenPagesModel::removePage(int index)
Q_ASSERT(index >= 0 && index < rowCount());
beginRemoveRows(QModelIndex(), index, index);
HelpViewer *page = m_pages.at(index);
+ page->stop();
m_pages.removeAt(index);
endRemoveRows();
page->deleteLater();