diff options
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} |