Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.3rdparty.webkit.JavaScriptCore.kjs.object.h

//! [0]

00003      *   class BarImp : public JSObject {
     *     virtual const ClassInfo *classInfo() const { return &info; }
00005      *     static const ClassInfo info;
     *     // ...
     *   };
     *
     *   class FooImp : public JSObject {
     *     virtual const ClassInfo *classInfo() const { return &info; }
     *     static const ClassInfo info;
     *     // ...
     *   };
     * //! [0]


//! [1]

     *   const ClassInfo BarImp::info = {"Bar", 0, 0, 0}; // no parent class
     *   const ClassInfo FooImp::info = {"Foo", &BarImp::info, 0, 0};
     * //! [1]



Generated by  Doxygen 1.6.0   Back to index