-rw-r--r-- | libopie2/opiecore/okeyconfigmanager.cpp | 10 | ||||
-rw-r--r-- | libopie2/opiecore/okeyconfigmanager.h | 7 |
2 files changed, 14 insertions, 3 deletions
diff --git a/libopie2/opiecore/okeyconfigmanager.cpp b/libopie2/opiecore/okeyconfigmanager.cpp index ccb96cc..891cda7 100644 --- a/libopie2/opiecore/okeyconfigmanager.cpp +++ b/libopie2/opiecore/okeyconfigmanager.cpp | |||
@@ -638,6 +638,9 @@ Opie::Core::OKeyConfigItem::List OKeyConfigManager::keyConfigList()const{ | |||
638 | /** | 638 | /** |
639 | * Add this OKeyPair to the blackList. | 639 | * Add this OKeyPair to the blackList. |
640 | * Internal lists will be destroyed | 640 | * Internal lists will be destroyed |
641 | * | ||
642 | * @see clearBlackList | ||
643 | * @see removeFromBlackList | ||
641 | */ | 644 | */ |
642 | void OKeyConfigManager::addToBlackList( const OKeyPair& key) { | 645 | void OKeyConfigManager::addToBlackList( const OKeyPair& key) { |
643 | m_blackKeys.append( key ); | 646 | m_blackKeys.append( key ); |
@@ -648,6 +651,9 @@ void OKeyConfigManager::addToBlackList( const OKeyPair& key) { | |||
648 | /** | 651 | /** |
649 | * Remove this OKeyPair from the black List | 652 | * Remove this OKeyPair from the black List |
650 | * Internal lists will be destroyed | 653 | * Internal lists will be destroyed |
654 | * | ||
655 | * @see addToBlackList | ||
656 | * @see clearBlackList | ||
651 | */ | 657 | */ |
652 | void OKeyConfigManager::removeFromBlackList( const OKeyPair& key ) { | 658 | void OKeyConfigManager::removeFromBlackList( const OKeyPair& key ) { |
653 | m_blackKeys.remove( key ); | 659 | m_blackKeys.remove( key ); |
@@ -666,6 +672,10 @@ void OKeyConfigManager::clearBlackList() { | |||
666 | 672 | ||
667 | /** | 673 | /** |
668 | * Return a copy of the blackList | 674 | * Return a copy of the blackList |
675 | * | ||
676 | * @see addToBlackList | ||
677 | * @see clearBlackList | ||
678 | * @see removeFromBlackList | ||
669 | */ | 679 | */ |
670 | OKeyPair::List OKeyConfigManager::blackList()const { | 680 | OKeyPair::List OKeyConfigManager::blackList()const { |
671 | return m_blackKeys; | 681 | return m_blackKeys; |
diff --git a/libopie2/opiecore/okeyconfigmanager.h b/libopie2/opiecore/okeyconfigmanager.h index d0a6247..12804ee 100644 --- a/libopie2/opiecore/okeyconfigmanager.h +++ b/libopie2/opiecore/okeyconfigmanager.h | |||
@@ -66,7 +66,7 @@ private: | |||
66 | * Pixmap, A default OKeyPair and the set OKeyPair. | 66 | * Pixmap, A default OKeyPair and the set OKeyPair. |
67 | * You can also pass an id to it | 67 | * You can also pass an id to it |
68 | * | 68 | * |
69 | * @since 1.1.2 | 69 | * @since 1.2 |
70 | */ | 70 | */ |
71 | class OKeyConfigItem { | 71 | class OKeyConfigItem { |
72 | friend class OKeyConfigManager; | 72 | friend class OKeyConfigManager; |
@@ -156,9 +156,12 @@ public: | |||
156 | const char* name = 0 ); | 156 | const char* name = 0 ); |
157 | virtual ~OKeyConfigManager(); | 157 | virtual ~OKeyConfigManager(); |
158 | 158 | ||
159 | public slots: | ||
159 | virtual void load(); | 160 | virtual void load(); |
160 | virtual void save(); | 161 | virtual void save(); |
162 | void handleWidget( QWidget* ); | ||
161 | 163 | ||
164 | public: | ||
162 | virtual OKeyConfigItem handleKeyEvent( QKeyEvent* ); | 165 | virtual OKeyConfigItem handleKeyEvent( QKeyEvent* ); |
163 | int handleKeyEventId( QKeyEvent* ); | 166 | int handleKeyEventId( QKeyEvent* ); |
164 | 167 | ||
@@ -171,8 +174,6 @@ public: | |||
171 | void clearBlackList(); | 174 | void clearBlackList(); |
172 | OKeyPair::List blackList()const; | 175 | OKeyPair::List blackList()const; |
173 | 176 | ||
174 | void handleWidget( QWidget* ); | ||
175 | |||
176 | bool eventFilter( QObject*, QEvent* ); | 177 | bool eventFilter( QObject*, QEvent* ); |
177 | 178 | ||
178 | /** | 179 | /** |