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

Method setItemChecked

plugins/astyle/astyle_preferences.cpp:231–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void AStylePreferences::setItemChecked(int idx, bool checked)
232{
233 QListWidgetItem *item = listIdentObjects->item(idx);
234 if(!item)
235 return;
236
237 if(checked)
238 item->setCheckState(Qt::Checked);
239 else
240 item->setCheckState(Qt::Unchecked);
241}
242
243void AStylePreferences::updatePreviewText()
244{

Callers

nothing calls this directly

Calls 1

itemMethod · 0.45

Tested by

no test coverage detected