From kde-devel Mon Apr 18 08:25:59 2005 From: Stefan Walkner Date: Mon, 18 Apr 2005 08:25:59 +0000 To: kde-devel Subject: Re: KIO::get leads to Segmentation Fault Message-Id: <200504181025.59314.walkner.stefan () sbg ! at> X-MARC-Message: https://marc.info/?l=kde-devel&m=111381281502509 hello again, as I told yesterday I could handle the SegFault problem. But now I have a new problem I really don't understand. I think its a real newbie problem... -------------CODE--------------- class MyClass : public QObject { Q_OBJECT private slots: void receiveData(KIO::Job *, const QByteArray &); void receivedResult(KIO::Job *); [...] }; void MyClass::myMethod() { KIO::TransferJob *job = KIO::get(KURL(myurl), false, true); connect(job, SIGNAL(result(KIO::Job *)), this, SLOT(receivedResult(KIO::Job *))); connect(job, SIGNAL(data(KIO::Job *, const QByteArray &)), this, SLOT(receiveData(KIO::Job *, const QByteArray &))); KIO::Scheduler::doJob(job); //also scheduleJob does not work } -------------CODE--------------- but -> I don't get informed about the result/data signals. I turned on showProgressInfo and I see the progress dialog for short but I cannot receive the signals... Does anyone see my mistake? thanks for your patience, stefan walkner >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<