MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / FunctionListItem

Method FunctionListItem

gui/librarydialog.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 class FunctionListItem : public QListWidgetItem {
51 public:
52 FunctionListItem(QListWidget *view,
53 CppcheckLibraryData::Function *function,
54 bool selected)
55 : QListWidgetItem(view), function(function) {
56 setText(function->name);
57 setFlags(flags() | Qt::ItemIsEditable);
58 setSelected(selected);
59 }
60 CppcheckLibraryData::Function *function;
61 };
62}

Callers

nothing calls this directly

Calls 1

flagsFunction · 0.85

Tested by

no test coverage detected