User actions/toolbars plugin

Andras Mantia amantia at kde.org
Wed May 18 07:03:03 UTC 2005


On Wednesday 18 May 2005 01:26, Alexander Dymo wrote:
> On Wednesday 18 May 2005 00:29, Andras Mantia wrote:
> >  In Quanta we achieve this by overriding
> > KMainWindow::createContainer, which detects if the currently built
> > object is a user toolbar or not, and if it is, it created in a
> > different way than the normal toolbars. My problem is that I have
> > no idea how can I do this from outside of KMainWindow (from a
> > plugin).
> >  Any ideas are welcome.
>
> Well, that will probably be impossible outside the shell. For this to
> work, it's probably necessary to change the shell (kdevelop/src/...).
> We currently have two mainwindow classes and mainwindowshare.h(cpp)
> for common functionality between main windows.

So should I drop the idea of making this a plugin and integrate into the 
main shell? Anyway this would be a core plugin/functionality. The 
question is which mainwindow implementation should I pick up. ;-)

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20050518/0670cce8/attachment.sig>


More information about the KDevelop-devel mailing list