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

Method addItems

src/plugins/chat/widgets/referencepopup.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void ItemModel::addItems(const QList<ItemInfo> &items)
160{
161 beginInsertRows(QModelIndex(), this->items.size(), this->items.size() + items.size() - 1);
162 this->items.append(items);
163 this->displayItems.append(items);
164 endInsertRows();
165}
166
167void ItemModel::setFilterText(const QString &filterText)
168{

Callers 2

popupReferenceMethod · 0.45
acceptMethod · 0.45

Calls 3

QModelIndexClass · 0.50
sizeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected