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 Ian Wadham
On 03/12/2011, at 11:55 PM, Diego Casella ([Po]lentino) wrote: > Well, there is even a shorter way to do that: inside a KXmlGuiWindow-derived > class, simply call > > KStandardAction::preferences(this, SLOT(yourSlot()), actionCollection()); > > and this would add a "Configure $YOUR_APP" menu ent

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 > >

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

2011-12-03 Thread Diego Casella ([Po]lentino)
> > > > Message: 2 > Date: Sat, 3 Dec 2011 08:28:49 +0100 > From: Thomas Baumgart > To: kde-devel@kde.org > Subject: Re: How to add a menu-item to the Settings menu > Message-ID: <201112030828.53891@net-bembel.de> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > on Saturday 03 Decemb