Files
qt-creator/src/plugins/mesonprojectmanager/mesonactionsmanager.h

32 lines
828 B
C
Raw Normal View History

// Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/parameteraction.h>
#include <QCoreApplication>
namespace MesonProjectManager {
namespace Internal {
class MesonActionsManager : public QObject
{
Q_OBJECT
Utils::ParameterAction buildTargetContextAction{
QCoreApplication::tr("::MesonProjectManager", "Build"),
QCoreApplication::tr("::MesonProjectManager", "Build \"%1\""),
Utils::ParameterAction::AlwaysEnabled /*handled manually*/
};
QAction configureActionMenu;
QAction configureActionContextMenu;
void configureCurrentProject();
void updateContextActions();
public:
MesonActionsManager();
};
} // namespace Internal
} // namespace MesonProjectManager