diff options
author | Itay Grudev <itay@grudev.com> | 2016-08-15 23:02:40 +0100 |
---|---|---|
committer | Itay Grudev <itay@grudev.com> | 2016-08-15 23:03:12 +0100 |
commit | 9185336561edbff6756acc76282ee2b7f3cad7ef (patch) | |
tree | fcdc51eb3b6f8650fa4aed1f292d4e6c82e6e94b | |
parent | Disambiguation in `CHANGELOG.md` (diff) | |
download | singleapplication-9185336561edbff6756acc76282ee2b7f3cad7ef.tar.xz |
Improved `instanceStarted()` note in `README.md`.
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -27,7 +27,8 @@ that a new instance had been started. The library uses `stdlib` to terminate the program with the `exit()` function. -You can use the library as if you use any other `QCoreApplication` class: +You can use the library as if you use any other `QCoreApplication` derived +class: ```cpp #include <QApplication> @@ -104,7 +105,8 @@ int main(int argc, char *argv[]) ``` ___Note:__ A secondary instance won't cause the emission of the -`instanceStarted()` signal. +`instanceStarted()` signal by default. See `SingleApplication::Mode` for more +details. You can check whether your instance is a primary or secondary with the following methods: |