From kde-devel Wed May 26 21:29:25 2004 From: Christian Loose Date: Wed, 26 May 2004 21:29:25 +0000 To: kde-devel Subject: Re: kioslaves and q/kapplications Message-Id: <200405262329.25714.christian.loose () hamburg ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=108560649902860 Am Mittwoch, 26. Mai 2004 23:03 schrieb Pupeno: > I'm developing a kioslave: > http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdenonbeta/jabberservices/jabberse >rvices.cpp > http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdenonbeta/jabberservices/jabberse >rvices.h but in that kioslave I'm using a library (iris) that needs a qApp > object (qApp or kApp) but it seems that at the moment this library tries to > use qApp is null because I get this output: > QObject::connect: Cannot connect (null)::aboutToQuit() to > NDnsManager::app_aboutToQuit() > from this line of code (in the iris library): > connect(qApp, SIGNAL(aboutToQuit()), SLOT(app_aboutToQuit())); > which shoes qApp is null. > How is this managed in a kio_slave ? what can I do so the library gets a > valid qApp ? > Thanks. I don't know anything about kioslaves but I found the following: The kioslave for audio cd's needs a KApplication too (for libkcddb). source code: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdemultimedia/kioslave/audiocd/audiocd.cpp the patch for the change (I suppose): http://lists.kde.org/?l=kde-core-devel&m=107140951918604&w=2 Hope it helps, Christian >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<