MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / add

Method add

src/data/model/PresetRuleTableModel.cpp:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void PresetRuleTableModel::add(PresetRule rule) {
142 beginInsertRows({}, rules.count(), rules.count());
143 rules.push_back(rule);
144 endInsertRows();
145
146 QModelIndex begin = index(rules.count(), 0);
147 QModelIndex end = index(rules.count(), 3);
148 emit dataChanged(begin, end);
149}
150

Callers 1

onAddConfirmedMethod · 0.45

Calls 2

countMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected