MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setTopic

Method setTopic

src/framework/event/event.cpp:57–63  ·  view source on GitHub ↗

* @brief Event::setTopic * 设置事件的主题 * @param topic 主题字符串 */

Source from the content-addressed store, hash-verified

55 * @param topic 主题字符串
56 */
57void Event::setTopic(const QString &topic)
58{
59 static QMutex mutex;
60 mutex.lock();
61 d->sourceHash[PrivateGlobal::EVENT_TOPIC_KEY] = topic;
62 mutex.unlock();
63}
64
65/**
66 * @brief Event::setTopic

Callers 6

sendEventFunction · 0.80
configureMethod · 0.80
notifyBuildStateMethod · 0.80
buildProjectMethod · 0.80
gengrateWorkspaceMethod · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected