automated printing from konqurer

David Faure dfaure at klaralvdalens-datakonsult.se
Mon Feb 3 11:24:39 GMT 2003


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

On Monday 03 February 2003 11:55, David Faure wrote:
> What about we do the same in khtml's DCOP interface?
> Please test the attached patch.

Of course the khtml_iface.cc patch should be
- --- khtml_iface.cc      4 Dec 2002 11:17:37 -0000       1.3
+++ khtml_iface.cc      3 Feb 2003 11:23:39 -0000
@@ -183,3 +183,7 @@ void KHTMLPartIface::viewFrameSource()
 QString KHTMLPartIface::evalJS(const QString &script) {
     return part->executeScript(script).toString();
 }
+
+void KHTMLPartIface::print( bool quick ) {
+    part->view()->print( quick );
+}

(at least it compiles now ;)

- -- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Klarälvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+PlF572KcVAmwbhARAlWvAKCOWZU3WTTUZM8JWVEnMol2wnlpewCePbjH
eJSD4+IeoQg2G9Kzk8mtRuo=
=8ILy
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list