2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2012-02-09 16:04:43 +00:00
|
|
|
|
|
|
|
#ifndef COMMANDLISTENER_H
|
|
|
|
#define COMMANDLISTENER_H
|
|
|
|
|
|
|
|
#include <QtCore/QThread>
|
|
|
|
|
2015-05-21 13:39:28 +00:00
|
|
|
class CommandListener : public QObject {
|
2012-02-09 16:04:43 +00:00
|
|
|
Q_OBJECT
|
2016-07-20 13:35:50 +00:00
|
|
|
public:
|
2015-05-21 13:39:28 +00:00
|
|
|
void readCommand();
|
2012-02-09 16:04:43 +00:00
|
|
|
|
2022-12-07 06:27:01 +00:00
|
|
|
Q_SIGNALS:
|
2012-02-09 16:04:43 +00:00
|
|
|
void command(const QString &command);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COMMANDLISTENER_H
|