On Sunday 07 November 2004 15:02, Nicolas Goutte wrote: > An example could be: KoZipStore::~KoZipStore in the file: > koffice/lib/store/koZipStore.cc > > However there the temp file has a fixed name and the code is not converted > to KTempFile yet (another task if someone would want it.) > > For the change in the picture saving code, you must first know if the file > is local or not, by using KURL::isLocalFile. If it is local, use the > current code. For a remote file, create a KTempFile, switch on the > auto-delete (KTempFile::SetAutoDelete), write the temp file, upload the > file. > > (KURL and KTempFile are defined in kdelibs/kdecore.) > > Have a nice day! > > On Sunday 07 November 2004 14:03, Giovanni Venturi wrote: > > Alle 12:53, domenica 7 novembre 2004, Nicolas Goutte ha scritto: > > > On Monday 01 November 2004 19:10, Nicolas Goutte wrote: > > > (...) > > > > > > > 3. Network transparency when saving pictures. > > > > In KWord (koffice/kword/kwview.cc line 5913) > > > > and KPresenter (koffice/kpresenter/kpresenter_view.cc line 745), the > > > > saving of the picture is done without network transparency. > > > > KIO::NetAccess::upload should be used (with a KTempFile) if the file > > > > is not local. > > > > > > Anybody wants to take this one or should I add it to KDE Bugs? > > > > Well I could try it if it's simple. > > Gianni Also: KPrCanvas::exportPage _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel