[nostalgia/studio] Make Editor's itemName and exportable const
This commit is contained in:
parent
4011773374
commit
a81582d3cd
@ -39,7 +39,7 @@ void Editor::setExportable(bool exportable) {
|
||||
emit exportableChanged(exportable);
|
||||
}
|
||||
|
||||
bool Editor::exportable() {
|
||||
bool Editor::exportable() const {
|
||||
return m_exportable;
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ class NOSTALGIASTUDIO_EXPORT Editor: public QWidget {
|
||||
/**
|
||||
* Returns the name of item being edited.
|
||||
*/
|
||||
virtual QString itemName() = 0;
|
||||
virtual QString itemName() const = 0;
|
||||
|
||||
virtual void exportFile();
|
||||
|
||||
@ -55,7 +55,7 @@ class NOSTALGIASTUDIO_EXPORT Editor: public QWidget {
|
||||
|
||||
void setExportable(bool);
|
||||
|
||||
bool exportable();
|
||||
bool exportable() const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user