Two things:
author Jason Harris
()
committer Jason Harris
()
commit 734c2a7e1a93a9ec9b803dd9b9510bf8549140a2
tree d1538e329f7407fe07cb5e9522509a4db756d04d
parent 97cd5d121546df57b87658ced2e4c2e6c3f04c03
Two things:

1) Four new DCOP functions:

+ setColor( QString n, QString v ): sets the color named n to value v

+ loadColorScheme( QString n ): loads color scheme n (can be the text
name or the filename)

+ exportImage( QString fn ): saves the sky image to file fn

+ printImage( bool usePrintDialog, bool useChartColors ): print the sky
image, possibly showing the print dialog, and possible using the
star-chart color scheme

These functions replace some existing code, so some reorganization
was required. For example, slotPrint() now calls printImage().

2) Additional commit for using KNewStuff to download "extra" data files.

It doesn't work yet, but we now have a KSNewStuff class, and a
KStars::slotDownload() function. I am still investigating why it doesn't
work, but since the problem is not harmful to the rest of the program,
I am going ahead with the commit.

CCMAIL: kstars-devel@kde.org
CCMAIL: alesan@manoweb.com

svn path=/trunk/kdeedu/kstars/; revision=312828
13 files changed:
kstars/Makefile.am
kstars/colorscheme.cpp
kstars/colorscheme.h
kstars/ksnewstuff.cpp [ new file with mode 0644 ]
kstars/ksnewstuff.h [ new file with mode 0644 ]
kstars/kstars.h
kstars/kstarsactions.cpp
kstars/kstarsdcop.cpp
kstars/kstarsinit.cpp
kstars/kstarsinterface.h
kstars/kstarsui.rc
kstars/skymap.cpp
kstars/skymap.h