QString aGroup(theFeature->getGroup().c_str());
if (theFeature->getGroup().compare(PARAMETERS_GROUP) == 0)
- return createIndex(0, 0, (quintptr) ParamsFolder);
+ return createIndex(0, 0, (qint32) ParamsFolder);
if (theFeature->getGroup().compare(CONSTRUCTIONS_GROUP) == 0)
- return createIndex(1, 0, (quintptr) ConstructFolder);
+ return createIndex(1, 0, (qint32) ConstructFolder);
return QModelIndex();
}
QModelIndex XGUI_TopDataModel::findGroup(const std::string& theGroup) const
{
if (theGroup.compare(PARAMETERS_GROUP) == 0)
- return createIndex(0, 0, (quintptr) ParamsFolder);
+ return createIndex(0, 0, (qint32) ParamsFolder);
if (theGroup.compare(CONSTRUCTIONS_GROUP) == 0)
- return createIndex(1, 0, (quintptr) ConstructFolder);
+ return createIndex(1, 0, (qint32) ConstructFolder);
return QModelIndex();
}
QString aGroup(theFeature->getGroup().c_str());
if (theFeature->getGroup().compare(PARAMETERS_GROUP) == 0)
- return createIndex(0, 0, (quintptr) ParamsFolder);
+ return createIndex(0, 0, (qint32) ParamsFolder);
if (theFeature->getGroup().compare(CONSTRUCTIONS_GROUP) == 0)
- return createIndex(1, 0, (quintptr) ConstructFolder);
+ return createIndex(1, 0, (qint32) ConstructFolder);
return QModelIndex();
}
QModelIndex XGUI_PartDataModel::findGroup(const std::string& theGroup) const
{
if (theGroup.compare(PARAMETERS_GROUP) == 0)
- return createIndex(0, 0, (quintptr) ParamsFolder);
+ return createIndex(0, 0, (qint32) ParamsFolder);
if (theGroup.compare(CONSTRUCTIONS_GROUP) == 0)
- return createIndex(1, 0, (quintptr) ConstructFolder);
+ return createIndex(1, 0, (qint32) ConstructFolder);
return QModelIndex();
}