| 1 | /*! |
| 2 | \page index.html |
| 3 | \title Single Application |
| 4 | |
| 5 | \section1 Description |
| 6 | |
| 7 | The QtSingleApplication component provides support |
| 8 | for applications that can be only started once per user. |
| 9 | |
| 10 | |
| 11 | |
| 12 | For some applications it is useful or even critical that they are started |
| 13 | only once by any user. Future attempts to start the application should |
| 14 | activate any already running instance, and possibly perform requested |
| 15 | actions, e.g. loading a file, in that instance. |
| 16 | |
| 17 | The QtSingleApplication class provides an interface to detect a running |
| 18 | instance, and to send command strings to that instance. |
| 19 | For console (non-GUI) applications, the QtSingleCoreApplication variant is provided, which avoids dependency on QtGui. |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | \section1 Classes |
| 25 | \list |
| 26 | \i QtSingleApplication \i QtSingleCoreApplication\endlist |
| 27 | |
| 28 | \section1 Examples |
| 29 | \list |
| 30 | \i \link qtsingleapplication-example-trivial.html A Trivial Example \endlink \i \link qtsingleapplication-example-loader.html Loading Documents \endlink \i \link qtsinglecoreapplication-example-console.html A Non-GUI Example \endlink \endlist |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | \section1 Tested platforms |
| 38 | \list |
| 39 | \i Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005 |
| 40 | \i Qt 4.4, 4.5 / Linux / gcc |
| 41 | \i Qt 4.4, 4.5 / MacOS X 10.5 / gcc |
| 42 | \endlist |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | */ |