Commit aa25dc0f authored by Yuri Chornoivan's avatar Yuri Chornoivan

Get rid of gcc warnings

parent c08eeab0
...@@ -34,11 +34,11 @@ public: ...@@ -34,11 +34,11 @@ public:
ElementSaxParser(); ElementSaxParser();
~ElementSaxParser(); ~ElementSaxParser();
bool startElement(const QString&, const QString &localName, const QString&, bool startElement(const QString&, const QString &localName, const QString&,
const QXmlAttributes &attrs); const QXmlAttributes &attrs) override;
bool endElement(const QString& namespaceURI, const QString &localName, const QString& qName); bool endElement(const QString& namespaceURI, const QString &localName, const QString& qName) override;
bool characters(const QString &ch); bool characters(const QString &ch) override;
QList<Element*> getElements(); QList<Element*> getElements();
......
...@@ -35,11 +35,11 @@ public: ...@@ -35,11 +35,11 @@ public:
IsotopeParser(); IsotopeParser();
~IsotopeParser(); ~IsotopeParser();
bool startElement(const QString &, const QString &localName, const QString &, bool startElement(const QString &, const QString &localName, const QString &,
const QXmlAttributes &attrs); const QXmlAttributes &attrs) override;
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName); bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName) override;
bool characters(const QString &ch); bool characters(const QString &ch) override;
QList<Isotope*> getIsotopes(); QList<Isotope*> getIsotopes();
......
...@@ -37,11 +37,11 @@ public: ...@@ -37,11 +37,11 @@ public:
*/ */
SpectrumParser(); SpectrumParser();
~SpectrumParser(); ~SpectrumParser();
bool startElement( const QString&, const QString &localName, const QString&, const QXmlAttributes &attrs ); bool startElement( const QString&, const QString &localName, const QString&, const QXmlAttributes &attrs ) override;
bool endElement( const QString& namespaceURI, const QString &localName, const QString& qName ); bool endElement( const QString& namespaceURI, const QString &localName, const QString& qName ) override;
bool characters(const QString &ch); bool characters(const QString &ch) override;
QList<Spectrum*> getSpectrums(); QList<Spectrum*> getSpectrums();
......
...@@ -39,7 +39,7 @@ public: ...@@ -39,7 +39,7 @@ public:
/** /**
* @return the Type of the item * @return the Type of the item
*/ */
int type() const { int type() const override {
return Type; return Type;
} }
......
...@@ -46,7 +46,7 @@ private: ...@@ -46,7 +46,7 @@ private:
QList<int> numOfElectrons; QList<int> numOfElectrons;
protected slots: protected slots:
virtual void paintEvent(QPaintEvent*); virtual void paintEvent(QPaintEvent*) override;
}; };
#endif // ORBITSWIDGET_H #endif // ORBITSWIDGET_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment