MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / flags

Method flags

gui/qt/vartablemodel.cpp:265–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265Qt::ItemFlags VarTableModel::flags(const QModelIndex &index) const {
266 if (!index.isValid()) {
267 return Qt::NoItemFlags;
268 }
269 Qt::ItemFlags flags = Qt::ItemIsEnabled | Qt::ItemNeverHasChildren;
270 if (index.column() == VAR_NAME_COL) {
271 flags |= Qt::ItemIsUserCheckable;
272 }
273 return flags;
274}
275
276int VarTableModel::rowCount(const QModelIndex &parent) const {
277 if (parent.isValid()) {

Callers 1

osUpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected