// Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #pragma once #include #include #include #include namespace QmlProfiler { namespace Internal { class QmlProfilerTool; class QmlProfilerActions : public QObject { Q_OBJECT public: explicit QmlProfilerActions(QObject *parent = nullptr); void attachToTool(QmlProfilerTool *tool); void registerActions(); private: std::unique_ptr m_options; std::unique_ptr m_loadQmlTrace; std::unique_ptr m_saveQmlTrace; std::unique_ptr m_runAction; std::unique_ptr m_attachAction; }; } // namespace Internal } // namespace QmlProfiler