aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix sendmessage (#46)Francis Giraldeau2018-07-273-3/+3
| | | | | | | | | | | | | | | | | | | | * Fix send message example If a secondary instance sends a message immediately after connecting, the message follows the init message. This causes the slotConnectionEstablished to read and consume the tail of the message and interpret it as the checksum. The checksum fails and the connection becomes invalid. To avoid this race, we prefix the init message with its length. This way, we consume only the data relevant to the init message. This patch fixes the sending_arguments example. Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com> * Fix include file case Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>
* Bug Fix Calculator example not raising it's window on WindowsItay Grudev2017-02-021-6/+4
|
* Added an example of an application raising the primary instance windowItay Grudev2016-08-106-0/+748
| | | | | | This example uses the Qt Calculator example released under the BSD license. Noted the license difference in the `README.md` and `LICENSE` files.
* Added an example of an application sending it's arguments to the primary ↵Itay Grudev2016-08-104-0/+61
| | | | instance
* Added a basic usage exampleItay Grudev2016-08-102-0/+14