[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: removing some of a KParts' GUI
From: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2005-10-17 21:10:20
Message-ID: 200510172310.20346.thomas.friedrichsmeier () ruhr-uni-bochum ! de
[Download RAW message or body]
> Ah, hmm, if you're going for hackish there are simpler solutions. Instead
> of messing up the XML, just remove the actions you don't want, like
>
> KActionCollection* coll = khtmlpart->actionCollection();
> coll->take( coll->action("tools") );
> coll->take( coll->action("security") );
Oh, great! Is there a similarly nice hack to remove an entire menu/toolbar?
> Sorry that I didn't mention this before; there is indeed no clean way.
> For KDE4 Simon is experimenting with the opposite approach, based on an
> idea of mine (the host asking for groups of actions, so that if it doesn't
> want some actions, it would simply not ask for them). Very early stage of
> the idea though.
Well I can live with a hackish solution until KDE4 comes out. Glad to see this
is being worked on.
Thanks!
Thomas
>> 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