1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | #ifndef COMMANDLISTENER_H |
5 | #define COMMANDLISTENER_H |
6 | |
7 | #include <QtCore/QThread> |
8 | |
9 | class CommandListener : public QObject { |
10 | Q_OBJECT |
11 | public: |
12 | void readCommand(); |
13 | |
14 | Q_SIGNALS: |
15 | void command(const QString &command); |
16 | }; |
17 | |
18 | #endif // COMMANDLISTENER_H |
19 |