| 286 | } |
| 287 | |
| 288 | void Server::registerMonitorNotifier(Protocol::ObjectAddress address, QObject *receiver, |
| 289 | const char *monitorNotifier) |
| 290 | { |
| 291 | Q_ASSERT(address != Protocol::InvalidObjectAddress); |
| 292 | Q_ASSERT(receiver); |
| 293 | Q_ASSERT(monitorNotifier); |
| 294 | |
| 295 | m_monitorNotifiers.insert(address, qMakePair<QObject *, QByteArray>(std::forward<QObject *>(receiver), monitorNotifier)); |
| 296 | } |
| 297 | |
| 298 | void Server::handlerDestroyed(Protocol::ObjectAddress objectAddress, const QString &objectName) |
| 299 | { |