From 4469564f2dae1cc710b62fc44ee26ff3c0ede193 Mon Sep 17 00:00:00 2001 From: kh1 <qt-info@nokia.com> Date: Wed, 24 Mar 2010 15:03:49 +0100 Subject: [PATCH] Remove unused code. --- src/plugins/help/centralwidget.cpp | 12 ------------ src/plugins/help/centralwidget.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/plugins/help/centralwidget.cpp b/src/plugins/help/centralwidget.cpp index 32cecdac707..eedc7f36551 100644 --- a/src/plugins/help/centralwidget.cpp +++ b/src/plugins/help/centralwidget.cpp @@ -300,13 +300,6 @@ QString CentralWidget::currentTitle() const return QString(); } -void CentralWidget::copySelection() -{ - HelpViewer* viewer = currentHelpViewer(); - if (viewer) - viewer->copy(); -} - void CentralWidget::initPrinter() { #ifndef QT_NO_PRINTER @@ -370,11 +363,6 @@ void CentralWidget::pageSetup() #endif } -bool CentralWidget::isHomeAvailable() const -{ - return currentHelpViewer() ? true : false; -} - void CentralWidget::home() { HelpViewer* viewer = currentHelpViewer(); diff --git a/src/plugins/help/centralwidget.h b/src/plugins/help/centralwidget.h index dce556a5c1a..271d8d96168 100644 --- a/src/plugins/help/centralwidget.h +++ b/src/plugins/help/centralwidget.h @@ -66,7 +66,6 @@ public: bool hasSelection() const; QUrl currentSource() const; QString currentTitle() const; - bool isHomeAvailable() const; bool isForwardAvailable() const; bool isBackwardAvailable() const; QList<QAction*> globalActions() const; @@ -86,7 +85,6 @@ public slots: void nextPage(); void resetZoom(); void previousPage(); - void copySelection(); void print(); void pageSetup(); void printPreview(); -- GitLab