#include </home/clem/local/src/opie/noncore/applets/keyhelper/keyhelperapplet/extension/MenuLauncher.h>
Inheritance diagram for MenuLauncher:


Public Types | |
| typedef QValueList< ItemInfo > | ItemList |
Public Slots | |
| void | show () |
| void | select () |
| void | select (int id) |
| void | highlight (int id) |
Public Member Functions | |
| MenuLauncher (const QString &kind="menu") | |
| virtual | ~MenuLauncher () |
| virtual bool | onKeyPress (int keycode) |
| virtual bool | onModRelease (int modcode) |
| virtual int | getKeycode () |
| virtual int | getKeymask () |
| virtual const QValueList< int > & | getModcodes () |
| virtual void | setKeycode (int keycode) |
| virtual void | setKeymask (int keymask) |
| virtual void | setModcodes (const QValueList< int > &modcodes) |
| virtual const QString & | kind () |
Private Slots | |
| bool | eventFilter (QObject *o, QEvent *e) |
| void | execute () |
Private Member Functions | |
| QString | getMenuText (const QString &key, const QString &name) |
| QPopupMenu * | initMenu (QWidget *parent, const QString &name) |
| int | buildMenu (bool force=false) |
| int | buildMenu (const QString §ion, QPopupMenu *pMenu, int &id) |
| void | clearSubMenu () |
| void | init () |
| void | next () |
Private Attributes | |
| int | m_keycode |
| int | m_keymask |
| QString | m_kind |
| QValueList< int > | m_modcodes |
| int | m_submenuTimeout |
| bool | m_isShowing |
| bool | m_enablePopup |
| int | m_id |
| QPopupMenu * | m_pMenu |
| QPopupMenu * | m_pTopMenu |
| QDateTime | m_lastmodify |
| QMap< QObject *, int > | m_oLastId |
| QValueList< QPopupMenu * > | m_oMenuList |
| ItemList | m_oItemList |
| QTimer * | m_pTimer |
| QStringList | m_args |
|
|
Definition at line 40 of file MenuLauncher.h. |
|
|
Definition at line 4 of file MenuLauncher.cpp. References init(), m_id, m_isShowing, m_pMenu, m_pTimer, m_pTopMenu, NULL, qDebug(), and select(). |
|
|
Definition at line 19 of file MenuLauncher.cpp. References m_pTimer, m_pTopMenu, and qDebug(). |
|
||||||||||||||||
|
|
Definition at line 149 of file MenuLauncher.cpp. References QValueList< T >::clear(), QMap< Key, T >::clear(), g_Widget, ConfigEx::getGroup(), ConfigEx::getInstance(), initMenu(), kind(), ConfigEx::lastRead(), m_lastmodify, m_oItemList, m_oLastId, m_oMenuList, m_pMenu, m_pTopMenu, m_submenuTimeout, qDebug(), Config::readNumEntry(), and Config::setGroup(). Referenced by buildMenu(), init(), and show(). |
|
|
Definition at line 137 of file MenuLauncher.cpp. References QValueList< T >::begin(), QValueList< T >::clear(), QValueList< T >::end(), m_oItemList, m_oMenuList, and m_pTopMenu. |
|
||||||||||||
|
Definition at line 295 of file MenuLauncher.cpp. References QMap< Key, T >::contains(), Qt::Key_Space, m_id, m_oLastId, m_pMenu, m_pTopMenu, and select(). |
|
|
Definition at line 266 of file MenuLauncher.cpp. References QValueList< T >::clear(), LnkWrapper::instance(), LnkWrapper::isValid(), and m_args. Referenced by select(). |
|
|
Implements ExtensionInterface. Definition at line 44 of file MenuLauncher.h. References m_keycode. |
|
|
Implements ExtensionInterface. Definition at line 48 of file MenuLauncher.h. References m_keymask. |
|
||||||||||||
|
Definition at line 68 of file MenuLauncher.cpp. References QString::append(), len, QString::length(), QRegExp::match(), QString::mid(), and text. Referenced by buildMenu(). |
|
|
Implements ExtensionInterface. Definition at line 52 of file MenuLauncher.h. References m_modcodes. |
|
|
Definition at line 275 of file MenuLauncher.cpp. References m_enablePopup, m_id, m_pMenu, m_pTimer, and m_submenuTimeout. Referenced by initMenu(). |
|
|
Definition at line 26 of file MenuLauncher.cpp. References buildMenu(). Referenced by MenuLauncher(). |
|
||||||||||||
|
Definition at line 31 of file MenuLauncher.cpp. References highlight(), and select(). Referenced by buildMenu(). |
|
|
Implements ExtensionInterface. Definition at line 68 of file MenuLauncher.h. References m_kind. Referenced by buildMenu(), and show(). |
|
|
Definition at line 209 of file MenuLauncher.cpp. References m_id, m_pMenu, and m_pTopMenu. Referenced by onKeyPress(). |
|
|
Implements ExtensionInterface. Definition at line 42 of file MenuLauncher.cpp. References ConfigEx::getInstance(), m_isShowing, m_pMenu, next(), qDebug(), Config::readNumEntry(), Config::setGroup(), and show(). |
|
|
Implements ExtensionInterface. Definition at line 58 of file MenuLauncher.cpp. |
|
|
Definition at line 238 of file MenuLauncher.cpp. References execute(), ConfigEx::getInstance(), LnkWrapper::instance(), LnkWrapper::isValid(), m_args, m_id, m_oItemList, m_pMenu, m_pTopMenu, QString::null, Config::readListEntry(), Config::readNumEntry(), Config::setGroup(), and QString::upper(). |
|
|
Definition at line 224 of file MenuLauncher.cpp. References m_id, m_pMenu, and p. Referenced by eventFilter(), initMenu(), MenuLauncher(), and onModRelease(). |
|
|
Implements ExtensionInterface. Definition at line 56 of file MenuLauncher.h. References m_keycode. |
|
|
Implements ExtensionInterface. Definition at line 60 of file MenuLauncher.h. References m_keymask. |
|
|
Implements ExtensionInterface. Definition at line 64 of file MenuLauncher.h. References m_modcodes. |
|
|
Definition at line 184 of file MenuLauncher.cpp. References buildMenu(), ConfigEx::getInstance(), Config::hasKey(), kind(), list, m_enablePopup, m_isShowing, m_pMenu, m_pTopMenu, pos, Config::readListEntry(), Config::setGroup(), Opie::MM::x, and Opie::MM::y. Referenced by onKeyPress(). |
|
|
Definition at line 96 of file MenuLauncher.h. |
|
|
Definition at line 85 of file MenuLauncher.h. Referenced by highlight(), and show(). |
|
|
Definition at line 86 of file MenuLauncher.h. Referenced by eventFilter(), highlight(), MenuLauncher(), next(), and select(). |
|
|
Definition at line 84 of file MenuLauncher.h. Referenced by MenuLauncher(), onKeyPress(), and show(). |
|
|
Definition at line 78 of file MenuLauncher.h. Referenced by getKeycode(), and setKeycode(). |
|
|
Definition at line 79 of file MenuLauncher.h. Referenced by getKeymask(), and setKeymask(). |
|
|
Definition at line 80 of file MenuLauncher.h. Referenced by kind(). |
|
|
Definition at line 89 of file MenuLauncher.h. Referenced by buildMenu(). |
|
|
Definition at line 81 of file MenuLauncher.h. Referenced by getModcodes(), and setModcodes(). |
|
|
Definition at line 93 of file MenuLauncher.h. Referenced by buildMenu(), clearSubMenu(), and select(). |
|
|
Definition at line 91 of file MenuLauncher.h. Referenced by buildMenu(), and eventFilter(). |
|
|
Definition at line 92 of file MenuLauncher.h. Referenced by buildMenu(), and clearSubMenu(). |
|
|
Definition at line 87 of file MenuLauncher.h. Referenced by buildMenu(), eventFilter(), highlight(), MenuLauncher(), next(), onKeyPress(), onModRelease(), select(), and show(). |
|
|
Definition at line 94 of file MenuLauncher.h. Referenced by highlight(), MenuLauncher(), and ~MenuLauncher(). |
|
|
Definition at line 88 of file MenuLauncher.h. Referenced by buildMenu(), clearSubMenu(), eventFilter(), MenuLauncher(), next(), select(), show(), and ~MenuLauncher(). |
|
|
Definition at line 83 of file MenuLauncher.h. Referenced by buildMenu(), and highlight(). |
1.4.2