Changeset View
Changeset View
Standalone View
Standalone View
akonadi/changenotificationdependenciesfactory.cpp
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | org::freedesktop::Akonadi::NotificationSource *notificationSource = | ||||
ServerManager::serviceName(Akonadi::ServerManager::Server), | ServerManager::serviceName(Akonadi::ServerManager::Server), | ||||
p.path(), | p.path(), | ||||
DBusConnectionPool::threadConnection(), parent); | DBusConnectionPool::threadConnection(), parent); | ||||
if (!notificationSource) { | if (!notificationSource) { | ||||
// :TODO: error handling | // :TODO: error handling | ||||
return 0; | return 0; | ||||
} | } | ||||
return new NotificationSource(notificationSource); | return new NotificationSource(notificationSource, name); | ||||
} | } | ||||
QObject *ChangeNotificationDependenciesFactory::createChangeMediator(QObject *parent) | QObject *ChangeNotificationDependenciesFactory::createChangeMediator(QObject *parent) | ||||
{ | { | ||||
Q_UNUSED(parent); | Q_UNUSED(parent); | ||||
return ChangeMediator::instance(); | return ChangeMediator::instance(); | ||||
} | } | ||||
Show All 19 Lines |