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