#include </home/clem/local/src/opie/core/launcher/launcher.h>
Inheritance diagram for Launcher:


Public Slots | |
| void | viewSelected (const QString &) |
| void | showTab (const QString &) |
| void | select (const AppLnk *) |
| void | properties (AppLnk *) |
| void | makeVisible () |
Signals | |
| void | executing (const AppLnk *) |
Public Member Functions | |
| Launcher () | |
| ~Launcher () | |
| void | createGUI () |
| void | destroyGUI () |
| void | typeAdded (const QString &type, const QString &name, const QPixmap &pixmap, const QPixmap &bgPixmap) |
| void | typeRemoved (const QString &type) |
| void | applicationAdded (const QString &type, const AppLnk &doc) |
| void | applicationRemoved (const QString &type, const AppLnk &doc) |
| void | allApplicationsRemoved () |
| void | applicationStateChanged (const QString &name, ApplicationState state) |
| void | documentAdded (const DocLnk &doc) |
| void | documentRemoved (const DocLnk &doc) |
| void | aboutToAddBegin () |
| void | aboutToAddEnd () |
| void | allDocumentsRemoved () |
| void | documentChanged (const DocLnk &oldDoc, const DocLnk &newDoc) |
| void | storageChanged (const QList< FileSystem > &) |
| void | applicationScanningProgress (int percent) |
| void | documentScanningProgress (int percent) |
| bool | requiresApplications () const |
| bool | requiresDocuments () const |
| void | showLoadingDocs () |
| void | showDocTab () |
| QStringList | idList () const |
Protected Member Functions | |
| bool | eventFilter (QObject *o, QEvent *ev) |
Private Slots | |
| void | systemMessage (const QCString &, const QByteArray &) |
Private Member Functions | |
| void | updateApps () |
| void | loadDocs () |
| void | updateDocs () |
| void | updateTabs () |
Private Attributes | |
| LauncherTabWidget * | tabs |
| QStringList | ids |
| TaskBar * | tb |
| bool | docTabEnabled |
|
|
Definition at line 497 of file launcher.cpp. References docTabEnabled, Config::readBoolEntry(), Config::setGroup(), tabs, and tb. |
|
|
Definition at line 548 of file launcher.cpp. References destroyGUI(), and tb. |
|
|
Reimplemented from ServerInterface. Definition at line 739 of file launcher.cpp. References LauncherTabWidget::docView(), and tabs. |
|
|
Reimplemented from ServerInterface. Definition at line 744 of file launcher.cpp. References LauncherTabWidget::docView(), and tabs. |
|
|
Remove all applications from the launcher. Implements ServerInterface. Definition at line 727 of file launcher.cpp. References QValueList< T >::begin(), MimeType::clear(), QValueList< T >::end(), ids, tabs, and LauncherTabWidget::view(). |
|
|
Remove all documents from the launcher. Implements ServerInterface. Definition at line 776 of file launcher.cpp. References LauncherTabWidget::docView(), and tabs. |
|
||||||||||||
|
Add an application app of type type to the launcher.
Implements ServerInterface. Definition at line 703 of file launcher.cpp. References FALSE, owarn, MimeType::registerApp(), tabs, AppLnk::type(), and LauncherTabWidget::view(). |
|
||||||||||||
|
Remove an application app of type type from the launcher.
Implements ServerInterface. Definition at line 718 of file launcher.cpp. References AppLnk::linkFile(), oendl, owarn, tabs, and LauncherTabWidget::view(). |
|
|
The system is scanning for installed applications. percent provides the percentage of the filesystems scanned. This function will always be called with percent equal to zero when scanning starts, and with percent equal to 100 when scanning is complete. Implements ServerInterface. Definition at line 786 of file launcher.cpp. References QValueList< T >::begin(), QValueList< T >::end(), FALSE, ids, TaskBar::refreshStartMenu(), tabs, tb, TRUE, and LauncherTabWidget::view(). |
|
||||||||||||
|
The application name has changed state to state. This can be used to show launch notification and update a list of running applications. Implements ServerInterface. Definition at line 781 of file launcher.cpp. References TaskBar::setApplicationState(), and tb. |
|
|
Implement this function to create the custom launcher UI. Implements ServerInterface. Definition at line 507 of file launcher.cpp. References ServerInterface::Bottom, ServerInterface::dockWidget(), Resource::loadPixmap(), makeVisible(), LauncherTabWidget::newView(), properties(), qApp, select(), showTab(), SmallIcon(), systemMessage(), tabs, tb, tr, TRUE, and viewSelected(). |
|
|
Implement this function to destroy the custom launcher UI. All resources allocated by createGUI() must be released. Implements ServerInterface. Definition at line 566 of file launcher.cpp. Referenced by ~Launcher(). |
|
|
Add a document doc to the launcher.
Implements ServerInterface. Definition at line 734 of file launcher.cpp. References LauncherTabWidget::docView(), FALSE, and tabs. Referenced by documentChanged(). |
|
||||||||||||
|
Change document properties of existing document oldDoc to newDoc. Implements ServerInterface. Definition at line 765 of file launcher.cpp. References documentAdded(), documentRemoved(), LauncherTabWidget::docView(), and tabs. |
|
|
Remove a document doc to the launcher.
Implements ServerInterface. Definition at line 760 of file launcher.cpp. References LauncherTabWidget::docView(), AppLnk::linkFile(), and tabs. Referenced by documentChanged(). |
|
|
The system is scanning for documents. percent provides the percentage of the filesystems scanned. This function will always be called with percent equal to zero when scanning starts, and with percent equal to 100 when scanning is complete. Implements ServerInterface. Definition at line 809 of file launcher.cpp. References LauncherTabWidget::docView(), FALSE, LauncherTabWidget::setLoadingProgress(), LauncherTabWidget::setLoadingWidgetEnabled(), tabs, and TRUE. |
|
||||||||||||
|
Definition at line 574 of file launcher.cpp. References active, FALSE, Qt::Key_F11, KeyPress, TaskBar::launchStartMenu(), qApp, tb, Global::terminateBuiltin(), and TRUE. |
|
|
Referenced by select(). |
|
|
Definition at line 128 of file launcher.h. References ids. |
|
|
|
|
|
Definition at line 561 of file launcher.cpp. References showMaximized. Referenced by createGUI(). |
|
|
Definition at line 642 of file launcher.cpp. References LauncherTabWidget::currentView(), LauncherTabWidget::docView(), QPEApplication::execDialog(), prop, tabs, and AppLnk::type(). Referenced by createGUI(). |
|
|
Return TRUE if the custom launcher requires the server to scan for applications. Implements ServerInterface. Definition at line 123 of file launcher.h. References TRUE. |
|
|
Return TRUE if the custom launcher requires the server to scan for documents. Implements ServerInterface. Definition at line 554 of file launcher.cpp. References Config::readBoolEntry(), and Config::setGroup(). |
|
|
Definition at line 620 of file launcher.cpp. References AppLnk::exec(), Global::execute(), executing(), AppLnk::file(), i, LauncherTabWidget::setBusy(), tabs, tr, TRUE, and AppLnk::type(). Referenced by createGUI(). |
|
|
Definition at line 754 of file launcher.cpp. References LauncherTabWidget::categoryBar, LauncherTabBar::currentView(), LauncherTabWidget::docView(), and tabs. |
|
|
Definition at line 749 of file launcher.cpp. References LauncherTabWidget::docView(), and tabs. |
|
|
Definition at line 614 of file launcher.cpp. References LauncherTabWidget::categoryBar, LauncherTabBar::showTab(), and tabs. Referenced by createGUI(). |
|
|
A filesystem has been added or removed. Implements ServerInterface. Definition at line 655 of file launcher.cpp. |
|
||||||||||||
|
Definition at line 660 of file launcher.cpp. References app, LauncherTabWidget::currentView(), FALSE, IO_ReadOnly, LauncherTabWidget::setBusy(), TaskBar::startWait(), TaskBar::stopWait(), stream, tabs, and tb. Referenced by createGUI(). |
|
||||||||||||||||||||
|
An application category type has been added, for example "Games". name is the translated name of the category. pixmap and bgPixmap are small and large icons for the new type. Types can be added or removed at any time, for example, when a storage card containing a non-standard category is inserted or removed.
Implements ServerInterface. Definition at line 676 of file launcher.cpp. References QValueList< T >::append(), LauncherTabWidget::categoryBar, FALSE, ids, LauncherTabWidget::newView(), LauncherTabBar::showTab(), tabs, TRUE, and LauncherTabWidget::view(). |
|
|
An application category type has been removed. Types can be added or removed at any time, for example, when a storage card containing a non-standard category is inserted or removed.
Implements ServerInterface. Definition at line 694 of file launcher.cpp. References LauncherTabWidget::deleteView(), ids, QValueList< T >::remove(), tabs, and LauncherTabWidget::view(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 609 of file launcher.cpp. References tr. Referenced by createGUI(). |
|
|
Definition at line 156 of file launcher.h. Referenced by Launcher(). |
|
|
Definition at line 153 of file launcher.h. Referenced by allApplicationsRemoved(), applicationScanningProgress(), idList(), typeAdded(), and typeRemoved(). |
|
|
Definition at line 152 of file launcher.h. Referenced by aboutToAddBegin(), aboutToAddEnd(), allApplicationsRemoved(), allDocumentsRemoved(), applicationAdded(), applicationRemoved(), applicationScanningProgress(), createGUI(), destroyGUI(), documentAdded(), documentChanged(), documentRemoved(), documentScanningProgress(), Launcher(), properties(), select(), showDocTab(), showLoadingDocs(), showTab(), systemMessage(), typeAdded(), and typeRemoved(). |
|
|
Definition at line 154 of file launcher.h. Referenced by applicationScanningProgress(), applicationStateChanged(), createGUI(), destroyGUI(), eventFilter(), Launcher(), systemMessage(), and ~Launcher(). |
1.4.2