author | zecke <zecke> | 2004-09-10 11:04:16 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:04:16 (UTC) |
commit | 2ec724fc789cd34f6b3743896516f2fef2731456 (patch) (unidiff) | |
tree | 67830cb237efa4201ff530bb0c66e496222a5fd3 /libopie2 | |
parent | 29ed6115bd14aa95d29cf922fd179a6e470b5d53 (diff) | |
download | opie-2ec724fc789cd34f6b3743896516f2fef2731456.zip opie-2ec724fc789cd34f6b3743896516f2fef2731456.tar.gz opie-2ec724fc789cd34f6b3743896516f2fef2731456.tar.bz2 |
Move handleWidget of OKeyConfigManager to a slot
Add some @see statements to the OKeyConfigManager
-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 | |||
@@ -639,4 +639,7 @@ Opie::Core::OKeyConfigItem::List OKeyConfigManager::keyConfigList()const{ | |||
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) { |
@@ -649,4 +652,7 @@ void OKeyConfigManager::addToBlackList( const OKeyPair& key) { | |||
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 ) { |
@@ -667,4 +673,8 @@ void OKeyConfigManager::clearBlackList() { | |||
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 { |
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 | |||
@@ -67,5 +67,5 @@ private: | |||
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 { |
@@ -157,7 +157,10 @@ public: | |||
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* ); |
@@ -172,6 +175,4 @@ public: | |||
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 | ||