From kde-core-devel Fri Mar 30 23:02:04 2001 From: Carsten Pfeiffer Date: Fri, 30 Mar 2001 23:02:04 +0000 To: kde-core-devel Subject: Re: Print error report (RFC) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98599331012473 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