Remove unused code.

This commit is contained in:
kh1
2010-03-24 15:03:49 +01:00
parent 8f51d76c23
commit 4469564f2d
2 changed files with 0 additions and 14 deletions

View File

@@ -300,13 +300,6 @@ QString CentralWidget::currentTitle() const
return QString(); return QString();
} }
void CentralWidget::copySelection()
{
HelpViewer* viewer = currentHelpViewer();
if (viewer)
viewer->copy();
}
void CentralWidget::initPrinter() void CentralWidget::initPrinter()
{ {
#ifndef QT_NO_PRINTER #ifndef QT_NO_PRINTER
@@ -370,11 +363,6 @@ void CentralWidget::pageSetup()
#endif #endif
} }
bool CentralWidget::isHomeAvailable() const
{
return currentHelpViewer() ? true : false;
}
void CentralWidget::home() void CentralWidget::home()
{ {
HelpViewer* viewer = currentHelpViewer(); HelpViewer* viewer = currentHelpViewer();

View File

@@ -66,7 +66,6 @@ public:
bool hasSelection() const; bool hasSelection() const;
QUrl currentSource() const; QUrl currentSource() const;
QString currentTitle() const; QString currentTitle() const;
bool isHomeAvailable() const;
bool isForwardAvailable() const; bool isForwardAvailable() const;
bool isBackwardAvailable() const; bool isBackwardAvailable() const;
QList<QAction*> globalActions() const; QList<QAction*> globalActions() const;
@@ -86,7 +85,6 @@ public slots:
void nextPage(); void nextPage();
void resetZoom(); void resetZoom();
void previousPage(); void previousPage();
void copySelection();
void print(); void print();
void pageSetup(); void pageSetup();
void printPreview(); void printPreview();