filemanager/dialogs/createfolderdialog.h
2021-03-31 10:40:38 +08:00

22 lines
387 B
C++

#ifndef CREATEFOLDERDIALOG_H
#define CREATEFOLDERDIALOG_H
#include <QObject>
class CreateFolderDialog : public QObject
{
Q_OBJECT
public:
explicit CreateFolderDialog(QObject *parent = nullptr);
void setPath(const QString &path);
void show();
Q_INVOKABLE void newFolder(const QString &folderName);
private:
QString m_path;
};
#endif // CREATEFOLDERDIALOG_H