23 #include <KLocalizedString> 35 const QString &command,
36 const QKeySequence &shortcut,
39 m_exclusive_group(), m_action(Q_NULLPTR)
45 if (!shortcut.isEmpty())
m_action.setShortcut(shortcut);
77 if (command ==
_(
"#checkable")) {
81 else if (parser.
command() ==
_(
"#exclusive")) {
84 while (group.length()) {
89 qWarning(
"menu item '%s' already member of " 90 "exclusive group '%s'",
100 else if (command ==
_(
"#hidden")) {
116 if (!
m_action.isEnabled())
return false;
bool connect(Kwave::StreamObject &source, const char *output, Kwave::StreamObject &sink, const char *input)
const QString & firstParam()
const QString & nextParam()