On Friday 11 May 2012 20:42:09 David Faure wrote: > On Friday 11 May 2012 19:57:11 Mark wrote: > > > KShortcutManager::setDefaultShortcut(newAct, Qt::Key_F6); > > > > I like this idea! > > Good, me too :-) > > > I was actually intending to use the Shortcut Editor but i > > didn't look into specifics yet. > > > > With dynamic property you're talking about > > http://qt-project.org/doc/qt-4.8/qobject.html#setProperty right? > > Yes. Just like the current KAction code already does, to store the default > primary and alternate shortcuts.
Actually back in the day of the 3->4 transition, I modified KAction so that it stores the info in dynamic properties. It was part of our plan with Simon to then move to the API you just pointed out above... this plan was unfortunately never completed (as you can see). I'd be delighted to see someone carry the torch and complete it now. :-) Regards. -- Kévin Ottens, http://ervin.ipsquad.net KDAB - proud patron of KDE, http://www.kdab.com
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel