Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
This commit is contained in:
@@ -76,8 +76,6 @@
|
||||
|
||||
using namespace PartGui;
|
||||
|
||||
Q_DECLARE_METATYPE(Base::Quantity)
|
||||
|
||||
FilletRadiusDelegate::FilletRadiusDelegate(QObject *parent) : QItemDelegate(parent)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user