[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: KStars and KNewStuff
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2004-05-20 5:05:10
Message-ID: 200405200105.00813.kstars () 30doradus ! org
[Download RAW message or body]

Hello,

I am finally getting around to adding KNewStuff for KStars, but I am 
having some trouble with it.  I have placed my 2 xml files and some 
stuff to download at http://edu.kde.org/kstars/downloads/

At first, I did not subclass from KNewStuff, I just used the static 
function KNS::DownloadDialog::open("kstars/data") in my Slot.  That 
worked, but AFAICT, it can only save the downloaded stuff as a 
temporary file, and then there's no way for KStars to access it 
(because there's no notification of what the temporary filename is).

So then I followed what's done in KHangman, and subclassed my own 
KSNewStuff class, providing a custom "install()" function (and an empty 
createUploadFile() function).  My install function was cut-and-pasted 
from khangman, except that, for now I just have the commands to unpack 
the tarball into the user's $KDEHOME/share/apps/kstars directory.

It all compiled fine, but when I request the NewStuff dialog in KStars, 
nothing happens.  I usually see the file-transfer dialog pop up for an 
instant (long enough to see that it is transferring my providers.xml 
file), but that's it.  The NewStuff dialog never appears, and there are 
no error messages about it.

Is this a familiar situation to anybody?  Any ideas on how to diagnose 
the problem further?

thanks for any help!
Jason
-- 
KStars: A KDE Planetarium
http://edu.kde.org/kstars
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic