summaryrefslogtreecommitdiffstats
path: root/src/speedcheck.h
blob: 1056b0ae95f25e3c98b102337481f40c8754ad28 (plain) (blame)
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
#ifndef SPEEDCHECK_H_
#define SPEEDCHECK_H_

#include <QMainWindow>
#include <QTimer>
#include <string>

namespace Ui
{
	class MainWindow;
}
class CopyThread;

class SpeedCheck : public QMainWindow
{
	Q_OBJECT
public:
	SpeedCheck(QString fileName);
	virtual ~SpeedCheck();

private slots:
	void logMessage(QString message);
	void startClicked(bool);
    void selectClicked(bool);
    void quitClicked(bool);
    void networkrefreshClicked(bool);
    void updateNetworkInfos(int);
	void testFinished();
	void updateTimer();

private:
	Ui::MainWindow *_ui;
	CopyThread *_thread;
	volatile bool _doQuit;
	QString _fileName;
	QTimer _timer;
};

#endif /* SPEEDCHECK_H_ */