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

List:       kde-core-devel
Subject:    Re: Print error report (RFC)
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-03-30 23:02:04
[Download RAW message or body]

Am Freitag, 30. März 2001 20:07 schrieb Michael Goffioul:

Hi,

> if
> (!KNotifyClient::event(QString::fromLatin1("printerror"),i18n("...%1").arg(
>errorMessage()))) kdDebug() << "could not send notify event" << endl;
>
> and I installed an eventsrc file in "$KDEDIR/share/apps/kdeprint/", which
> contains:

We only have one eventsrc for all global events from kdelibs. An eventsrc in 
share/apps/kdeprint is only found if KGlobal::instance() ->name() is 
"kdeprint". OR... if you tell KNotifyClient to use another instance:

KNotifyClient::Instance( your_kde_print_instance );
KNotifyClient::event( .... )

Or you could simply add your events to kdecore/eventsrc, where all the other 
global events from kdelibs are stored.

Best wishes,
Carsten Pfeiffer

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

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