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

Method setData

src/framework/event/event.cpp:80–83  ·  view source on GitHub ↗

* @brief Event::setData 设置关联数据 * @param data 任意泛型,需要Qt基本类型的QVariant构造要求, * 可以通过QVariant::fromValue接口进行复合类型的构造。 */

Source from the content-addressed store, hash-verified

78 * 可以通过QVariant::fromValue接口进行复合类型的构造。
79 */
80void Event::setData(const QVariant &data)
81{
82 d->sourceHash[PrivateGlobal::EVENT_DATA_KEY] = data;
83}
84
85/**
86 * @brief Event::data 获取设置的关联数据

Callers 6

sendEventFunction · 0.45
projectItemsCreatedMethod · 0.45
configureMethod · 0.45
createRootItemMethod · 0.45
createRowsMethod · 0.45
updateItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected