diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-03-28 01:35:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 01:35:42 +0000 |
commit | 4baf2e74f64c9a6ce36d456491bb41d0f2ae999e (patch) | |
tree | 274c2e8bab52eb069317560810e8fee3eba87869 /singleapplication.h | |
parent | Merge pull request #96 from itay-grudev/primary_user (diff) | |
parent | Add support for Qt < 5.10 (diff) | |
download | singleapplication-4baf2e74f64c9a6ce36d456491bb41d0f2ae999e.tar.xz |
SingleApplication::currentUser and codecs
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/singleapplication.h b/singleapplication.h index f91e3a2..14c9615 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -119,6 +119,12 @@ public: QString primaryUser(); /** + * @brief Returns the username of the current user + * @returns {QString} + */ + QString currentUser(); + + /** * @brief Sends a message to the primary instance. Returns true on success. * @param {int} timeout - Timeout for connecting * @returns {bool} |