[go: up one dir, main page]

Menu

[r303]: / mindexdir2.h  Maximize  Restore  History

Download this file

55 lines (46 with data), 1.2 kB

 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef MINDEXDIR2_H
#define MINDEXDIR2_H
#include <QWidget>
#include <QDir>
#include <QProcess>
#include <QMessageBox>
#include <QCloseEvent>
#include <QUrl>
#include "filechooser.h"
#include "libbase.h"
namespace Ui {
class MIndexDir2;
}
class MIndexDir2 : public QWidget
{
Q_OBJECT
public:
explicit MIndexDir2(CMessages * const,
QDir const &,
CLibBase & lib,
QWidget *parent = 0);
~MIndexDir2();
QString targetDir() const;
private:
Ui::MIndexDir2 *ui;
CMessages * const messages;
QProcess _p;
CLibBase & lib;
bool inProgress() const;
protected:
void closeEvent(QCloseEvent *event);
private slots:
void on_txtOutput_anchorClicked(QUrl );
void on_btState_clicked();
void on_btHelp_clicked();
void on_btVersion_clicked();
void on_btClear_clicked();
void on_btStop_clicked();
void on_btStart_clicked();
void on_btClose_clicked();
void on_wdgDir_viewInLibrary(QString dirname);
void slot_downloadFinished(int exitCode, QProcess::ExitStatus exitStatus);
void slot_downloadError();
void slot_downloadOutput();
};
#endif // MINDEXDIR2_H