MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / flags

Method flags

src/core/user_scripts/UserScriptModel.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133Qt::ItemFlags UserScriptModel::flags(const QModelIndex& index) const
134{
135 if (index.column() == 0)
136 return Qt::ItemIsUserCheckable | Qt::ItemIsEnabled | QAbstractTableModel::flags(index);
137 return QAbstractTableModel::flags(index);
138}
139
140bool UserScriptModel::setData(const QModelIndex &index, const QVariant &/*value*/, int role)
141{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected