#include "clientsettings.h"
#include "coreconnection.h"
#include "clientbacklogmanager.h"
+#include "util.h"
DockManagerNotificationBackend::DockManagerNotificationBackend(QObject *parent)
: AbstractNotificationBackend(parent), _bus(QDBusConnection::sessionBus())
itemAdded(QDBusObjectPath());
- connect(Client::coreConnection(), SIGNAL(progressValueChanged(int)), this, SLOT(updateProgress(int)));
+ connect(Client::coreConnection(), &CoreConnection::progressValueChanged, this, selectOverload<int>(&DockManagerNotificationBackend::updateProgress));
connect(Client::coreConnection(), &CoreConnection::synchronized, this, &DockManagerNotificationBackend::synchronized);
}
void DockManagerNotificationBackend::synchronized()
{
- connect(Client::backlogManager(), SIGNAL(updateProgress(int, int)), this, SLOT(updateProgress(int, int)));
+ connect(Client::backlogManager(), &ClientBacklogManager::updateProgress, this, selectOverload<int, int>(&DockManagerNotificationBackend::updateProgress));
}