#include </home/clem/local/src/opie/libopie2/opieui/okeyconfigwidget.h>
Collaboration diagram for Opie::Ui::OKeyConfigWidget:

Public Types | |
| enum | ChangeMode { Imediate, Queue } |
Public Member Functions | |
| OKeyConfigWidget (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| virtual | ~OKeyConfigWidget () |
| void | setChangeMode (enum ChangeMode) |
| ChangeMode | changeMode () const |
| void | insert (const QString &name, Opie::Core::OKeyConfigManager *) |
| void | load () |
| void | save () |
Protected Slots | |
| void | slotListViewItem (QListViewItem *) |
| void | slotNoKey () |
| void | slotDefaultKey () |
| void | slotCustomKey () |
| void | slotConfigure () |
Private Member Functions | |
| void | updateItem (Opie::Ui::Internal::OKeyListViewItem *man, const Opie::Core::OKeyPair &newItem) |
| void | initUi () |
Static Private Member Functions | |
| static bool | sanityCheck (Opie::Ui::Internal::OKeyListViewItem *man, const Opie::Core::OKeyPair &newItem) |
Private Attributes | |
| Opie::Ui::OListView * | m_view |
| Opie::Ui::Internal::OKeyConfigWidgetPrivateList | m_list |
| QLabel * | m_lbl |
| QPushButton * | m_btn |
| QRadioButton * | m_def |
| QRadioButton * | m_cus |
| QRadioButton * | m_none |
| QWidget * | m_box |
| ChangeMode | m_mode |
| Private * | d |
Normally subclassing this widget does not make much sense as the widget content as such is immutable. If I'm wrong I'm willing to learn and you could mail me which functions do make sense with virtual on it (zecke@handhelds.org).
Definition at line 48 of file okeyconfigwidget.h.
|
|
Immediate Apply the change directly to the underlying OKeyConfigManager Queue Save all items and then apply when you save() Definition at line 56 of file okeyconfigwidget.h. |
|
||||||||||||||||
|
This is a c'tor. You still need to pass the OKeyConfigManager and then issue a load. The default mode is Immediate Definition at line 105 of file okeyconfigwidget.cpp. References initUi(). |
|
|
c'tor Definition at line 115 of file okeyconfigwidget.cpp. |
|
|
return the current mode Definition at line 208 of file okeyconfigwidget.cpp. References m_mode. |
|
|
For internal use only.
Definition at line 122 of file okeyconfigwidget.cpp. References Opie::Ui::OListView::addColumn(), m_box, m_btn, m_cus, m_def, m_lbl, m_none, m_view, slotConfigure(), slotCustomKey(), slotDefaultKey(), slotListViewItem(), slotNoKey(), and tr. Referenced by OKeyConfigWidget(). |
|
||||||||||||
|
Referenced by IRCSettings::IRCSettings(), MainWindow::slotClicked(), and PMainWindow::slotConfig(). |
|
|
loads the items and allows editing them Definition at line 225 of file okeyconfigwidget.cpp. References QValueList< T >::begin(), QValueList< T >::end(), list, m_list, and m_view. Referenced by IRCSettings::IRCSettings(), MainWindow::slotClicked(), and PMainWindow::slotConfig(). |
|
||||||||||||
|
|
|
|
Saves if in Queue Mode. It'll update the supplied OKeyConfigManager objects. If in Queue mode it'll just return Definition at line 241 of file okeyconfigwidget.cpp. References Opie::Core::OKeyConfigManager::addKeyConfig(), Opie::Ui::Internal::OKeyListViewItem::item(), m_view, Opie::Ui::Internal::OKeyListViewItem::manager(), Opie::Ui::Internal::OKeyListViewItem::origItem(), and Opie::Core::OKeyConfigManager::removeKeyConfig(). Referenced by IRCSettings::accept(), and PMainWindow::slotConfig(). |
|
|
Set the ChangeMode. You need to call this function prior to load If you call this function past load the behaviour is undefined But caling load again is safe Definition at line 200 of file okeyconfigwidget.cpp. References m_mode. Referenced by IRCSettings::IRCSettings(), MainWindow::slotClicked(), and PMainWindow::slotConfig(). |
|
|
Definition at line 332 of file okeyconfigwidget.cpp. References QPEApplication::execDialog(), m_view, tr, and updateItem(). Referenced by initUi(). |
|
|
Definition at line 320 of file okeyconfigwidget.cpp. References m_btn, m_cus, m_def, m_none, and m_view. Referenced by initUi(). |
|
|
Definition at line 307 of file okeyconfigwidget.cpp. References Opie::Ui::Internal::OKeyListViewItem::item(), m_btn, m_cus, m_def, m_none, m_view, and updateItem(). Referenced by initUi(). |
|
|
For internal use only.
Definition at line 263 of file okeyconfigwidget.cpp. References Opie::Ui::Internal::OKeyListViewItem::item(), Opie::Core::OKeyConfigItem::keyPair(), m_box, m_btn, m_cus, m_def, m_lbl, m_none, and tr. Referenced by initUi(). |
|
|
Definition at line 289 of file okeyconfigwidget.cpp. References m_btn, m_cus, m_def, m_none, m_view, and updateItem(). Referenced by initUi(). |
|
||||||||||||
|
Referenced by slotConfigure(), slotDefaultKey(), and slotNoKey(). |
|
|
Definition at line 88 of file okeyconfigwidget.h. |
|
|
Definition at line 86 of file okeyconfigwidget.h. Referenced by initUi(), and slotListViewItem(). |
|
|
Definition at line 84 of file okeyconfigwidget.h. Referenced by initUi(), slotCustomKey(), slotDefaultKey(), slotListViewItem(), and slotNoKey(). |
|
|
Definition at line 85 of file okeyconfigwidget.h. Referenced by initUi(), slotCustomKey(), slotDefaultKey(), slotListViewItem(), and slotNoKey(). |
|
|
Definition at line 85 of file okeyconfigwidget.h. Referenced by initUi(), slotCustomKey(), slotDefaultKey(), slotListViewItem(), and slotNoKey(). |
|
|
Definition at line 83 of file okeyconfigwidget.h. Referenced by initUi(), and slotListViewItem(). |
|
|
Definition at line 82 of file okeyconfigwidget.h. Referenced by load(). |
|
|
Definition at line 87 of file okeyconfigwidget.h. Referenced by changeMode(), and setChangeMode(). |
|
|
Definition at line 85 of file okeyconfigwidget.h. Referenced by initUi(), slotCustomKey(), slotDefaultKey(), slotListViewItem(), and slotNoKey(). |
|
|
Definition at line 81 of file okeyconfigwidget.h. Referenced by initUi(), load(), save(), slotConfigure(), slotCustomKey(), slotDefaultKey(), and slotNoKey(). |
1.4.2