diff --git a/GUI/Model/Sample/CompoundItem.h b/GUI/Model/Sample/CompoundItem.h index a854b6c98bb8d6f429bba939bc964455bb646252..91321d6116ac2664fc5474f610dd269b81ede1e8 100644 --- a/GUI/Model/Sample/CompoundItem.h +++ b/GUI/Model/Sample/CompoundItem.h @@ -26,8 +26,8 @@ class CompoundItem : public ItemWithParticles { public: CompoundItem(const MaterialModel* materials); void serialize(Streamer& s) override; - void writeTo(QXmlStreamWriter* w) const; - void readFrom(QXmlStreamReader* r); + void writeTo(QXmlStreamWriter* w) const override; + void readFrom(QXmlStreamReader* r) override; std::unique_ptr<Compound> createCompound() const; diff --git a/GUI/Model/Sample/CoreAndShellItem.h b/GUI/Model/Sample/CoreAndShellItem.h index 16f231a7f3ce58b34c3994783cb55dd25d6bda65..d9fb0ec05d3cad5dbdb3cf3f369875f6fda000ad 100644 --- a/GUI/Model/Sample/CoreAndShellItem.h +++ b/GUI/Model/Sample/CoreAndShellItem.h @@ -26,8 +26,8 @@ class CoreAndShellItem : public ItemWithParticles { public: CoreAndShellItem(const MaterialModel* materials); void serialize(Streamer& s) override; - void writeTo(QXmlStreamWriter* w) const; - void readFrom(QXmlStreamReader* r); + void writeTo(QXmlStreamWriter* w) const override; + void readFrom(QXmlStreamReader* r) override; std::unique_ptr<CoreAndShell> createCoreAndShell() const; diff --git a/GUI/Model/Sample/MesocrystalItem.h b/GUI/Model/Sample/MesocrystalItem.h index 10f2e223a74a5a1a1852cd46a5b7a525a04d6d98..e9136599422a5166f22aa3b4746e4464d006da7c 100644 --- a/GUI/Model/Sample/MesocrystalItem.h +++ b/GUI/Model/Sample/MesocrystalItem.h @@ -33,8 +33,8 @@ class MesocrystalItem : public ItemWithParticles { public: explicit MesocrystalItem(const MaterialModel* materials); void serialize(Streamer& s) override; - void writeTo(QXmlStreamWriter* w) const; - void readFrom(QXmlStreamReader* r); + void writeTo(QXmlStreamWriter* w) const override; + void readFrom(QXmlStreamReader* r) override; std::unique_ptr<Mesocrystal> createMesocrystal() const; diff --git a/GUI/Model/Sample/ParticleItem.h b/GUI/Model/Sample/ParticleItem.h index dbcd3544d1ec3267bdbecb2369af83699d3e6e6e..a1b95d72d95461316d3c4c0ce0ca32ed4e53b7ba 100644 --- a/GUI/Model/Sample/ParticleItem.h +++ b/GUI/Model/Sample/ParticleItem.h @@ -28,8 +28,8 @@ class ParticleItem : public ItemWithMaterial, public ItemWithParticles { public: ParticleItem(const MaterialModel* materials); void serialize(Streamer& s) override; - void writeTo(QXmlStreamWriter* w) const; - void readFrom(QXmlStreamReader* r); + void writeTo(QXmlStreamWriter* w) const override; + void readFrom(QXmlStreamReader* r) override; std::unique_ptr<Particle> createParticle() const;