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

Method print

kdevplatform/sublime/areaindex.cpp:281–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281QString AreaIndex::print() const
282{
283 if(isSplit())
284 return QLatin1String(" [ ") + first()->print() + QLatin1String(orientation() == Qt::Horizontal ? " / " : " - ") + second()->print() + QLatin1String(" ] ");
285 QStringList ret;
286 const auto views = this->views();
287 ret.reserve(views.size());
288 for (const auto* view : views) {
289 ret << view->document()->title();
290 }
291 return ret.join(QLatin1Char(' '));
292}
293
294}

Callers 3

openDocumentsSimpleMethod · 0.45
aboutToRemoveViewMethod · 0.45
testImportStructureMethod · 0.45

Calls 6

joinMethod · 0.80
viewsMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
titleMethod · 0.45
documentMethod · 0.45

Tested by 1

testImportStructureMethod · 0.36