[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: dcop Q
From: Waldo Bastian <bastian () kde ! org>
Date: 2002-02-28 20:08:36
[Download RAW message or body]
On Thursday 28 February 2002 03:39 am, Thomas Zander wrote:
> Trying to fix bug where changing the proxy settings does not update open
> konqs.
>
> The proxy app does;
> // Update all running and applicable io-slaves
> QByteArray data;
> QDataStream stream( data, IO_WriteOnly );
> stream << "http" << "https" << "ftp";
> if ( !kapp->dcopClient()->isAttached() )
> kapp->dcopClient()->attach();
> kapp->dcopClient()->send( "*", "KIO::Scheduler",
> "reparseSlaveConfiguration(QString)", data );
>
> Is that correct? Then I have to look in konqueror.. Thanx.
I don't think the
stream << "http" << "https" << ftp";
does what you think it does.
It should be something like:
stream << QString("http");
reparseSlaveConfiguration takes 1 argument, not 3.
Cheers,
Waldo
--
Advanced technology only happens when people take a basic idea and add to it.
-- Bob Bemer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic