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

Method mainWindowAdded

kdevplatform/shell/uicontroller.cpp:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233UiController::~UiController() = default;
234
235void UiController::mainWindowAdded(Sublime::MainWindow* mainWindow)
236{
237 connect(mainWindow, &MainWindow::activeToolViewChanged, this, &UiController::slotActiveToolViewChanged);
238 connect(mainWindow, &MainWindow::toolViewVisibilityRestored, this, &UiController::toolViewVisibilityRestored);
239 connect(mainWindow, &MainWindow::areaCleared, Core::self()->workingSetControllerInternal(), &WorkingSetController::saveArea);
240}
241
242void UiController::switchToArea(const QString &areaName, SwitchMode switchMode)
243{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected