(myEnfVertexWdg->NbObjects() == 0 && !myXCoord->GetString().isEmpty()
&& !myYCoord->GetString().isEmpty()
&& !myZCoord->GetString().isEmpty())));
- emit vertexDefined(enfVertexIsDefined);
+ Q_EMIT vertexDefined(enfVertexIsDefined);
}
/**
**/
void HYBRIDPluginGUI_HypothesisCreator::checkEnfMeshIsDefined()
{
- emit enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
+ Q_EMIT enfMeshDefined( myEnfVertexWdg->NbObjects() != 0);
}
/**
QList<QTableWidgetItem *> selectedItems = myEnforcedMeshTableWidget->selectedItems();
QTableWidgetItem* item;
int row;
- foreach( item, selectedItems ) {
+ Q_FOREACH( item, selectedItems ) {
row = item->row();
if (!selectedRows.contains( row ) )
selectedRows.append(row);
QList<QTableWidgetItem *> selectedItems = myEnforcedTableWidget->selectedItems();
QTableWidgetItem* item;
int row;
- foreach( item, selectedItems ) {
+ Q_FOREACH( item, selectedItems ) {
row = item->row();
if (!selectedRows.contains( row ) )
selectedRows.append(row);
virtual QPixmap icon() const;
virtual QString type() const;
-protected slots:
+protected Q_SLOTS:
void onToMeshHoles(bool);
void onDirBtnClicked();
void updateWidgets();
//void synchronizeEnforcedMesh();
void checkEnfMeshIsDefined();
-signals:
+Q_SIGNALS:
void vertexDefined(bool);
void enfMeshDefined(bool);