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

List:       kde-core-devel
Subject:    Re: kparts::readwritepart queryClose
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-07-25 15:21:44
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 24 July 2003 00:04, Christoph Cullmann wrote:
> Hi,
> should queryClose not pop up a message box if the file couldn't be saved to
> the given filename ? causes kwrite/kate bugs and would be the normal
> behaviour for the user to get some feedback.

KParts::saveFile (so in this case KateDocument::saveFile) should provide 
appropriate feedback to the user. You may want to use KIO::buildErrorString() 
and the error codes defined in kio/global.h to set a standard error string in 
KateBuffer::saveFile() I guess you were about to add some error reporting 
function to that class anyway.

I will update the KParts docs to mention this.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/IUsIN4pvrENfboIRAus5AKCUBwNx2aK7Ck10VKlrmEaQ46+DVACaA9fz
gn5UCAXURRCiezEIy7YQ36Q=
=9dRa
-----END PGP SIGNATURE-----

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

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