[Kstars-devel] KDE/kdeedu/kstars/kstars/skyobjects

Khudyakov Alexey alexey.skladnoy at gmail.com
Thu Jun 4 14:18:56 CEST 2009


On Thursday 04 of June 2009 16:06:34 Akarsh Simha wrote:
> > > > > I'll anyway check that it works. It's time for the KDE 4.3 release.
> > > >
> > > > It should, because freshly constructed StarObject doesn't hold
> > > > AuxData
> > >
> > > Right. I checked that it works.
> > >
> > > I don't know what's the best way to handle the AuxInfo free problem. I
> > > thought I could make StarBlock a friend of StarObject. Is that a good
> > > idea?
> >
> > Call destructor. And QStrings could explode and leak too.
>
> Okay.
>
> I don't think there are any QStrings in StarObject. I remember getting
> rid of them and replacing them with char arrays, because we do a raw
> memcpy. That was why we moved the userLog and other strings into
> AuxInfo.
>
It does have. Following fields are in SkyObject class. 

    QString Name, Name2, LongName;


More information about the Kstars-devel mailing list