! \brief Constructor Check for a valid server and create one if none found. */
| 35 | Check for a valid server and create one if none found. |
| 36 | */ |
| 37 | QInterProcessChannel::QInterProcessChannel(QObject* p) : QThread(p) { |
| 38 | uniqPrefix = QApplication::applicationName(); |
| 39 | pipeName = |
| 40 | QString("\\\\.\\pipe\\%1%2").arg(uniqPrefix).arg("_uniquePipeName"); |
| 41 | globalMutexStr = uniqPrefix + QString("_globalMutexId"); |
| 42 | blockerMutexStr = uniqPrefix + QString("_blockerMutexId"); |
| 43 | init(); |
| 44 | } |
| 45 | |
| 46 | /*! |
| 47 | \brief Destructor |
nothing calls this directly
no outgoing calls
no test coverage detected