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

List:       kde-devel
Subject:    Re: Print error report (RFC)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-03-30 19:28:47
[Download RAW message or body]

On Friday 30 March 2001 07:47, Frerich Raabe wrote:
> On Friday, 30. March 2001 12:20, Michael Goffioul wrote:
> > I want to add print error report into the KDE print framework. I was
> > wondering if it's better to:
> >     1) add a message dialog popup into the kde print code, so that error
> > is automatically reported, but the message dialog would popup at random
> > position (or center of the screen), because there's no parent widget. or
>
> Hmmm, perhaps you'd give KNotify a try here so that the user can choose
> what happens in case something wreaks havoc (Scream|Cry|Fight|Pizza). ;)
>
> >     2) add 2 functions like "bool failed()" and "QString failReason()"
> > and let the error reporting to the application using the print framework.
>
> I'd add this in addition to the above method, you'd make "bool failed()"
> obsolete if you'd make "QString failReason()" return QString::null in case
> nothing happened.

I rather would go for int failed() with a numerical error code and 0 = OK. 
(In addition to failReason())

Cheers
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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