summaryrefslogtreecommitdiffstats
path: root/copydialog.h
blob: 5a635151e043bdb441fb6316ee330dbdfd852fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef COPYDIALOG_H
#define COPYDIALOG_H

#include <QDialog>

class QLineEdit;
class QLabel;

class CopyDialog : public QDialog {
    public:
        explicit CopyDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());

    public slots:
        void readSettings();
        void getDestination();
        void setSource(const QString &src);
        void setDestFolder(const QString &dst);

    protected:
        virtual void closeEvent(QCloseEvent *e);

    private:
        QLineEdit *mSrcE;
        QLineEdit *mDstE;
        QLineEdit *mFolderE;
        QLabel *mResultL;
};

#endif // COPYDIALOG_H