[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Regarding KParts
From: Chakkaradeep C C <chaks.yoper () gmail ! com>
Date: 2005-10-18 3:52:57
Message-ID: a54a308e0510172052l65382d1mf9461db84672a099 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all,
Am new to KDE Programming and i started off learning KParts. The tutorials
had something called "Factory Code to create the Part" and the code was,
#include <kparts/genericfactory.h>
// Factory code for KDE 3
typedef KParts::GenericFactory<KXMLTreePart> KXMLTreeFactory;
K_EXPORT_COMPONENT_FACTORY( libkxmltreepart /*library name*/,
KXMLTreeFactory );
i would be hapy if any of my friends could explain me what the above code
do...
with regards,
C.C.Chakkaradeep
[Attachment #5 (text/html)]
<div>Hi all,</div>
<div> </div>
<div>Am new to KDE Programming and i started off learning KParts. The tutorials had \
something called "Factory Code to create the Part" and the code was,</div> \
<div> </div> <div><font face="Courier" size="2">
<p align="left">#include <kparts/genericfactory.h></p>
<p align="left">// Factory code for KDE 3</p>
<p align="left">typedef KParts::GenericFactory<KXMLTreePart> \
KXMLTreeFactory;</p> <p align="left">K_EXPORT_COMPONENT_FACTORY( libkxmltreepart \
/*library name*/, KXMLTreeFactory );</p> <p align="left">i would be hapy if any of my \
friends could explain me what the above code do...</p> <p align="left"> </p>
<p align="left">with regards,</p>
<p align="left">C.C.Chakkaradeep</p>
<p align="left"> </p></font></div>
>> 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