mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 13:40:52 +01:00
Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -37,7 +37,7 @@ class StyleEditor : public ElementItemEditor
|
||||
// constructors, destructor
|
||||
public:
|
||||
StyleEditor(QETElementEditor *, CustomElementGraphicPart * = nullptr, QWidget * = nullptr);
|
||||
virtual ~StyleEditor();
|
||||
~StyleEditor() override;
|
||||
|
||||
private:
|
||||
StyleEditor(const StyleEditor &);
|
||||
@@ -53,14 +53,14 @@ class StyleEditor : public ElementItemEditor
|
||||
|
||||
// methods
|
||||
public:
|
||||
virtual bool setPart(CustomElementPart *);
|
||||
virtual bool setParts(QList<CustomElementPart *>);
|
||||
virtual CustomElementPart *currentPart() const;
|
||||
bool setPart(CustomElementPart *) override;
|
||||
bool setParts(QList<CustomElementPart *>) override;
|
||||
CustomElementPart *currentPart() const override;
|
||||
|
||||
static bool isStyleEditable (QList <CustomElementPart *> cep_list);
|
||||
|
||||
public slots:
|
||||
void updateForm();
|
||||
void updateForm() override;
|
||||
void updatePartAntialiasing();
|
||||
void updatePartColor();
|
||||
void updatePartLineStyle();
|
||||
|
||||
Reference in New Issue
Block a user