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

Method append

kdevplatform/util/objectlist.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ObjectListTracker::append(QObject* object)
51{
52 Q_D(ObjectListTracker);
53
54 if (!object || d->m_list.contains(object)) {
55 return;
56 }
57
58 d->m_list.append(object);
59 connect(object, &QObject::destroyed, this, &ObjectListTracker::objectDestroyed);
60}
61
62bool ObjectListTracker::remove(QObject* object)
63{

Callers 15

removeRowsMethod · 0.45
viewCreatedMethod · 0.45
setDataMethod · 0.45
appendChildMethod · 0.45
loadFromSessionMethod · 0.45
storeToSessionMethod · 0.45
findInsertionPlaceMethod · 0.45
removeRowsMethod · 0.45
saveToProjectMethod · 0.45
pluginLoadedMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by 15

testIndexedStringsMethod · 0.36
parseJobCreatedMethod · 0.36
testBasicInterfaceMethod · 0.36
testDeleteAllMethod · 0.36
mixedMethod · 0.36
buildCppCheckErrorLineFunction · 0.36
buildKrazyErrorLineFunction · 0.36
buildKrazyErrorLine2Function · 0.36
buildKrazyErrorLine3Function · 0.36
buildCompilerLineFunction · 0.36