IOutputPane: constify some member functions

Change-Id: I023b7f5976b30fc950d2dd5a76f749ef4720ac2f
Reviewed-on: http://codereview.qt-project.org/5618
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2011-09-27 13:47:06 +02:00
committed by Eike Ziller
parent 7d96ba70c9
commit 373d51a1ed
17 changed files with 101 additions and 122 deletions

View File

@@ -280,12 +280,12 @@ void AppOutputPane::visibilityChanged(bool /* b */)
{
}
bool AppOutputPane::hasFocus()
bool AppOutputPane::hasFocus() const
{
return m_tabWidget->currentWidget() && m_tabWidget->currentWidget()->hasFocus();
}
bool AppOutputPane::canFocus()
bool AppOutputPane::canFocus() const
{
return m_tabWidget->currentWidget();
}
@@ -571,12 +571,12 @@ bool AppOutputPane::isRunning() const
return false;
}
bool AppOutputPane::canNext()
bool AppOutputPane::canNext() const
{
return false;
}
bool AppOutputPane::canPrevious()
bool AppOutputPane::canPrevious() const
{
return false;
}
@@ -591,7 +591,7 @@ void AppOutputPane::goToPrev()
}
bool AppOutputPane::canNavigate()
bool AppOutputPane::canNavigate() const
{
return false;
}