From: imn Date: Wed, 17 Sep 2014 09:41:13 +0000 (+0400) Subject: Removed qt3 support and replaced qt macros X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78802f1943be1b8169b1d6ae42d1cf0bc000ccc2;p=plugins%2Fnetgenplugin.git Removed qt3 support and replaced qt macros --- 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: