MCPcopy Create free account
hub / github.com/QNapi/qnapi / QInterProcessChannel

Method QInterProcessChannel

gui/src/qcumber/qinterprocesschannel.cpp:57–69  ·  view source on GitHub ↗

! \brief Constructor Check for a valid server and create one if none found. */

Source from the content-addressed store, hash-verified

55 Check for a valid server and create one if none found.
56*/
57QInterProcessChannel::QInterProcessChannel(QObject *p)
58 : QThread(p), pServer(0), pServerTimer(0) {
59#ifdef Q_OS_WIN
60 rcFile = QDir::tempPath() + QDir::separator() +
61 QApplication::applicationName() + "rc";
62#else
63 rcFile = QDir::tempPath() + QDir::separator() +
64 QApplication::applicationName() + "-" + getenv("USER") + "-" +
65 getenv("DISPLAY") + "-" + "rc";
66#endif
67
68 init();
69}
70
71/*!
72 \brief Destructor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected