Commit Graph

57 Commits

Author SHA1 Message Date
Diego Schulz
af2f7a2cfd
Add an example using CMakes FetchContent module 2023-10-13 21:07:08 -03:00
Itay Grudev
c5f97ceaa5
Update README.md 2023-09-22 12:28:08 +03:00
Itay Grudev
88ba6a82a4
Update README.md 2023-09-22 12:26:32 +03:00
Itay Grudev
eed383f297
Update README.md 2023-09-22 12:26:16 +03:00
Itay Grudev
730caedd48
Update README.md 2023-09-22 12:23:03 +03:00
Itay Grudev
a5cc738641 MIT, but No Machine Learning Allowed 2023-03-24 12:09:12 +02:00
Itay Grudev
063328d369 Update README.md 2022-06-08 02:10:53 +03:00
Itay Grudev
232f2ca01a Update README.md 2022-06-08 02:10:53 +03:00
Itay Grudev
9474674ffa Link to GH Pages documentation 2022-06-07 16:40:30 +03:00
Hennadii Chernyshchyk
efdfa507dd
Switch to Doxygen to avoid documentation duplication
I also had to fix syntax a little in markdown and the header file.
Now checked on CI.
2022-04-06 00:32:30 +03:00
Itay Grudev
efc6d2e5cc
Corrected Git URL in README 2021-12-28 18:47:16 +02:00
Itay Grudev
7bcdfe571e
Update README.md 2021-09-20 16:55:38 +03:00
Itay Grudev
a8590b4031
Update README.md 2021-09-20 16:53:48 +03:00
Loren Burkholder
f236032cf9 Allow adding unique userdata to instances 2020-12-16 22:17:24 -05:00
Itay Grudev
7983644b83
Update README.md 2020-10-19 13:50:54 +01:00
Itay Grudev
e93c12ab69
Added examples 2020-07-02 05:31:38 +01:00
Itay Grudev
777aee6734
Improved CMake example 2020-05-25 07:05:11 +01:00
Itay Grudev
5231b04ad0
Workflows Badge is now a URL to the Workflows page 2020-04-21 11:52:09 +01:00
Leander Schulten
5fff2202b5 Add SingleApplication::currentUser() 2020-03-27 08:00:14 +01:00
Itay Grudev
81cc2719be v3.1.0a Added primaryUser()
Closes #95
2020-03-03 01:24:55 +00:00
Itay Grudev
473dfae194
Added workflow badge to README.md 2020-01-25 01:36:04 +00:00
Hennadii Chernyshchyk
81465e1eec Add CMake support (#66)
* Add CMake support

* Remove unused 'tr()'

* Add option to specify a class for inheritance

* Use modern syntax

* Rework CMakeLists.txt
Thanks to @akallabeth

* Add CMake build rules for examples
2019-10-11 16:30:11 +03:00
Itay Grudev
9357d19042
v3.0.12a Removed custom signal handling. 2018-07-27 12:59:31 +03:00
Itay Grudev
4f03651072 Primary PID support (#36)
* Added the ability to bring the primary application window to the foreground on Windows systems by adding an option flag. THis option can only be used in Windows development and in applications derived from QApplication with a QMainWindow object.
Because the primary application needs to be instructed to go to the foreground, the option SecondaryNotification must also be set to use this functionality

* Changed the ability to bring the primary application window to the front as discussed in itay-grudev/SingleApplication#31.

Now the process ID of the primary application get stored and is accessible for other instances of the application. It is to the developer to bring the applications windows to the front. For convenience the accompanying readme now contains a paragraph with example of how to do this on Windows systems.

* v3.0.9 Added SingleApplicationPrivate::primaryPid()
2017-10-02 12:17:41 +01:00
Itay Grudev
87a81e5780
Removed version number from README.md 2017-02-02 04:38:55 +00:00
Itay Grudev
1c5164ed10 Fixed typo in README.md 2017-02-01 05:14:16 +00:00
Itay Grudev
0e590cd8c0
SingleApplication v3.0.2a 2016-11-27 11:13:38 +00:00
Itay Grudev
e75f16a39a
Single Application v.3.0.1a
Signed-off-by: Itay Grudev <itay@grudev.com>
2016-11-26 17:52:51 +00:00
Itay Grudev
26943b1e69 Fixed typo in README.md 2016-11-04 08:49:48 +00:00
Itay Grudev
5f0c8a3316
Improved documentation styling. Added HRs between API members. 2016-08-15 23:08:05 +01:00
Itay Grudev
9185336561
Improved instanceStarted() note in README.md. 2016-08-15 23:03:12 +01:00
Itay Grudev
b1d0a6e96b
Improved documentation for v3.0a 2016-08-10 03:43:55 +01:00
Itay Grudev
699a1cb978
Added an example of an application raising the primary instance window
This example uses the Qt Calculator example released under the BSD
license. Noted the license difference in the `README.md` and `LICENSE`
files.
2016-08-10 03:43:15 +01:00
Itay Grudev
4e5c1647cc
SingleApplication v3.0a 2016-08-10 03:41:03 +01:00
Itay Grudev
760bf81d25 Added CHANGELOG and version description 2016-07-04 23:17:23 +01:00
Itay Grudev
e29b660add Distributed a .pri file with the library 2016-05-27 02:36:12 +01:00
Itay Grudev
8caea926aa README: Better highlighing of exit code formula. 2016-05-11 18:53:27 +01:00
Itay Grudev
4c3fbae92f Docmented changes and example usage with a .pri file 2016-05-09 17:08:31 +01:00
Itay Grudev
8c9327036e Updated documentation 2016-05-04 20:40:03 +01:00
Itay Grudev
c5ea3f6d30 Now handling all relevant signals
New handled signals are:

SIGHUP, SIGQUIT, SIGBUS, SIGSYS, SIGPIPE, SIGALRM, SIGXCPU, SIGXFSZ
2016-05-04 14:36:51 +01:00
Vlad Pyatnichenko
8eb993a7f8 Ensure backward compatibility and some cosmetic changes. 2016-04-05 20:31:05 +03:00
Vlad Pyatnichenko
35ee984d72 Adaptation to Qt's pimpl idiom design. Improved inheritance safety.
Details:
* Improved unsafe C-style macros inheritance approach to the project-wide
DEFINES: it is unspecified in
which order source files are being preprocessed ones, so in
singleapplication.cpp the class might be inherent of default-specified
base, while in main.cpp this can be a user-provided QAPPLICATION_CLASS
definition.

* Replace Qt's pseudo-keywords to more library-independent counterparts
('emit -> Q_EMIT', etc)

* Indentation fixes (80 character column-width)

* Rearragned #include statements: from most platform-independen to more
app-specific.

* Fixed some grammar typos.

* README.md updated respectively.
2016-03-05 01:05:45 +02:00
Itay Grudev
47b12bd9d9 Docs now imply Linux as well 2016-01-04 12:52:02 +00:00
Itay Grudev
5b24e3d4c3 Updated documentation 2015-11-04 16:30:30 +00:00
Itay Grudev
bf00721b9c Improved QAPPLICATION_CLASS macro
Now it can be defined in the cpp file that include it (usually
main.cpp).
2015-11-04 16:30:14 +00:00
Itay Grudev
e97a1e6b10 Updated implementation description 2015-06-09 17:37:39 +03:00
Itay Grudev
219383657a QApplication inherit macro 2015-06-09 17:29:20 +03:00
Itay Grudev
2dd9a4e553 Fixed race condition #3! Library version 2.1; Explained implementation in README 2015-06-06 00:32:50 +03:00
Itay Grudev
8a62700bb0 Added known bug remark
This bug is related to issue #3. I expect to push a solution soon
2015-05-07 16:53:41 +01:00
Itay Grudev
f170f1c73a Update README.md 2015-02-26 19:37:43 +00:00