[Uml-devel] kdesdk/umbrello/umbrello

Carsten Pfeiffer pfeiffer at kde.org
Tue Jul 13 10:07:03 UTC 2004


On Tuesday 13 July 2004 12:58, Sebastian Stein wrote:

Hi,

> @@ -532,5 +534,8 @@ bool UMLDoc::saveDocument(const KURL& ur
>
>          } else
> -#else
> +// stop HERE with the special handling of the KDE_IS_VERSION(3,2,0)
> +// as otherwise, the _DEFAULT!!!_ case of saving uncompressed XMI
> +// isn't handled anymore!!
> +#endif
>          {
>                  // save as normal uncompressed XMI
> @@ -538,11 +543,11 @@ bool UMLDoc::saveDocument(const KURL& ur
>                  KTempFile tmpfile; // we need this tmp file if we are

please use KSaveFile instead of KTempFile directly. Then you can remove the 
other QFile and operate on saveFile.file();

Cheers
Carsten Pfeiffer




More information about the umbrello-devel mailing list