aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'singleapplication.h')
-rw-r--r--singleapplication.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/singleapplication.h b/singleapplication.h
index 91f5b11..780bd9e 100644
--- a/singleapplication.h
+++ b/singleapplication.h
@@ -22,9 +22,12 @@ class SingleApplication : public QAPPLICATION_CLASS
typedef QAPPLICATION_CLASS app_t;
public:
- explicit SingleApplication(int&, char *[]);
+ explicit SingleApplication(int &argc, char *argv[], uint8_t secondaryInstances = 0);
~SingleApplication();
+ bool isPrimary();
+ bool isSecondary();
+
Q_SIGNALS:
void showUp();