blob: 72a358db1c8023f381a3a6c6a49f22c43286c669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "contextmenuaction.h"
namespace qmt {
ContextMenuAction::ContextMenuAction(const QString &label, const QString &id, QObject *parent)
: QAction(label, parent),
m_id(id)
{
}
ContextMenuAction::ContextMenuAction(const QString &label, const QString &id, const QKeySequence &shortcut,
QObject *parent)
: QAction(label, parent),
m_id(id)
{
setShortcut(shortcut);
}
ContextMenuAction::~ContextMenuAction()
{
}
} // namespace qmt
|