more work on project management
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef IMPORT_H
|
||||
#define IMPORT_H
|
||||
|
||||
#include "project/projectviewmodel.h"
|
||||
#include "project/item/folder/folder.h"
|
||||
#include "task/task.h"
|
||||
|
||||
@@ -36,11 +37,14 @@ class ImportTask : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ImportTask(Folder *parent_, const QStringList& urls);
|
||||
ImportTask(ProjectViewModel* model, Folder *parent, const QStringList& urls);
|
||||
|
||||
virtual bool Action() override;
|
||||
|
||||
private:
|
||||
void Import(const QStringList& files, Folder* folder, QUndoCommand* parent_command);
|
||||
|
||||
ProjectViewModel* model_;
|
||||
QStringList urls_;
|
||||
Folder* parent_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user