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

Method flags

kdevplatform/debugger/util/pathmappings.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 Qt::ItemFlags flags(const QModelIndex& index) const override
112 {
113 if (index.parent().isValid()) return Qt::NoItemFlags;
114 if (!index.isValid()) return Qt::NoItemFlags;
115 return ( Qt::ItemIsSelectable | Qt::ItemIsEditable | Qt::ItemIsEnabled );
116
117 }
118
119 bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override
120 {

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected