App: Modernise ctors dtors defs etc
This commit is contained in:
@@ -45,9 +45,9 @@ class AppExport PropertyFile : public PropertyString
|
||||
|
||||
public:
|
||||
PropertyFile();
|
||||
virtual ~PropertyFile();
|
||||
~PropertyFile() override;
|
||||
|
||||
virtual const char* getEditorName() const
|
||||
const char* getEditorName() const override
|
||||
{ return "Gui::PropertyEditor::PropertyFileItem"; }
|
||||
|
||||
virtual void setFilter(const std::string filter);
|
||||
@@ -77,27 +77,27 @@ class AppExport PropertyFileIncluded : public Property
|
||||
|
||||
public:
|
||||
PropertyFileIncluded();
|
||||
virtual ~PropertyFileIncluded();
|
||||
~PropertyFileIncluded() override;
|
||||
|
||||
void setValue(const char* sFile, const char* sName=nullptr);
|
||||
const char* getValue() const;
|
||||
|
||||
virtual const char* getEditorName() const
|
||||
const char* getEditorName() const override
|
||||
{ return "Gui::PropertyEditor::PropertyTransientFileItem"; }
|
||||
virtual PyObject *getPyObject();
|
||||
virtual void setPyObject(PyObject *);
|
||||
PyObject *getPyObject() override;
|
||||
void setPyObject(PyObject *) override;
|
||||
|
||||
virtual void Save (Base::Writer &writer) const;
|
||||
virtual void Restore(Base::XMLReader &reader);
|
||||
void Save (Base::Writer &writer) const override;
|
||||
void Restore(Base::XMLReader &reader) override;
|
||||
|
||||
virtual void SaveDocFile (Base::Writer &writer) const;
|
||||
virtual void RestoreDocFile(Base::Reader &reader);
|
||||
void SaveDocFile (Base::Writer &writer) const override;
|
||||
void RestoreDocFile(Base::Reader &reader) override;
|
||||
|
||||
virtual Property *Copy() const;
|
||||
virtual void Paste(const Property &from);
|
||||
virtual unsigned int getMemSize () const;
|
||||
Property *Copy() const override;
|
||||
void Paste(const Property &from) override;
|
||||
unsigned int getMemSize () const override;
|
||||
|
||||
virtual bool isSame(const Property &other) const {
|
||||
bool isSame(const Property &other) const override {
|
||||
if (&other == this)
|
||||
return true;
|
||||
return getTypeId() == other.getTypeId()
|
||||
@@ -120,7 +120,7 @@ protected:
|
||||
// get the transient path if the property is in a DocumentObject
|
||||
std::string getDocTransientPath() const;
|
||||
std::string getUniqueFileName(const std::string&, const std::string&) const;
|
||||
void aboutToSetValue();
|
||||
void aboutToSetValue() override;
|
||||
|
||||
protected:
|
||||
mutable std::string _cValue;
|
||||
|
||||
Reference in New Issue
Block a user