|
|
|
@ -70,7 +70,6 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
|
|
|
|
|
|
|
|
|
|
if (dockCorona) {
|
|
|
|
|
connections << connect(this, &DockConfigView::aboutApplication, dockCorona, &DockCorona::aboutApplication);
|
|
|
|
|
connections << connect(dockCorona, SIGNAL(autostartChanged()), this, SIGNAL(autostartChanged()));
|
|
|
|
|
connections << connect(dockCorona, SIGNAL(raiseDocksTemporaryChanged()), this, SIGNAL(raiseDocksTemporaryChanged()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -271,26 +270,6 @@ void DockConfigView::addPanelSpacer()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool DockConfigView::autostart() const
|
|
|
|
|
{
|
|
|
|
|
auto *dockCorona = qobject_cast<DockCorona *>(m_dockView->corona());
|
|
|
|
|
|
|
|
|
|
if (dockCorona) {
|
|
|
|
|
return dockCorona->autostart();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DockConfigView::setAutostart(bool state)
|
|
|
|
|
{
|
|
|
|
|
auto *dockCorona = qobject_cast<DockCorona *>(m_dockView->corona());
|
|
|
|
|
|
|
|
|
|
if (dockCorona) {
|
|
|
|
|
dockCorona->setAutostart(state);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DockConfigView::hideConfigWindow()
|
|
|
|
|
{
|
|
|
|
|
hide();
|
|
|
|
|