-rw-r--r-- | core/launcher/applauncher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/applauncher.h b/core/launcher/applauncher.h index 6a1e416..4fd5491 100644 --- a/core/launcher/applauncher.h +++ b/core/launcher/applauncher.h | |||
@@ -1,56 +1,56 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef APP_LAUNCHER_H | 21 | #ifndef APP_LAUNCHER_H |
22 | #define APP_LAUNCHER_H | 22 | #define APP_LAUNCHER_H |
23 | 23 | ||
24 | #include <qtopia/qpeglobal.h> | 24 | #include <qtopia/global.h> |
25 | #include <qobject.h> | 25 | #include <qobject.h> |
26 | #include <qmap.h> | 26 | #include <qmap.h> |
27 | #ifdef Q_OS_WIN32 | 27 | #ifdef Q_OS_WIN32 |
28 | #include <qtopia/qprocess.h> | 28 | #include <qtopia/qprocess.h> |
29 | #include <qlist.h> | 29 | #include <qlist.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | class QMessageBox; | 32 | class QMessageBox; |
33 | 33 | ||
34 | class AppLauncher : public QObject | 34 | class AppLauncher : public QObject |
35 | { | 35 | { |
36 | Q_OBJECT | 36 | Q_OBJECT |
37 | public: | 37 | public: |
38 | AppLauncher(QObject *parent = 0, const char *name = 0); | 38 | AppLauncher(QObject *parent = 0, const char *name = 0); |
39 | ~AppLauncher(); | 39 | ~AppLauncher(); |
40 | 40 | ||
41 | bool isRunning(const QString &app); | 41 | bool isRunning(const QString &app); |
42 | 42 | ||
43 | static const int RAISE_TIMEOUT_MS; | 43 | static const int RAISE_TIMEOUT_MS; |
44 | 44 | ||
45 | signals: | 45 | signals: |
46 | void launched(int pid, const QString &app); | 46 | void launched(int pid, const QString &app); |
47 | void terminated(int pid, const QString &app); | 47 | void terminated(int pid, const QString &app); |
48 | void connected(const QString &app); | 48 | void connected(const QString &app); |
49 | 49 | ||
50 | protected slots: | 50 | protected slots: |
51 | void sigStopped(int sigPid, int sigStatus); | 51 | void sigStopped(int sigPid, int sigStatus); |
52 | void received(const QCString& msg, const QByteArray& data); | 52 | void received(const QCString& msg, const QByteArray& data); |
53 | void newQcopChannel(const QString& channel); | 53 | void newQcopChannel(const QString& channel); |
54 | void removedQcopChannel(const QString& channel); | 54 | void removedQcopChannel(const QString& channel); |
55 | void createQuickLauncher(); | 55 | void createQuickLauncher(); |
56 | void processExited(); | 56 | void processExited(); |