forked from qt-creator/qt-creator
Remove unused code.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user