diff --git a/Polyhedron/demo/Polyhedron/Plugins/AABB_tree/Cut_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/AABB_tree/Cut_plugin.cpp index 7cdc88c9a74..d1472428108 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/AABB_tree/Cut_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/AABB_tree/Cut_plugin.cpp @@ -799,7 +799,7 @@ public: ~Polyhedron_demo_cut_plugin(); - bool applicable(QAction*) const { + bool applicable(QAction*) const Q_DECL_OVERRIDE{ // returns true if one surface_mesh is in the entries for (int i=0; i< scene->numberOfEntries(); ++i) { @@ -809,30 +809,31 @@ public: return false; } - QString name() const + QString name() const Q_DECL_OVERRIDE { return "cut-plugin"; } - QString nameFilters() const + QString nameFilters() const Q_DECL_OVERRIDE { return "Segment soup file (*.polylines.txt *.cgal)"; } - bool canLoad(QFileInfo) const + bool canLoad(QFileInfo) const Q_DECL_OVERRIDE { return false; } - QList load(QFileInfo fileinfo, bool& ok, bool add_to_scene=true) + QList load(QFileInfo fileinfo, bool& ok, bool add_to_scene=true) Q_DECL_OVERRIDE + { ok = false; return QList(); } - bool canSave(const CGAL::Three::Scene_item* item) + bool canSave(const CGAL::Three::Scene_item* item) Q_DECL_OVERRIDE { // This plugin supports edges items bool b = qobject_cast(item) != 0; @@ -840,7 +841,7 @@ public: } - bool save(QFileInfo fileinfo,QList& items) + bool save(QFileInfo fileinfo,QList& items) Q_DECL_OVERRIDE { Scene_item* item = items.front(); // This plugin supports edges items @@ -859,10 +860,10 @@ public: } void init(QMainWindow* mainWindow, CGAL::Three::Scene_interface* scene_interface, - Messages_interface* m); - QList actions() const; + Messages_interface* m) Q_DECL_OVERRIDE; + QList actions() const Q_DECL_OVERRIDE; - bool eventFilter(QObject *, QEvent *event) + bool eventFilter(QObject *, QEvent *event) Q_DECL_OVERRIDE { if(!plane_item) return false;