FilePathObject* getFilePathObject(const QModelIndex &index);
virtual bool setScanned(int id);
+signals:
+ void dataChanged();
+
+
protected:
virtual void refresh();
virtual QString constructSelect(QString where = "") const;
static const QString FILE_TYPE_EXTENSION_SEPARATOR;
virtual void refresh();
+signals:
+ void dataChanged();
+
protected:
virtual QString constructSelect(QString where = "") const;
virtual bool setPlatform(int id, int platformId);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(objectList, SIGNAL(clicked(const QModelIndex &)),
this, SLOT(listObjectClicked(const QModelIndex &)));
+ connect(model, SIGNAL(dataChanged()), this, SLOT(onDataChanged()));
connect(editButton, SIGNAL(clicked()), this, SLOT(editButtonClicked()));
connect(addButton, SIGNAL(clicked()), this, SLOT(addButtonClicked()));
connect(deleteButton, SIGNAL(clicked()), this, SLOT(deleteButtonClicked()));
return true;
}
-
+void EmuFrontEditView::onDataChanged()
+{
+ qDebug() << "Data changed";
+}