From kde-devel Tue Apr 30 06:23:28 2002 From: David Faure Date: Tue, 30 Apr 2002 06:23:28 +0000 To: kde-devel Subject: Re: history in a khtmlpart X-MARC-Message: https://marc.info/?l=kde-devel&m=102014787511623 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 <<