But the main widget knows nothing about the "cut" action (My scenario
was just a generalisation).

On 16 October 2011 03:16, Parker Coates <parker.coa...@gmail.com> wrote:
> On Sat, Oct 15, 2011 at 12:08, Yogesh Marwaha wrote:
>> Hi,
>>
>> Scenario: I have three text editors separated by splitter in a single
>> window. Each text editor has an action called "cut". Now I want to set
>> a shortcut for "cut" action and allow user to change it through
>> KShortcutsDialog. But when its shortcut is changed, it'll be reflected
>> in only one text editor (whose "cut" action was added to
>> KShortcutsDialog). What should I do in this scenario? Please help...
>
> Create only a single cut action connected to a slot that calls the
> cut() slot of the last focused editor?
>
> Parker
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>



-- 
Yogesh

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to