--------------------------------------------------------------------------
| 123 | |
| 124 | // -------------------------------------------------------------------------- |
| 125 | void ctkErrorLogAbstractModelPrivate::setMessageHandlerConnection( |
| 126 | ctkErrorLogAbstractMessageHandler * msgHandler, bool asynchronous) |
| 127 | { |
| 128 | Q_Q(ctkErrorLogAbstractModel); |
| 129 | |
| 130 | msgHandler->disconnect(); |
| 131 | |
| 132 | QObject::connect(msgHandler, |
| 133 | SIGNAL(messageHandled(QDateTime,QString,ctkErrorLogLevel::LogLevel,QString,ctkErrorLogContext,QString)), |
| 134 | q, SLOT(addEntry(QDateTime,QString,ctkErrorLogLevel::LogLevel,QString,ctkErrorLogContext,QString)), |
| 135 | asynchronous ? Qt::QueuedConnection : Qt::BlockingQueuedConnection); |
| 136 | } |
| 137 | |
| 138 | // -------------------------------------------------------------------------- |
| 139 | // ctkErrorLogAbstractModel methods |
no test coverage detected