Qt/QML edition

This commit is contained in:
Floris Bos 2020-03-04 16:55:40 +01:00
commit d7b361ba44
2168 changed files with 721948 additions and 0 deletions

27
driveformatthread.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef DRIVEFORMATTHREAD_H
#define DRIVEFORMATTHREAD_H
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 Raspberry Pi (Trading) Limited
*/
#include <QThread>
class DriveFormatThread : public QThread
{
Q_OBJECT
public:
DriveFormatThread(const QByteArray &device, QObject *parent = nullptr);
virtual ~DriveFormatThread();
virtual void run();
signals:
void success();
void error(QString msg);
protected:
QByteArray _device;
};
#endif // DRIVEFORMATTHREAD_H