72 virtual void save(
int _id , QString _filename ) {}
virtual void save(int _id, QString _filename)
Save object to a file.
Interface for all plugins which want to Load or Save files and create Objects.
virtual void objectDeleted(int _id)
An object was deleted.
virtual void addEmptyObject(DataType _type, int &_id)
virtual void getAllFileFilters(QStringList &_filters)
Get all file filters that are registered.
virtual void deleteObject(int _id)
Delete an object This signal can be called from any thread. .
virtual ~LoadSaveInterface()
Destructor.
virtual void fileOpened(int _id)
A file has been opened.
virtual void copyObject(int _oldId, int &_newId)
virtual void addedEmptyObject(int _id)
An empty object has been added.
virtual void deleteAllObjects()
Delete all Objects.
virtual void emptyObjectAdded(int _id)
DEPRECATED HERE (Moved to Type Interface)! Emit this signal if an empty object has been created...
virtual void load(QString _filename, DataType _type, int &_id)
Load object from file with a specific DataType.