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

List:       kde-devel
Subject:    Re: Plugin interface
From:       Anatoli Gorchetchnikov <anatoli () cns ! bu ! edu>
Date:       2001-06-10 21:26:29
[Download RAW message or body]

On Sunday 10 June 2001 01:34 pm, David Faure wrote:

> > > > /kmazepart/partplugins
> > > It's kpartplugins.
> > :) I should have guessed...
> So you're using kpartplugins ?

I do now.

> Hmm, okay, but that's not where the problem might be.
> The part's instance name must be kmazepart (is it) ?

I think so:

KInstance*
T_MazeFactory::instance()
{
    if(!s_instance)
    {
        s_about = new KAboutData("kmazepart", 
                    I18N_NOOP("Navigation Environment"), "0.1");
        s_instance = new KInstance(s_about);
    }
    return s_instance;
}


> What's your setXMLFile call in the part ?

setXMLFile("kmaze_part.rc");

And this file is loaded just fine. 

> If you enable the debug area 1000, do you see "found Plugin
> ....." ?

I do:

kparts: found Plugin : 
/opt/kde/share/apps/kmazepart/kpartplugins/plugin_kcfrnav.rc !

-- 
WBR,

TAnGorN
 
>> Visit http://master.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