itemAdded(QDBusObjectPath());
connect(Client::coreConnection(), SIGNAL(progressValueChanged(int)), this, SLOT(updateProgress(int)));
- connect(Client::coreConnection(), SIGNAL(synchronized()), this, SLOT(synchronized()));
+ connect(Client::coreConnection(), &CoreConnection::synchronized, this, &DockManagerNotificationBackend::synchronized);
}
DockManagerNotificationBackend::ConfigWidget::ConfigWidget(bool enabled, QWidget *parent)
: SettingsPage("Internal", "DockManagerNotification", parent)
{
- QHBoxLayout *layout = new QHBoxLayout(this);
+ auto *layout = new QHBoxLayout(this);
layout->addWidget(enabledBox = new QCheckBox(tr("Mark dockmanager entry"), this));
enabledBox->setVisible(enabled);
- connect(enabledBox, SIGNAL(toggled(bool)), SLOT(widgetChanged()));
+ connect(enabledBox, &QAbstractButton::toggled, this, &ConfigWidget::widgetChanged);
}