From kde-devel Sat Mar 31 20:44:37 2001 From: Waldo Bastian Date: Sat, 31 Mar 2001 20:44:37 +0000 To: kde-devel Subject: Re: Print error report (RFC) X-MARC-Message: https://marc.info/?l=kde-devel&m=98607113324085 On Saturday 31 March 2001 02:40, Michael Goffioul wrote: > So my idea was to simply to tell the application something went wrong using > "bool failed()", and then the application can use "QString failReason()" to > have more informations. The error message itself is determined in the > plugin. So is it really necessary to report some kind of enum value (error > code) as: - the error will be reported using KNotify anyway > - as the error occured in the plugin, the application won't be able to > correct it itself. The error will be "structural" (like missing program, > network error, daemon crash, wrong printer configuration, printer unknown). If there is no recovery possible then a single boolean will suffice I guess. Or you might want to keep the possibility open and use an int and only define "PRINT_OK = 0, PRINT_FATAL_ERROR = 1" Cheers, Waldo -- bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<