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

List:       kde-devel
Subject:    Re: kcmodule segfaulting problem
From:       fenix <fenix () club-internet ! fr>
Date:       2002-07-14 10:15:13
[Download RAW message or body]

Le dim 14/07/2002 à 05:56, David Faure a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
<snip>
> > > 
> > > class KlineakControl: public KCModule
> > <snip>
> > 
> > Hi,
> > 
> >  Have you:
> > 
> > extern "C" {
> >   void init_klineakcontrol()
> >   {
> >     //init stuff here		
> >   }
> > }
> 
> You don't need the above if you use K_EXPORT_COMPONENT_FACTORY.

yes,

 you are right ... i missing 'or' ;(

> > typedef KGenericFactory<KlineakControl, QWidget> KlineakControlFactory;
> > K_EXPORT_COMPONENT_FACTORY( kcm_klineakcontrol, KlineakControlFactory(
> > "kcmklineakcontrol" ) );
> 
> Looks ok.

 FeniX

 
> - -- 
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://people.mandrakesoft.com/~david/
> Contributing to: http://www.konqueror.org/, http://www.koffice.org/
> KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/



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