MCPcopy Create free account
hub / github.com/Nitrux/maui-shell / insert

Method insert

casklib/src/code/models/recentappsmodel.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void RecentAppsModel::insert(const QString &desktopFile, const int &index)
22{
23 beginInsertRows(QModelIndex(), index, index);
24 m_list.insert(index, AppsDB::appInfo(desktopFile));
25 endInsertRows();
26}
27
28int RecentAppsModel::rowCount(const QModelIndex &parent) const
29{

Callers 2

decodeUriFunction · 0.45
setMetadataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected