summaryrefslogtreecommitdiffabout
path: root/microkde/kdecore/kshortcut.h
Unidiff
Diffstat (limited to 'microkde/kdecore/kshortcut.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdecore/kshortcut.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/microkde/kdecore/kshortcut.h b/microkde/kdecore/kshortcut.h
index 4813734..244d590 100644
--- a/microkde/kdecore/kshortcut.h
+++ b/microkde/kdecore/kshortcut.h
@@ -542,94 +542,94 @@ class KKey
542 542
543class KShortcut 543class KShortcut
544{ 544{
545 public: 545 public:
546 /** 546 /**
547 * The maximum number of key sequences that can be contained in 547 * The maximum number of key sequences that can be contained in
548 * a KShortcut. 548 * a KShortcut.
549 */ 549 */
550 enum { MAX_SEQUENCES = 2 }; 550 enum { MAX_SEQUENCES = 2 };
551 551
552 /** 552 /**
553 * Creates a new null shortcut. 553 * Creates a new null shortcut.
554 * @see null() 554 * @see null()
555 * @see isNull() 555 * @see isNull()
556 * @see clear() 556 * @see clear()
557 */ 557 */
558 KShortcut() {} 558 KShortcut() {}
559 559
560 /** 560 /**
561 * Creates a new shortcut with the given Qt key code 561 * Creates a new shortcut with the given Qt key code
562 * as the only key sequence. 562 * as the only key sequence.
563 * @param keyQt the qt keycode 563 * @param keyQt the qt keycode
564 * @see Qt::Key 564 * @see Qt::Key
565 */ 565 */
566 KShortcut( int keyQt ) {} 566 KShortcut( int /*keyQt */) {}
567 567
568 /** 568 /**
569 * Creates a new shortcut that contains only the given qt key 569 * Creates a new shortcut that contains only the given qt key
570 * sequence. 570 * sequence.
571 * @param keySeq the qt key sequence to add 571 * @param keySeq the qt key sequence to add
572 */ 572 */
573 //USKShortcut( const QKeySequence& keySeq ) {} 573 //USKShortcut( const QKeySequence& keySeq ) {}
574 574
575 /** 575 /**
576 * Creates a new shortcut that contains only the given key 576 * Creates a new shortcut that contains only the given key
577 * in its only sequence. 577 * in its only sequence.
578 * @param key the key to add 578 * @param key the key to add
579 */ 579 */
580 //USKShortcut( const KKey& key ); 580 //USKShortcut( const KKey& key );
581 581
582 /** 582 /**
583 * Creates a new shortcut that contains only the given key 583 * Creates a new shortcut that contains only the given key
584 * sequence. 584 * sequence.
585 * @param keySeq the key sequence to add 585 * @param keySeq the key sequence to add
586 */ 586 */
587 //USKShortcut( const KKeySequence& keySeq ); 587 //USKShortcut( const KKeySequence& keySeq );
588 588
589 /** 589 /**
590 * Copies the given shortcut. 590 * Copies the given shortcut.
591 * @param shortcut the shortcut to add 591 * @param shortcut the shortcut to add
592 */ 592 */
593 //USKShortcut( const KShortcut& shortcut ); 593 //USKShortcut( const KShortcut& shortcut );
594 594
595 /** 595 /**
596 * Creates a new key sequence that contains the given key sequence. 596 * Creates a new key sequence that contains the given key sequence.
597 * The description consists of semicolon-separated keys as 597 * The description consists of semicolon-separated keys as
598 * used in @ref KKeySequence::KKeySequence(const QString&). 598 * used in @ref KKeySequence::KKeySequence(const QString&).
599 * @param shortcut the description of the key 599 * @param shortcut the description of the key
600 * @see KKeySequence::KKeySequence(const QString&) 600 * @see KKeySequence::KKeySequence(const QString&)
601 */ 601 */
602 KShortcut( const char* shortcut ) {} 602 KShortcut( const char* /*shortcut */) {}
603 603
604 /** 604 /**
605 * Creates a new key sequence that contains the given key sequence. 605 * Creates a new key sequence that contains the given key sequence.
606 * The description consists of semicolon-separated keys as 606 * The description consists of semicolon-separated keys as
607 * used in @ref KKeySequence::KKeySequence(const QString&). 607 * used in @ref KKeySequence::KKeySequence(const QString&).
608 * @param shortcut the description of the key 608 * @param shortcut the description of the key
609 * @see KKeySequence::KKeySequence(const QString&) 609 * @see KKeySequence::KKeySequence(const QString&)
610 */ 610 */
611 KShortcut( const QString& shortcut ) {} 611 KShortcut( const QString& /*shortcut */) {}
612 ~KShortcut() {} 612 ~KShortcut() {}
613 613
614 /** 614 /**
615 * Clears the shortcut. The shortcut is null after calling this 615 * Clears the shortcut. The shortcut is null after calling this
616 * function. 616 * function.
617 * @see isNull() 617 * @see isNull()
618 */ 618 */
619 //USvoid clear(); 619 //USvoid clear();
620 620
621 /** 621 /**
622 * Initializes the shortcut with the given Qt key code 622 * Initializes the shortcut with the given Qt key code
623 * as the only key sequence. 623 * as the only key sequence.
624 * @param keyQt the qt keycode 624 * @param keyQt the qt keycode
625 * @see Qt::Key 625 * @see Qt::Key
626 */ 626 */
627 //USbool init( int keyQt ); 627 //USbool init( int keyQt );
628 628
629 /** 629 /**
630 * Initializes the shortcut with the given qt key sequence. 630 * Initializes the shortcut with the given qt key sequence.
631 * @param keySeq the qt key sequence to add 631 * @param keySeq the qt key sequence to add
632 */ 632 */
633 //USbool init( const QKeySequence& keySeq ); 633 //USbool init( const QKeySequence& keySeq );
634 634
635 /** 635 /**
@@ -795,49 +795,49 @@ class KShortcut
795 * @return true if successful, false otherwise 795 * @return true if successful, false otherwise
796 * @see MAX_SEQUENCES 796 * @see MAX_SEQUENCES
797 * @since 3.2 797 * @since 3.2
798 */ 798 */
799 //USbool append( const KShortcut& cut ); 799 //USbool append( const KShortcut& cut );
800 800
801 /** 801 /**
802 * Converts this shortcut to a key sequence. The first key sequence 802 * Converts this shortcut to a key sequence. The first key sequence
803 * will be taken. 803 * will be taken.
804 */ 804 */
805 //USoperator QKeySequence () const; 805 //USoperator QKeySequence () const;
806 806
807 /** 807 /**
808 * Returns a description of the shortcut as semicolon-separated 808 * Returns a description of the shortcut as semicolon-separated
809 * ket sequences, as returned by @ref KKeySequence::toString(). 809 * ket sequences, as returned by @ref KKeySequence::toString().
810 * @return the string represenation of this shortcut 810 * @return the string represenation of this shortcut
811 * @see KKey::toString() 811 * @see KKey::toString()
812 * @see KKeySequence::toString() 812 * @see KKeySequence::toString()
813 */ 813 */
814 //USQString toString() const; 814 //USQString toString() const;
815 815
816 /** 816 /**
817 * @internal 817 * @internal
818 */ 818 */
819 QString toStringInternal( const KShortcut* pcutDefault = 0 ) const 819 QString toStringInternal( const KShortcut* /*pcutDefault*/ = 0 ) const
820 { 820 {
821 return "EMPTY IMPL."; 821 return "EMPTY IMPL.";
822 } 822 }
823 823
824 /** 824 /**
825 * Returns a null shortcut. 825 * Returns a null shortcut.
826 * @return the null shortcut 826 * @return the null shortcut
827 * @see isNull() 827 * @see isNull()
828 * @see clear() 828 * @see clear()
829 */ 829 */
830 //USstatic KShortcut& null(); 830 //USstatic KShortcut& null();
831 831
832//US protected: 832//US protected:
833 //USuint m_nSeqs; 833 //USuint m_nSeqs;
834 //USKKeySequence m_rgseq[MAX_SEQUENCES]; 834 //USKKeySequence m_rgseq[MAX_SEQUENCES];
835 835
836//US private: 836//US private:
837 //USclass KShortcutPrivate* d; 837 //USclass KShortcutPrivate* d;
838 //USfriend class KKeyNative; 838 //USfriend class KKeyNative;
839 839
840//US#ifndef KDE_NO_COMPAT 840//US#ifndef KDE_NO_COMPAT
841//US public: 841//US public:
842 //USoperator int () const { return keyCodeQt(); } 842 //USoperator int () const { return keyCodeQt(); }
843//US#endif 843//US#endif