KKeyButton::setShortcut deprecated / undocumented.

Waldo Bastian bastian at kde.org
Mon Sep 8 12:37:32 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KKeyButton::setShortcut  is listed as deprecated but that doesn't seem to make 
sense. The extra parameter can get a default argument in KDE 4.0 so there is 
no reason to deprecate the version with 1 parameter.

What's worse is that that the bQtShortcut parameter is not documented at all. 
Neither in KKeyButton nor in KShortcutDialog

        /** @deprecated Use setShortcut( cut, false ) instead */
        void setShortcut( const KShortcut& cut ) KDE_DEPRECATED;
        /// @since 3.1
        void setShortcut( const KShortcut& cut, bool bQtShortcut );

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/XGn8N4pvrENfboIRAtNiAJ44KuUg6b3ZmwD+bNOhwhy8QJvNhQCeO/qn
AwF47d/mVJvDPvtuJ2GiyQM=
=K+fx
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list