[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kxmlgui shortcuts regression
From:       "Robert Knight" <robertknight () gmail ! com>
Date:       2008-09-22 22:26:55
Message-ID: 13ed09c00809221526r2537b5b5ga580a70fb452e154 () mail ! gmail ! com
[Download RAW message or body]

Hi,

> No. It think i remember you implementing something to synchronize shortcuts. Some \
> signaling or possible d-bus stuff.

Not that I can recall.

Regards,
Robert.

2008/9/22 David Faure <faure@kde.org>:
> On Saturday 20 September 2008, Nick Shaforostoff wrote:
> > > Never call setShortcut over an QAction* if the action is a KAction.
> > 
> > Why not subscribe to QAction::changed() signal and check if shortcut
> > was changed?
> 
> Hmm. This would
> 1) still not support KShortcut, right? QAction::setShortcut() only takes a \
> QKeySequence. 2) also be called when KAction calls QAction::setShortcut[s], so we \
> would need some boolean to avoid recursion.
> 
> But if we want to support this, then indeed it's a way to do it.
> 
> --
> David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
> Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic