MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / sendMessageKeySequence

Function sendMessageKeySequence

ChatView/ChatRootView.cpp:58–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58QKeySequence sendMessageKeySequence()
59{
60 auto command = Core::ActionManager::command(Constants::QODE_ASSIST_CHAT_SEND_MESSAGE);
61 if (!command)
62 return {};
63
64 QKeySequence sequence = command->keySequence();
65 if (sequence.isEmpty()) {
66 const QList<QKeySequence> defaults = command->defaultKeySequences();
67 if (!defaults.isEmpty())
68 sequence = defaults.constFirst();
69 }
70 return sequence;
71}
72} // namespace
73
74ChatRootView::ChatRootView(QQuickItem *parent)

Callers 2

isSendShortcutMethod · 0.85
sendShortcutTextMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected