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

List:       kde-devel
Subject:    Re: KActions in context menus
From:       Olaf Hartig <OleBowle () gmx ! de>
Date:       2001-11-07 7:52:03
[Download RAW message or body]

On Tuesday 06 November 2001 23:08, Alexander Brand wrote:
> I try to implement this in a KPart. But I didn't get any 'factory()'. The
> only factory (Type: KXMLGUIClient) I found was in KPart::MainWindow.
> But how can I implement it? Please, can somebody help?

Since KParts::PartBase is derived from KXMLGUIClient and your kpart is surely 
derived from one of KParts::PartBase child classes you can simply use 
KXMLGUIClient::factory() in your part's member functions.

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