aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.h
Commit message (Collapse)AuthorAgeFilesLines
* Add SingleApplication::currentUser()Leander Schulten2020-03-271-0/+6
|
* v3.1.0a Added primaryUser()Itay Grudev2020-03-031-0/+6
| | | | Closes #95
* Fix spelling and typos (#70)Jonas Kvinge2019-08-231-2/+2
|
* Proposed SA changes still containing a race condition (#48)3.0.11aItay Grudev2018-07-271-2/+2
|
* Primary PID support (#36)v3.0.9Itay Grudev2017-10-021-1/+7
| | | | | | | | | | | * 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()
* Allow data exclusion for the server name hash and Windows fixes (#16)Le Liu2016-11-261-1/+3
| | | | | | | | | * Allows the application path and version to be excluded from the server name hash. The following flags were added for this purpose: * `SingleApplication::Mode::ExcludeAppVersion` * `SingleApplication::Mode::ExcludeAppPath` * Allow a non elevated process to connect to a local server created by an elevated process run by the same user on Windows * Fixes a problem with upper case letters in paths on Windows
* SingleApplication v3.0aItay Grudev2016-08-101-8/+71
|
* Updated license dates. Explicit license statement in the header and source filesItay Grudev2016-07-041-0/+22
|
* QAPPLICATION_CLASS now defaults to QCoreApplicationItay Grudev2016-05-091-1/+1
|
* Code style improvementsv2.4Itay Grudev2016-05-041-3/+2
|
* Secondary instance implementationItay Grudev2016-05-041-1/+4
|
* Ensure backward compatibility and some cosmetic changes.Vlad Pyatnichenko2016-04-051-0/+4
|
* Adaptation to Qt's pimpl idiom design. Improved inheritance safety.Vlad Pyatnichenko2016-03-051-16/+16
| | | | | | | | | | | | | | | | | | | | | | 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.
* Improved QAPPLICATION_CLASS macroItay Grudev2015-11-041-1/+3
| | | | | Now it can be defined in the cpp file that include it (usually main.cpp).
* QApplication inherit macroItay Grudev2015-06-091-2/+7
|
* Fixed race condition #3! Library version 2.1; Explained implementation in READMEItay Grudev2015-06-061-5/+3
|
* Bugfix: SingleApplication passing a copy of argc instead of referencev2.0Itay Grudev2015-04-071-1/+1
| | | | | | | | QApplication uses a reference of argc so it could modify it's value when it substitutes known arguments for example. Thanks to @Chocobozzz for reporting the issue. https://github.com/itay-grudev/SingleApplication/issues/1
* Fixed new line issueItay Grudev2015-02-261-3/+1
|
* Completly rewritten and simplified sourceItay Grudev2015-02-261-14/+14
|
* Add base filesItay Grudev2012-12-231-0/+33