if (val)
isDefined = ! smpVertexExists(myXCoord->text().toDouble(),myYCoord->text().toDouble(),myZCoord->text().toDouble());
- emit vertexDefined(isDefined);
+ Q_EMIT vertexDefined(isDefined);
return isDefined;
}
QList<QModelIndex> selectedIndex = myEnforcedTableView->selectionModel()->selectedIndexes();
int row;
QModelIndex index;
- foreach( index, selectedIndex ) {
+ Q_FOREACH( index, selectedIndex ) {
row = index.row();
if ( !selectedRows.contains( row ) )
selectedRows.append( row );
virtual QPixmap icon() const;
virtual QString type() const;
-protected slots:
+protected Q_SLOTS:
void onDirBtnClicked();
void updateWidgets();
void onVertexBtnClicked();
void onRemoveVertexBtnClicked();
bool checkVertexIsDefined();
-signals:
+Q_SIGNALS:
void vertexDefined(bool);
private: