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

Method mergeSet

kdevplatform/shell/workingsets/workingsettoolbutton.cpp:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void WorkingSetToolButton::mergeSet()
82{
83 Q_ASSERT(m_set);
84
85 const QSet<QString> loadFiles = m_set->fileSet() - Core::self()->workingSetControllerInternal()->workingSet(mainWindow()->area()->workingSet())->fileSet();
86 for (const QString& file : loadFiles) {
87 Core::self()->documentController()->openDocument(QUrl::fromUserInput(file));
88 }
89}
90
91void WorkingSetToolButton::duplicateSet()
92{

Callers

nothing calls this directly

Calls 7

mainWindowFunction · 0.85
documentControllerMethod · 0.80
fileSetMethod · 0.45
workingSetMethod · 0.45
areaMethod · 0.45
openDocumentMethod · 0.45

Tested by

no test coverage detected