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

List:       kde-devel
Subject:    Re: Configure toolbar kills menu entries from plugins
From:       David Faure <faure () kde ! org>
Date:       2005-11-25 19:52:25
Message-ID: 200511252052.25435.faure () kde ! org
[Download RAW message or body]

On Friday 25 November 2005 00:56, Andreas Silberstorff wrote:
> Hi
> I still do not know how I can reload the plugins after configuring the 
> toolbar. As KMainWindow does not throw any signals I took a look at 
> KApplication. Here I found toolbarAppearenceChanged(int), so I conected that 
> to my Slot reloadPlugins(int) but this is never called. Can someone give me a 
> hint how I can achieve that the menuentries from my plugins survive the 
> toolbar configuration?

From the kedittoolbar docu:
 *   KEditToolbar dlg(actionCollection());
 *   connect(&dlg,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig()));

and reload the plugins in slotNewToolbarConfig().

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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