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

Method message

gui/src/qcumber/qsingleapplication.cpp:143–163  ·  view source on GitHub ↗

! \internal */

Source from the content-addressed store, hash-verified

141 \internal
142*/
143void QSingleApplication::message(const QString& s) {
144 if (s.isEmpty()) return;
145
146 switch (messagingPolicy()) {
147 case Events:
148
149 /*
150 QRequestEvent *e = new QRequestEvent(s);
151 postEvent(s);
152 */
153
154 break;
155
156 case Signals:
157 emit request(s);
158 break;
159
160 default:
161 break;
162 }
163}
164
165/*!
166 \internal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected