going back in khtml_part.cpp

David Faure david at mandrakesoft.com
Sat Jun 29 11:15:26 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 28 June 2002 19:47, Daniel Naber wrote:
> Hi,
> 
> this is probably an easy question: how can I go back one page in 
> khtml_part.cpp (just like pressing the back button)?

With iface being extension->browserInterface, if not 0L, you would do
 iface->callMethod( "goHistory(int)", -1 );

But I fail to see why KHTMLPart would want to do that (sounds like a hack).
goHistory(-1) is for the JS goHistory call.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is coming very shortly...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9HYi+72KcVAmwbhARAh9hAJoCvfdZPc6FWXXmZ6peNwsDkqglswCgjqQM
NMibo2srROL2OY7EIeyvssc=
=G7tf
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list