From 78802f1943be1b8169b1d6ae42d1cf0bc000ccc2 Mon Sep 17 00:00:00 2001 From: imn Date: Wed, 17 Sep 2014 13:41:13 +0400 Subject: [PATCH] Removed qt3 support and replaced qt macros --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 2 +- src/GUI/NETGENPluginGUI_HypothesisCreator.h | 2 +- src/GUI/NETGENPluginGUI_SimpleCreator.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.39.2