summaryrefslogtreecommitdiff
path: root/core/launcher/applauncher.h
Side-by-side diff
Diffstat (limited to 'core/launcher/applauncher.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/applauncher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/applauncher.h b/core/launcher/applauncher.h
index 4fd5491..22a458f 100644
--- a/core/launcher/applauncher.h
+++ b/core/launcher/applauncher.h
@@ -18,48 +18,49 @@
**
**********************************************************************/
#ifndef APP_LAUNCHER_H
#define APP_LAUNCHER_H
#include <qtopia/global.h>
#include <qobject.h>
#include <qmap.h>
#ifdef Q_OS_WIN32
#include <qtopia/qprocess.h>
#include <qlist.h>
#endif
class QMessageBox;
class AppLauncher : public QObject
{
Q_OBJECT
public:
AppLauncher(QObject *parent = 0, const char *name = 0);
~AppLauncher();
bool isRunning(const QString &app);
+ const QMap<int,QString> &runningApplications() { return runningApps; }
static const int RAISE_TIMEOUT_MS;
signals:
void launched(int pid, const QString &app);
void terminated(int pid, const QString &app);
void connected(const QString &app);
protected slots:
void sigStopped(int sigPid, int sigStatus);
void received(const QCString& msg, const QByteArray& data);
void newQcopChannel(const QString& channel);
void removedQcopChannel(const QString& channel);
void createQuickLauncher();
void processExited();
protected:
bool event(QEvent *);
void timerEvent( QTimerEvent * );
private:
static void signalHandler(int sig);
bool executeBuiltin(const QString &c, const QString &document);
bool execute(const QString &c, const QString &document, bool noRaise = FALSE);