Modify removeRecursively to be able to delete a file.
Added getParentId func. Add the datatype for newly inserted items. Pass a double pointer instead of a pointer reference so the metadata_t can be optional. Make sure to delete the files after deleting an entry in the backup manager.
This commit is contained in:
@@ -34,7 +34,6 @@ public:
|
||||
~CMAObject();
|
||||
|
||||
void refreshPath();
|
||||
bool removeReferencedObject();
|
||||
void rename(const QString &name);
|
||||
void updateObjectSize(qint64 size);
|
||||
bool hasParent(const CMAObject *obj);
|
||||
@@ -61,9 +60,6 @@ protected:
|
||||
|
||||
private:
|
||||
void loadSfoMetadata(const QString &path);
|
||||
void loadMusicMetadata(const QString &path);
|
||||
void loadVideoMetadata(const QString &path);
|
||||
void loadPhotoMetadata(const QString &path);
|
||||
};
|
||||
|
||||
#endif // CMAOBJECT_H
|
||||
|
||||
Reference in New Issue
Block a user