mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-23 19:38:26 +02:00
29 lines
423 B
C++
29 lines
423 B
C++
#if !defined(LOGDIALOG_H)
|
|
|
|
#define LOGDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "ui_LogDialogBase.h"
|
|
|
|
class QProcess;
|
|
|
|
class LogDialog : public QDialog, public Ui::LogDialogBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
LogDialog(QWidget* parent, QProcess*& synergy);
|
|
|
|
public:
|
|
void append(const QString& s);
|
|
void clear() { m_pLogOutput->clear(); }
|
|
|
|
public slots:
|
|
void readSynergyOutput();
|
|
|
|
private:
|
|
QProcess*& m_pSynergy;
|
|
};
|
|
|
|
#endif
|