summaryrefslogblamecommitdiffstats
path: root/src/speedcheck.h
blob: fd54605ff4175be233485de3b75d09294c207f1d (plain) (tree)


































                                         
#ifndef SPEEDCHECK_H_
#define SPEEDCHECK_H_

#include <QMainWindow>
#include <QTimer>

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 quitClicked(bool);
	void testFinished();
	void updateTimer();

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

#endif /* SPEEDCHECK_H_ */