mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Rename all header files with .h extension Fix function declaration in HamlibTransceiver.h that overrode member function but was not marked override Remove unused variable in Modulator.cpp Remove unused files from source tree Remove duplicate LazyFillComboBox files Reformat codebase to LLVM C++ standard
25 lines
509 B
C++
25 lines
509 B
C++
#ifndef PROCESSTHREAD_H
|
|
#define PROCESSTHREAD_H
|
|
|
|
/**
|
|
* (C) 2019 Jordan Sherer <kn4crd@gmail.com> - All Rights Reserved
|
|
**/
|
|
|
|
#include <QProcess>
|
|
#include <QScopedPointer>
|
|
#include <QThread>
|
|
|
|
class ProcessThread : public QThread {
|
|
Q_OBJECT
|
|
public:
|
|
ProcessThread(QObject *parent = nullptr);
|
|
~ProcessThread();
|
|
|
|
void setProcess(QProcess *proc, int msecs = 1000);
|
|
QProcess *process() { return m_proc.data(); }
|
|
|
|
protected:
|
|
QScopedPointer<QProcess> m_proc;
|
|
};
|
|
|
|
#endif // PROCESSTHREAD_H
|