Changeset View
Changeset View
Standalone View
Standalone View
src/MainWindow.cpp
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 76 | { | |||
---|---|---|---|---|---|
111 | connect(_viewManager, &Konsole::ViewManager::updateWindowIcon, this, | 111 | connect(_viewManager, &Konsole::ViewManager::updateWindowIcon, this, | ||
112 | &Konsole::MainWindow::updateWindowIcon); | 112 | &Konsole::MainWindow::updateWindowIcon); | ||
113 | connect(_viewManager, &Konsole::ViewManager::newViewWithProfileRequest, | 113 | connect(_viewManager, &Konsole::ViewManager::newViewWithProfileRequest, | ||
114 | this, &Konsole::MainWindow::newFromProfile); | 114 | this, &Konsole::MainWindow::newFromProfile); | ||
115 | connect(_viewManager, &Konsole::ViewManager::newViewRequest, | 115 | connect(_viewManager, &Konsole::ViewManager::newViewRequest, | ||
116 | this, &Konsole::MainWindow::newTab); | 116 | this, &Konsole::MainWindow::newTab); | ||
117 | connect(_viewManager, &Konsole::ViewManager::viewDetached, this, | 117 | connect(_viewManager, &Konsole::ViewManager::viewDetached, this, | ||
118 | &Konsole::MainWindow::viewDetached); | 118 | &Konsole::MainWindow::viewDetached); | ||
119 | connect(_viewManager, &Konsole::ViewManager::tabDetached, this, | ||||
120 | &Konsole::MainWindow::tabDetached); | ||||
119 | 121 | | |||
120 | setCentralWidget(_viewManager->widget()); | 122 | setCentralWidget(_viewManager->widget()); | ||
121 | 123 | | |||
122 | // disable automatically generated accelerators in top-level | 124 | // disable automatically generated accelerators in top-level | ||
123 | // menu items - to avoid conflicting with Alt+[Letter] shortcuts | 125 | // menu items - to avoid conflicting with Alt+[Letter] shortcuts | ||
124 | // in terminal applications | 126 | // in terminal applications | ||
125 | KAcceleratorManager::setNoAccel(menuBar()); | 127 | KAcceleratorManager::setNoAccel(menuBar()); | ||
126 | 128 | | |||
▲ Show 20 Lines • Show All 765 Lines • Show Last 20 Lines |