You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
387 B
C++
23 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
|