diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index 4eb3402..1e1aad7 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -699,7 +699,7 @@ void NETGENPluginGUI_HypothesisCreator::onRemoveLocalSizeOnShape() QList selected = myLocalSizeTable->selectedItems(); QTableWidgetItem* item; int row; - foreach(item, selected) { + Q_FOREACH(item, selected) { row = item->row(); if (!selectedRows.contains(row)) selectedRows.append( row ); diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.h b/src/GUI/NETGENPluginGUI_HypothesisCreator.h index 3409cf4..0c65667 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.h +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.h @@ -74,7 +74,7 @@ protected: virtual QPixmap icon() const; virtual QString type() const; -protected slots: +protected Q_SLOTS: virtual void onFinenessChanged(); virtual void onSurfaceCurvatureChanged(); virtual void onAddLocalSizeOnVertex(); diff --git a/src/GUI/NETGENPluginGUI_SimpleCreator.h b/src/GUI/NETGENPluginGUI_SimpleCreator.h index 743901c..0483a8c 100644 --- a/src/GUI/NETGENPluginGUI_SimpleCreator.h +++ b/src/GUI/NETGENPluginGUI_SimpleCreator.h @@ -55,7 +55,7 @@ protected: virtual QPixmap icon() const; virtual QString type() const; -protected slots: +protected Q_SLOTS: void onValueChanged(); private: