[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Question about getting KShellProcess to use a network proxy
From: LiuCougar <liucougar () gmail ! com>
Date: 2005-05-26 14:24:57
Message-ID: 955806780505260724404a4831 () mail ! gmail ! com
[Download RAW message or body]
set http proxy in konqueror (or kcontrol), all kde apps would use your
settings then
On 5/26/05, Erik Norvelle <lists@norvelle.org> wrote:
> Greetings all,
>
> I am relatively new to KDE development, and have started to collaborate
> on the Akregator (kdepim) project. The Akregator RSS aggregator, in
> order to fetch the XML content of the RSS feed, uses a KShellProcess,
> with the following code:
>
> d->process = new KShellProcess();
> connect(d->process, SIGNAL(processExited(KProcess *)),
> SLOT(slotExited(KProcess *)));
> connect(d->process, SIGNAL(receivedStdout(KProcess *, char *, int)),
> SLOT(slotOutput(KProcess *, char *, int)));
> *d->process << url.path();
> d->process->start(KProcess::NotifyOnExit, KProcess::Stdout);
>
> Where "d" is a struct with an allocated text buffer.
>
> My question is how to get KShellProcess to use an HTTP proxy when
> connecting to the net... I frequently am behind a firewall, and would
> like to be able to configure Akregator to use the proxy.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Erik Norvelle
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
--
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic