Re: How to add a menu-item to the Settings menu

2011-12-03 Thread mtk001
Thanks for your input Ian. I went with Diego's suggestion as it was very simple and quick to do. Worked perfectly! I'll take a look at the pages you linked to for future reference. Regards, Martin. On Sunday 04 December 2011 10:29:54 Ian Wadham wrote: > On 03/12/2011, at 11:55 PM, Diego Casel

Re: How to add a menu-item to the Settings menu

2011-12-03 Thread mtk001
Thanks Diego. This sounds like exactly what I need. Unfortunately, I think the kde api docs are a bit lacking in places. Reading the documentation for KStandardAction::preferences, it just says "Displays the preferences/options dialog" which is not enough information. Also a lot of methods are

Re: How to add a menu-item to the Settings menu

2011-12-03 Thread mtk001
Thanks for the quick response Thomas. Very useful. Regards, Martin. On Saturday 03 December 2011 08:28:49 Thomas Baumgart wrote: > Hi, > > on Saturday 03 December 2011 02:08:05 mtk...@btinternet.com wrote: > > HI. > > > > I am developing a kde application with a main window derived from > >

How to add a menu-item to the Settings menu

2011-12-02 Thread mtk001
HI. I am developing a kde application with a main window derived from KXmlGuiWindow. I want to add an action to the menu to configure the application. Since there is a Settings menu by default, I want to add the action to that. Trouble is I can't seem to get a handle on the Settings menu. Can a