#include </home/clem/local/src/opie/core/launcher/applauncher.h>
Collaboration diagram for AppLauncher:

Signals | |
| void | launched (int pid, const QString &app) |
| void | terminated (int pid, const QString &app) |
| void | connected (const QString &app) |
Public Member Functions | |
| AppLauncher (QObject *parent=0, const char *name=0) | |
| ~AppLauncher () | |
| bool | isRunning (const QString &app) |
| const QMap< int, QString > & | runningApplications () |
Static Public Attributes | |
| static const int | RAISE_TIMEOUT_MS = 5000 |
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 Member Functions | |
| bool | event (QEvent *) |
| void | timerEvent (QTimerEvent *) |
Private Member Functions | |
| bool | executeBuiltin (const QString &c, const QString &document) |
| bool | execute (const QString &c, const QString &document, bool noRaise=FALSE) |
| void | kill (int pid) |
| int | pidForName (const QString &) |
Static Private Member Functions | |
| static void | signalHandler (int sig) |
Private Attributes | |
| QMap< int, QString > | runningApps |
| QMap< QString, int > | waitingHeartbeat |
| int | qlPid |
| bool | qlReady |
| QMessageBox * | appKillerBox |
| QString | appKillerName |
|
||||||||||||
|
Definition at line 80 of file applauncher.cpp. References channel, createQuickLauncher(), QString::findRev(), QString::mid(), newQcopChannel(), pos, qApp, received(), removedQcopChannel(), runningApps, signalHandler(), and TRUE. |
|
|
Definition at line 110 of file applauncher.cpp. |
|
|
Referenced by newQcopChannel(). |
|
|
Definition at line 637 of file applauncher.cpp. References FALSE, qlPid, qlReady, QPEApplication::qpeDir(), and TRUE. Referenced by AppLauncher(), execute(), and sigStopped(). |
|
|
Definition at line 249 of file applauncher.cpp. References appStopEventID, AppStoppedEvent::pid(), sigStopped(), AppStoppedEvent::status(), and TRUE. |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 440 of file applauncher.cpp. References Global::Command::documentary, FALSE, Global::Command::func, i, QString::isNull(), Qt::Key_F34, list, Global::setDocument(), QStringList::split(), and TRUE. Referenced by received(). |
|
|
Definition at line 421 of file applauncher.cpp. References QMap< Key, T >::begin(), QString::data(), QMap< Key, T >::end(), FALSE, odebug, oendl, QMap< Key, T >::remove(), runningApps, t, and TRUE. Referenced by execute(), FirstUse::nextDialog(), and received(). |
|
|
Definition at line 608 of file applauncher.cpp. Referenced by timerEvent(), and ~AppLauncher(). |
|
||||||||||||
|
Referenced by execute(). |
|
|
Definition at line 125 of file applauncher.cpp. References connected(), QString::length(), QString::mid(), odebug, oendl, pid, qlPid, qlReady, QString::startsWith(), and TRUE. Referenced by AppLauncher(). |
|
|
Definition at line 622 of file applauncher.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), pid, and runningApps. Referenced by timerEvent(). |
|
|
Definition at line 675 of file applauncher.cpp. References appKillerBox, appKillerName, QProcess::arguments(), QMap< Key, T >::begin(), QMap< Key, T >::end(), FALSE, QMap< Key, T >::find(), QString::null, odebug, QMap< Key, T >::remove(), QString::remove(), runningApps, terminated(), TRUE, and waitingHeartbeat. Referenced by execute(). |
|
||||||||||||
|
Definition at line 156 of file applauncher.cpp. References QValueList< T >::append(), appKillerBox, appKillerName, QMap< Key, T >::begin(), channel, QMap< Key, T >::contains(), d, QMap< Key, T >::end(), execute(), executeBuiltin(), f, QMap< Key, T >::find(), QFile::handle(), QMap< Key, T >::insert(), IO_Append, IO_ReadOnly, IO_WriteOnly, isRunning(), QString::null, odebug, oendl, QFile::open(), RAISE_TIMEOUT_MS, QMap< Key, T >::remove(), runningApps, stream, t, TRUE, and waitingHeartbeat. Referenced by AppLauncher(). |
|
|
Definition at line 148 of file applauncher.cpp. Referenced by AppLauncher(). |
|
|
Definition at line 42 of file applauncher.h. References runningApps. Referenced by Server::prepareDirectAccess(). |
|
|
Definition at line 234 of file applauncher.cpp. References odebug, oendl, and pid. Referenced by AppLauncher(). |
|
||||||||||||
|
Definition at line 300 of file applauncher.cpp. References app, appKillerBox, appKillerName, DocumentList::appLnkSet, createQuickLauncher(), QMap< Key, T >::end(), AppLnk::exec(), QFileInfo::exists(), FALSE, QMap< Key, T >::find(), AppLnkSet::findExec(), QString::fromLatin1(), AppLnk::name(), QString::null, odebug, oendl, owarn, qlPid, qlReady, Config::readListEntry(), QValueList< T >::remove(), QMap< Key, T >::remove(), QFile::remove(), runningApps, Config::setGroup(), QFileInfo::size(), str, terminated(), tr, TRUE, waitingHeartbeat, and Config::writeEntry(). Referenced by event(). |
|
||||||||||||
|
Referenced by processExited(), and sigStopped(). |
|
|
Definition at line 260 of file applauncher.cpp. References appKillerBox, appKillerName, QMap< Key, T >::begin(), QMap< Key, T >::end(), kill(), QString::null, pid, pidForName(), QMap< Key, T >::remove(), tr, and waitingHeartbeat. |
|
|
Definition at line 78 of file applauncher.h. Referenced by processExited(), received(), sigStopped(), and timerEvent(). |
|
|
Definition at line 79 of file applauncher.h. Referenced by execute(), processExited(), received(), sigStopped(), and timerEvent(). |
|
|
Definition at line 76 of file applauncher.h. Referenced by createQuickLauncher(), execute(), newQcopChannel(), sigStopped(), and ~AppLauncher(). |
|
|
Definition at line 77 of file applauncher.h. Referenced by createQuickLauncher(), execute(), newQcopChannel(), and sigStopped(). |
|
|
Definition at line 59 of file applauncher.cpp. Referenced by execute(), and received(). |
|
|
Definition at line 71 of file applauncher.h. Referenced by AppLauncher(), execute(), isRunning(), pidForName(), processExited(), received(), runningApplications(), and sigStopped(). |
|
|
Definition at line 72 of file applauncher.h. Referenced by execute(), processExited(), received(), sigStopped(), and timerEvent(). |
1.4.2