MCPcopy Create free account
hub / github.com/KDE/kdevelop / data

Method data

plugins/ghprovider/ghprovidermodel.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24QVariant ProviderItem::data(int role) const
25{
26 switch(role) {
27 case ProviderModel::VcsLocationRole:
28 return QVariant(m_data.url);
29 default:
30 return QStandardItem::data(role);
31 }
32}
33
34ProviderModel::ProviderModel(QObject *parent)
35 : QStandardItemModel(parent)

Callers 3

createWorkingCopyMethod · 0.45
projectIndexChangedMethod · 0.45
slotAuthenticateMethod · 0.45

Calls 2

QVariantClass · 0.50
dataFunction · 0.50

Tested by

no test coverage detected