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/opiecore/okeyconfigmanager.cpp | |
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
Diffstat (limited to 'libopie2/opiecore/okeyconfigmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/okeyconfigmanager.cpp | 10 |
1 files changed, 10 insertions, 0 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 | |||
@@ -629,52 +629,62 @@ void OKeyConfigManager::clearKeyConfig() { | |||
629 | } | 629 | } |
630 | 630 | ||
631 | /** | 631 | /** |
632 | * | 632 | * |
633 | */ | 633 | */ |
634 | Opie::Core::OKeyConfigItem::List OKeyConfigManager::keyConfigList()const{ | 634 | Opie::Core::OKeyConfigItem::List OKeyConfigManager::keyConfigList()const{ |
635 | return m_keys; | 635 | return m_keys; |
636 | } | 636 | } |
637 | 637 | ||
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 ); |
644 | delete m_map; m_map = 0; | 647 | delete m_map; m_map = 0; |
645 | } | 648 | } |
646 | 649 | ||
647 | 650 | ||
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 ); |
654 | delete m_map; m_map = 0; | 660 | delete m_map; m_map = 0; |
655 | } | 661 | } |
656 | 662 | ||
657 | 663 | ||
658 | /** | 664 | /** |
659 | * Clear the blackList | 665 | * Clear the blackList |
660 | */ | 666 | */ |
661 | void OKeyConfigManager::clearBlackList() { | 667 | void OKeyConfigManager::clearBlackList() { |
662 | m_blackKeys.clear(); | 668 | m_blackKeys.clear(); |
663 | delete m_map; m_map = 0; | 669 | delete m_map; m_map = 0; |
664 | } | 670 | } |
665 | 671 | ||
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; |
672 | } | 682 | } |
673 | 683 | ||
674 | 684 | ||
675 | /** | 685 | /** |
676 | * Ask the Manager to handle KeyEvents for you. | 686 | * Ask the Manager to handle KeyEvents for you. |
677 | * All handled keys will emit a QSignal and return true | 687 | * All handled keys will emit a QSignal and return true |
678 | * that it handled the keyevent | 688 | * that it handled the keyevent |
679 | */ | 689 | */ |
680 | void OKeyConfigManager::handleWidget( QWidget* wid ) { | 690 | void OKeyConfigManager::handleWidget( QWidget* wid ) { |