Qt4/Qt5 neutral changes:

+ move meta types to own header to avoid double declaration
This commit is contained in:
wmayer
2016-12-12 15:22:34 +01:00
parent d2cb4e4af9
commit 07943d2a9a
7 changed files with 46 additions and 6 deletions

View File

@@ -76,8 +76,6 @@
using namespace PartGui;
Q_DECLARE_METATYPE(Base::Quantity)
FilletRadiusDelegate::FilletRadiusDelegate(QObject *parent) : QItemDelegate(parent)
{
}

View File

@@ -28,7 +28,7 @@
#include <Base/Tools.h>
#include <Gui/propertyeditor/PropertyItem.h>
#include <Gui/MetaTypes.h>
#include "../App/PropertyConstraintList.h"
#include "PropertyConstraintListItem.h"
@@ -36,7 +36,7 @@
using namespace SketcherGui;
using namespace Gui::PropertyEditor;
TYPESYSTEM_SOURCE(SketcherGui::PropertyConstraintListItem, Gui::PropertyEditor::PropertyItem);
TYPESYSTEM_SOURCE(SketcherGui::PropertyConstraintListItem, Gui::PropertyEditor::PropertyItem)
PropertyConstraintListItem::PropertyConstraintListItem()
{