ACF $AcfVersion:0$
INameParam.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QString>
7
8// ACF includes
10
11
12namespace iprm
13{
14
15
66class INameParam: virtual public iser::ISerializable
67{
68public:
77 {
78 CF_RENAME = 0x15345e0
79 };
80
93 virtual const QString& GetName() const = 0;
94
114 virtual void SetName(const QString& name) = 0;
115
135 virtual bool IsNameFixed() const = 0;
136};
137
138
139} // namespace iprm
140
141
Interface for an object containing a name.
Definition INameParam.h:67
virtual const QString & GetName() const =0
Get the object name.
ChangeFlags
Data model change notification flags.
Definition INameParam.h:77
@ CF_RENAME
Name has been changed.
Definition INameParam.h:78
virtual bool IsNameFixed() const =0
Return true if the name is fixed (non-editable).
virtual void SetName(const QString &name)=0
Set the object name.
Common class for all classes which objects can be archived or restored from archive.
Contains interfaces and implementations of flexible parameter concept.