aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2020-03-03 01:29:50 +0000
committerGitHub <noreply@github.com>2020-03-03 01:29:50 +0000
commit4abe20afbfa5695ac7a9bce1298943b645aeffe9 (patch)
tree596bf4f020748b45b7bf1f262281bb477077ac79 /README.md
parentMerge pull request #94 from itay-grudev/qwertysam (diff)
parentv3.1.0a Added primaryUser() (diff)
downloadsingleapplication-4abe20afbfa5695ac7a9bce1298943b645aeffe9.tar.xz
Merge pull request #96 from itay-grudev/primary_userv3.1.0a
v3.1.0a Added primaryUser()
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index fa60057..d3071eb 100644
--- a/README.md
+++ b/README.md
@@ -206,6 +206,14 @@ qint64 SingleApplication::primaryPid()
Returns the process ID (PID) of the primary instance.
+---
+
+```cpp
+QString SingleApplication::primaryUser()
+```
+
+Returns the username the primary instance is running as.
+
### Signals
```cpp