[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: How to open an url in a Konqueror plugin as if it was a link ?
From:       "Dawit A." <adawit () kde ! org>
Date:       2004-03-18 15:06:27
Message-ID: 200403181006.28148.adawit () kde ! org
[Download RAW message or body]

On Tuesday 16 March 2004 17:33, Shift wrote:
> Hi all,
>
> I need to know how to submit an URL from a Konqueror plugin as if it was a
> link of a page.
> (See the TODO list of the plugin :
> http://shift.freezope.org/konq_rellinks/development_html )
> I don't know how to send the referer :-(

You can also use KParts::URLArgs to send the referrer assuming, you know the 
referring URL, which I am guessing you do...

KParts::URLArgs args;
args.metadata()["referrer"] = "the-referrer-url";
part->browserExtension()->openURLRequest(url, args);

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic