MCPcopy Create free account
hub / github.com/MultiMC/Launcher / enqueQueryWithCurrentTime

Method enqueQueryWithCurrentTime

libraries/ganalytics/src/ganalytics_worker.cpp:157–164  ·  view source on GitHub ↗

* Takes a QUrlQuery object and wrapp it together with * a QTime object into a QueryBuffer struct. These struct * will be stored in the message queue. */

Source from the content-addressed store, hash-verified

155 * will be stored in the message queue.
156 */
157void GAnalyticsWorker::enqueQueryWithCurrentTime(const QUrlQuery &query)
158{
159 QueryBuffer buffer;
160 buffer.postQuery = query;
161 buffer.time = QDateTime::currentDateTime();
162
163 m_messageQueue.enqueue(buffer);
164}
165
166/**
167 * This function is called by a timer interval.

Callers 3

sendScreenViewMethod · 0.80
sendEventMethod · 0.80
sendExceptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected