[Kstars-devel] branches/work/kdeedu_kstars_htm/kstars/kstars

Thomas Kabelmann thomas.kabelmann at gmx.de
Sat Aug 11 13:32:07 CEST 2007


By the way, in the long term we should convert other classes like KStarsData, 
KSNumbers (?)  into a singleton. There is always only 1 instance at runtime 
and we mess up method signatures with pointers to these classes.

Regards,
Thomas

Am Samstag, 11. August 2007 schrieb James Bowlin:
> SVN commit 698754 by jbowlin:
>
> Implemented the wonderful suggestion by Thomas to make both SkyMesh
> and SkyLabeler singletons. This allowed the code to become much
> cleaner.  It affected every class that uses either of those classes
> so there were a lot of little changes.
>
> Deleted 8 classes that are no longer used and cleaned up some code.
> Removed an unneeded cast in PolyListIndex and changed:
>
>     lineList->points()->append()   to   lineList->append()
>
> in ConstellationBoundary, ConstellationLines, CoordinateGrid and
> MilkyWay.
>
> CCMAIL: kstars-devel at kde.org
>
>
>  M  +2 -4      skycomponents/asteroidscomponent.cpp
>  M  +0 -3      skycomponents/asteroidscomponent.h
>  M  +1 -2      skycomponents/cometscomponent.cpp
>  M  +0 -3      skycomponents/cometscomponent.h
>  M  +1 -1      skycomponents/constellationboundary.cpp
>  D             skycomponents/constellationboundarycomponent.cpp
>  D             skycomponents/constellationboundarycomponent.h
>  D             skycomponents/constellationboundarycomposite.cpp
>  D             skycomponents/constellationboundarycomposite.h
>  M  +1 -1      skycomponents/constellationlines.cpp
>  M  +0 -4      skycomponents/constellationlines.h
>  M  +2 -4      skycomponents/constellationnamescomponent.cpp
>  M  +0 -2      skycomponents/constellationnamescomponent.h
>  M  +2 -2      skycomponents/coordinategrid.cpp
>  M  +1 -1      skycomponents/deepskycomponent.cpp
>  M  +1 -1      skycomponents/ecliptic.cpp
>  D             skycomponents/eclipticcomponent.cpp
>  D             skycomponents/eclipticcomponent.h
>  M  +1 -2      skycomponents/equator.cpp
>  D             skycomponents/equatorcomponent.cpp
>  D             skycomponents/equatorcomponent.h
>  M  +5 -3      skycomponents/highpmstarlist.cpp
>  M  +1 -1      skycomponents/highpmstarlist.h
>  M  +1 -2      skycomponents/jupitermoonscomponent.cpp
>  M  +0 -1      skycomponents/jupitermoonscomponent.h
>  M  +1 -1      skycomponents/linelistcomponent.cpp
>  M  +1 -1      skycomponents/linelistindex.cpp
>  M  +2 -2      skycomponents/linelistlabel.cpp
>  M  +1 -1      skycomponents/linelistlabel.h
>  M  +1 -1      skycomponents/milkyway.cpp
>  M  +2 -2      skycomponents/polylistindex.cpp
>  M  +0 -2      skycomponents/skiplistindex.h
>  M  +9 -0      skycomponents/skylabeler.cpp
>  M  +10 -6     skycomponents/skylabeler.h
>  M  +2 -2      skycomponents/skymapcomposite.cpp
>  M  +0 -3      skycomponents/skymapcomposite.h
>  M  +14 -0     skycomponents/skymesh.cpp
>  M  +19 -8     skycomponents/skymesh.h
>  M  +0 -1      skycomponents/solarsystemcomposite.cpp
>  M  +0 -2      skycomponents/solarsystemcomposite.h
>  M  +2 -3      skycomponents/solarsystemsinglecomponent.cpp
>  M  +0 -1      skycomponents/solarsystemsinglecomponent.h
>  M  +4 -5      skycomponents/starcomponent.cpp
>  M  +0 -1      skycomponents/starcomponent.h
>  M  +3 -3      skymapevents.cpp
>
>
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel




More information about the Kstars-devel mailing list