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

Method getEntityByRow

src/plugins/core/notify/gui/notificationmodel.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26EntityPtr NotificationModelPrivate::getEntityByRow(int row)
27{
28 Q_ASSERT(row <= q->rowCount(QModelIndex()) - 1);
29 return notifications[row];
30}
31
32NotificationModel::NotificationModel(QObject *parent, NotificationListView *view)
33 : QAbstractListModel(parent),

Callers 1

dataMethod · 0.80

Calls 2

QModelIndexClass · 0.50
rowCountMethod · 0.45

Tested by

no test coverage detected