Hi,
I tried to use the upload dialog panel of KNS3 like this:
/* QPointer<KNS3::UploadDialog> dialog = new
KNS3::UploadDialog("skrooge_monthly.knsrc", this);
dialog->setUploadFile(zipFileName);
dialog->setUploadName(templat);
dialog->setPreviewImageFile(0, KUrl(preview1));
dialog->setPreviewImageFile(1, KUrl(preview2));
dialog->setPreviewImageFile(2, KUrl(preview3));
dialog->setDescription(i18nc("Default description for a
monthly report template", "My favorite template"));
dialog->exec();
delete dialog;*/
The panel is displayed like expected.
The new page is well created on the http://opendesktop.org servers:
1-With the right description :-)
2-With the right previews :-)
* 3-Without the download file (set by setUploadFile) :-(*
In the console, I can see that:
*XML Returned:
"<?xml version="1.0"?>
<ocs>
<meta>
<status>failed</status>
<statuscode>102</statuscode>
<message>localfile not found</message>
</meta>
</ocs>*
"
Do you know why? What is wrong?
Regards,
Stephane
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<