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

Method removeToolView

kdevplatform/sublime/area.cpp:241–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void Area::removeToolView(View* view)
242{
243 Q_D(Area);
244
245 if (!d->toolViews.contains(view))
246 return;
247
248 emit aboutToRemoveToolView(view, d->toolViewPositions[view]);
249 QString id = view->document()->documentSpecifier();
250 qCDebug(SUBLIME) << this << "removed tool view" << id;
251 d->desiredToolViews.remove(id);
252 d->toolViews.removeAll(view);
253 d->toolViewPositions.remove(view);
254}
255
256void Area::setToolViewPosition(View* toolView, Position newPosition)
257{

Calls 4

containsMethod · 0.45
documentSpecifierMethod · 0.45
documentMethod · 0.45
removeMethod · 0.45