-rw-r--r-- | core/launcher/runningappbar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/launcher/runningappbar.h b/core/launcher/runningappbar.h index 880bb69..eb5880e 100644 --- a/core/launcher/runningappbar.h +++ b/core/launcher/runningappbar.h | |||
@@ -28,13 +28,14 @@ | |||
28 | class AppLnk; | 28 | class AppLnk; |
29 | class AppLnkSet; | 29 | class AppLnkSet; |
30 | class QCString; | 30 | class QCString; |
31 | class QProcess; | 31 | class QProcess; |
32 | class QMessageBox; | 32 | class QMessageBox; |
33 | 33 | ||
34 | class RunningAppBar : public QFrame { | 34 | class RunningAppBar : public QFrame |
35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT |
36 | 37 | ||
37 | public: | 38 | public: |
38 | RunningAppBar(QWidget* parent); | 39 | RunningAppBar(QWidget* parent); |
39 | ~RunningAppBar(); | 40 | ~RunningAppBar(); |
40 | 41 | ||
@@ -59,30 +60,29 @@ class RunningAppBar : public QFrame { | |||
59 | 60 | ||
60 | /** | 61 | /** |
61 | * Internal class that checks back in on the process when timerExpired is called | 62 | * Internal class that checks back in on the process when timerExpired is called |
62 | * to make sure the process is on top. If it's not it displays a dialog | 63 | * to make sure the process is on top. If it's not it displays a dialog |
63 | * box asking permission to kill it. | 64 | * box asking permission to kill it. |
64 | */ | 65 | */ |
65 | class AppMonitor : public QObject { | 66 | class AppMonitor : public QObject |
67 | { | ||
66 | Q_OBJECT | 68 | Q_OBJECT |
67 | 69 | ||
68 | public: | 70 | public: |
69 | static const int RAISE_TIMEOUT_MS; | 71 | static const int RAISE_TIMEOUT_MS; |
70 | 72 | ||
71 | AppMonitor(const AppLnk& app, RunningAppBar& owner); | 73 | AppMonitor(const AppLnk& app, RunningAppBar& owner); |
72 | ~AppMonitor(); | 74 | ~AppMonitor(); |
73 | 75 | ||
74 | private slots: | 76 | private slots: |
75 | void timerExpired(); | 77 | void timerExpired(); |
76 | void received(const QCString& msg, const QByteArray& data); | 78 | void received(const QCString& msg, const QByteArray& data); |
77 | void psProcFinished(); | ||
78 | 79 | ||
79 | private: | 80 | private: |
80 | RunningAppBar& m_Owner; | 81 | RunningAppBar& m_Owner; |
81 | const AppLnk& m_App; | 82 | const AppLnk& m_App; |
82 | QTimer m_Timer; | 83 | QTimer m_Timer; |
83 | QProcess* m_PsProc; | ||
84 | QMessageBox* m_AppKillerBox; | 84 | QMessageBox* m_AppKillerBox; |
85 | }; | 85 | }; |
86 | 86 | ||
87 | #endif | 87 | #endif |
88 | 88 | ||