Const correctness.

This commit is contained in:
Teo Mrnjavac 2015-04-15 12:20:01 +02:00
parent 997c61921e
commit 06b4443e80
2 changed files with 5 additions and 5 deletions

View File

@ -306,14 +306,14 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
bool
ChoicePage::isNextEnabled()
ChoicePage::isNextEnabled() const
{
return m_nextEnabled;
}
ChoicePage::Choice
ChoicePage::currentChoice()
ChoicePage::currentChoice() const
{
return m_choice;
}

View File

@ -1,6 +1,6 @@
/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
*
* Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -46,9 +46,9 @@ public:
void init( PartitionCoreModule* core, const OsproberEntryList& osproberEntries );
bool isNextEnabled();
bool isNextEnabled() const;
Choice currentChoice();
Choice currentChoice() const;
signals:
void nextStatusChanged( bool );