MCPcopy Create free account
hub / github.com/KDAB/GammaRay / flags

Method flags

core/tools/messagehandler/loggingcategorymodel.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133Qt::ItemFlags LoggingCategoryModel::flags(const QModelIndex &index) const
134{
135 const auto baseFlags = QAbstractTableModel::flags(index);
136 if (index.column() == 2) // info not available in Qt < 5.5
137 return baseFlags;
138 if (index.column() > 0)
139 return baseFlags | Qt::ItemIsUserCheckable;
140 return baseFlags;
141}
142
143bool LoggingCategoryModel::setData(const QModelIndex &index, const QVariant &value, int role)
144{

Callers 3

dataMethod · 0.45
newRequestMethod · 0.45
foreachFunction · 0.45

Calls 1

columnMethod · 0.80

Tested by

no test coverage detected