summaryrefslogtreecommitdiffstats
path: root/qtsingleapplication/src
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersHEADmasterRalf Habacker2022-10-2410-390/+20
| | | | | | | Task-number: QTSOLBUG-205 Change-Id: I3374031a1c4ce0b806d4b3c8599fbba20099dfe3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* QtSingleApplication: Fix build with Qt 6Benjamin Terrier2022-03-171-1/+2
| | | | | | | Replace QRegExp by QRegularExpression Change-Id: I52e997452ad7d2d14de59ad8fae597de9aec262b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSingleApplication: compiler warning about enum comparisonPhilippe Steinmann2017-09-141-1/+1
| | | | | | | | Compiler outputs a warning because of comparison between QLocalSocket::LocalSocketState and QAbstractSocket::SocketState. Change-Id: Idbae5c3c32a32324e07972e0bb0808fc40ef7624 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSingleApplication: Bail out of read loop when peer disconnectsFriedemann Kleint2017-05-101-1/+10
| | | | | | | | | | | | | When messages are received while the event loop is inactive (for example, when locked by a native dialog), it can happen that a new connection is triggered which then goes into unconnected state when the peer terminates. Add a check to the loop and discard the connection in that case. Task-number: QTSOLBUG-193 Change-Id: I7d5502cb411d2b967bd06fe8734b97fee54b7d18 Reviewed-by: Joni Poikelin <joni.poikelin@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* QtSingleApplication: Fix build with Qt 5.5Jan Kundrát2015-06-291-0/+1
| | | | | | | | | ...due to the QDataStream include cleanup. Change-Id: I159b28a82abc9956802967d96b5b12f5fd46e961 Reviewed-by: Heiko Becker <heirecka@exherbo.org> Reviewed-by: Davide Pesavento <davidepesa@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* QtSingleApplication: Make sure client reads ack data before disconnectingNils Jeisecke2013-04-091-0/+1
| | | | | | | | | | This solves the problem on Windows that sometimes a second application instance is started. Task-number: QTSOLBUG-160 Change-Id: I6586e2ccfbc1d640bcf42bc3bdbeed32a981d842 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1010-10/+10
| | | | | Change-Id: I4520cf54a4c8d6ff6119dc3762d9aeac42b66af5 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Fix compilation of the QtSingleApplication solution with Qt 5.Friedemann Kleint2013-01-072-4/+8
| | | | | | Change-Id: I48c20f8b96306d56bb6c365f6cb12dac795a0905 Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Define QT_WA if using Qt 5Jonathan Liu2012-12-291-0/+4
| | | | | | | | Qt 5 always uses Unicode so define QT_WA to always select the Unicode path if using Qt 5. Change-Id: Ib0f0f403180442278728201c64cc79c284e2cb93 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Change Q_WS_WIN to Q_OS_WIN for Qt 5 compatibilityJonathan Liu2012-12-292-2/+2
| | | | | | | | Q_WS_WIN has been removed in Qt 5 so use Q_OS_WIN instead which exists in both Qt 4 and Qt 5 where appropriate. Change-Id: Icc9328f8d28da244dc828e670e2d6402c86a419b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add additional modules to QT variable if using Qt 5Jonathan Liu2012-12-291-0/+1
| | | | | Change-Id: I4532bb7de8a8772f08257ee3a14d28b0eda4e9bf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Remove module prefix from includesJonathan Liu2012-12-297-13/+13
| | | | | | | | The module prefix is not needed and removing it adds compatibility with Qt 5 which has classes moved into different modules. Change-Id: I20823be670d78ba6cc8eb0e5de1f4f3b6fa2edb6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Change copyright from Nokia to DigiaSergio Ahumada2012-12-2710-90/+100
| | | | | | Change-Id: Ie75877290e0bce06c8b5a24ed664e8aceaf2cac0 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix '::getuid' has not been declared compile errorJonathan Liu2012-12-211-0/+2
| | | | | | | Task-number: QTSOLBUG-102 Change-Id: Idd30a013e4b1d113531e2a90c4b15924ca005788 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Added multiple inclusion protection in .h files.Sam Protsenko2011-09-073-0/+12
| | | | | | Task-number: QTSOLBUG-146 Merge-request: 4 Reviewed-by: ossi
* Long live the Qt Solutions archive!aavit2010-10-0614-0/+1563
This commit adds the contents of distribution packages of the relevant subset of the Qt Solutions components, generated from the last versions in Perforce.