Shortcuts

Carles Pina i Estany carles at pina.cat
Sun Nov 12 18:10:09 UTC 2006


Hello,

I have been playing with applications shortcuts and Amarok.

My approach is to add, at end of app.cpp/initGlobalShortcuts:

new KAction(i18n("Search text in
lyric"),KShortcut("Shift+/"),ContextBrowser::instance(),
SLOT(lyricsSearchTextShow()),Amarok::actionCollection(),"test");

But when I press "/" in the playlistwindow, metabundle.cpp/exactText is
executed...

Any recommendation to do it? I mean, to define an application shortcut.
I have that "general shortcuts" are used, but are even executed when
Amarok hasn't the focus. 

It shouldn't be so difficult to define a new application shortcut!

Thanks,

-- 
Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info	Manresa - Barcelona



More information about the Amarok mailing list