Commit aa25dc0f authored by Yuri Chornoivan's avatar Yuri Chornoivan

Get rid of gcc warnings

parent c08eeab0
......@@ -34,11 +34,11 @@ public:
ElementSaxParser();
~ElementSaxParser();
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();
......
......@@ -35,11 +35,11 @@ public:
IsotopeParser();
~IsotopeParser();
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();
......
......@@ -37,11 +37,11 @@ public:
*/
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();
......
......@@ -39,7 +39,7 @@ public:
/**
* @return the Type of the item
*/
int type() const {
int type() const override {
return Type;
}
......
......@@ -46,7 +46,7 @@ private:
QList<int> numOfElectrons;
protected slots:
virtual void paintEvent(QPaintEvent*);
virtual void paintEvent(QPaintEvent*) override;
};
#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