MCPcopy Create free account
hub / github.com/Kitware/CMake / buddy

Method buddy

Source/QtDialog/EnvironmentDialog.cxx:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45QModelIndex EnvironmentItemModel::buddy(QModelIndex const& index) const
46{
47 if (index.column() == 0) {
48 return this->index(index.row(), index.column() + 1, index.parent());
49 }
50 return index;
51}
52
53void EnvironmentItemModel::appendVariable(QString const& key,
54 QString const& value)

Callers 1

environmentDialogMethod · 0.80

Calls 2

parentMethod · 0.80
indexMethod · 0.45

Tested by 1

environmentDialogMethod · 0.64