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

Method removeView

kdevplatform/sublime/document.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 {}
26
27 void removeView(Sublime::View* view)
28 {
29 views.removeAll(view);
30 //no need to keep empty document - we need to remove it
31 if (views.count() == 0)
32 {
33 emit document->aboutToDelete(document);
34 document->deleteLater();
35 }
36 }
37
38 QList<View*> views;
39 QIcon statusIcon;

Callers 2

createViewMethod · 0.45
closeViewsMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected