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

List:       kde-devel
Subject:    Re: history in a khtmlpart
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-04-30 6:23:28
[Download RAW message or body]

On Monday 29 April 2002 21:48, Nicolas Salvagno wrote:
> hi
> 
> i'm working on a gpl product which include a web browser (only a khtml part with no \
> buttons) using ecmascript (javascript) we have a problem with the javascript \
> history we have searched on the web some examples but nobody seems to have solved \
> this problem except the konqueror developers we have searched in the konqui sources \
> but we did'nt found the procedure to use history. 
> so is there someone who know the functions (or signal) to use to enable javascript \
> history???

See kparts/browserinterface.h
You need to create a BrowserInterface, and define a slot called goHistory(int) in it.
(and tell the browserextension about that BrowserInterface instance)

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today


 
> > 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