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#include "commandlistener.h"
5#include "constants.h"
6#include <QtCore/QTextStream>
7
8void CommandListener::readCommand()
9{
10 emit command(command: QTextStream(stdin).readLine());
11}
12
13#include "moc_commandlistener.cpp"
14

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