BLSURFPluginGUI_StdWidget( QWidget* = 0, Qt::WindowFlags = 0 );
~BLSURFPluginGUI_StdWidget();
-public slots:
+public Q_SLOTS:
void onPhysicalMeshChanged();
void onGeometricMeshChanged();
void onEditingFinished();
BLSURFPluginGUI_AdvWidget( QWidget* = 0, Qt::WindowFlags = 0 );
~BLSURFPluginGUI_AdvWidget();
-public slots:
+public Q_SLOTS:
void onChooseGMFFile();
};
-#endif
\ No newline at end of file
+#endif
QSet<QTreeWidgetItem *> selectedEntries;
QTreeWidgetItem* item;
- foreach( item, selectedItems ) {
+ Q_FOREACH( item, selectedItems ) {
QVariant value = item->data(ENF_VER_X_COLUMN, Qt::EditRole);
if (! value.isNull())
selectedVertices.append(item);
}
}
- foreach(item,selectedVertices) {
+ Q_FOREACH(item,selectedVertices) {
QTreeWidgetItem* parent = item->parent();
// MESSAGE("From geometry "<< parent->text(ENF_VER_NAME_COLUMN).toStdString()<<" remove " << item->text(ENF_VER_NAME_COLUMN).toStdString());
parent->removeChild(item);
}
}
- foreach(item,selectedEntries) {
+ Q_FOREACH(item,selectedEntries) {
// MESSAGE("Remove " << item->text(ENF_VER_NAME_COLUMN).toStdString());
delete item;
}
QList<QTreeWidgetItem *> selectedItems = myPeriodicityTreeWidget->selectedItems();
QTreeWidgetItem* item;
- foreach(item,selectedItems) {
+ Q_FOREACH(item,selectedItems) {
MESSAGE("Remove " << item->text(0).toStdString());
delete item;
}
QList<int> selectedRows;
QList<QTableWidgetItem*> selected = myAdvWidget->myOptionTable->selectedItems();
QTableWidgetItem* item;
- foreach( item, selected ) {
+ Q_FOREACH( item, selected ) {
int row = item->row();
if ( !selectedRows.contains( row ) ) {
selectedRows.append( row );