! \internal */
| 141 | \internal |
| 142 | */ |
| 143 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected