summaryrefslogtreecommitdiff
path: root/core/launcher/runningappbar.h
Unidiff
Diffstat (limited to 'core/launcher/runningappbar.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/runningappbar.h8
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 @@
28class AppLnk; 28class AppLnk;
29class AppLnkSet; 29class AppLnkSet;
30class QCString; 30class QCString;
31class QProcess; 31class QProcess;
32class QMessageBox; 32class QMessageBox;
33 33
34class RunningAppBar : public QFrame { 34class 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 */
65class AppMonitor : public QObject { 66class 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