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
9class CommandListener : public QObject {
10 Q_OBJECT
11public:
12 void readCommand();
13
14Q_SIGNALS:
15 void command(const QString &command);
16};
17
18#endif // COMMANDLISTENER_H
19

source code of qtdeclarative/tools/qmlprofiler/commandlistener.h