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

List:       kde-devel
Subject:    Re: global vs. local UI XML file
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-04-08 17:06:07
Message-ID: 20080408170607.GA28121 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 08.04.08 18:22:21, Ulrich Weigelt wrote:
> Hi!
> 
> I use the methode KMainWindow::createGUI() to build the GUI from an ui XML 
> file.
> I also use the class KEditToolbar to get a configurable tool bar.
> KEditToolbar writes a user owned local *ui.rc file into 
> ~/.kde/share/apps/appname/.
> 
> Now I have added new actions into the global ui file which is delivered with 
> the tarball.
> But after the installation the app uses only the local file and not the global 
> one. The new actions don't appear. 
> 
> How can I solve this problem without to delete the local file?

You need to increase the version number in the rc file you deliver with
your application. The top-level element (kpartgui) takes a version
attribute.

Andreas

-- 
You own a dog, but you can only feed a cat.
 
>> 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