Archive for April 17th, 2009

Using the webkit classes without fetching stuff from Internet

A mail clients wants to display html-mails but don’t want to fetch stuff from internet automatically. We now have a solution for that. Qt has introduced QWebPage and QWebView for displaying HTML in a widget. Unfortunatly those don’t use the KDE KIO’s for fetching the stuff. And that means no proxy for example. Urs has introduced some new classes to kdelibs which now makes this possible.

For example:
QWebPage* widget = new QWebPage( this );
KIO::AccessManager* accessManager = new KIO::AccessManager( this );
accessManager->setExternalContentAllowed( false );
widget->setNetworkAccessManager( accessManager );

Pretty simple! Now the QWebPage uses KDE’s KIO and does not fetch the external content automatically.
If you need a QWebView, you can set the accessManager via page()…

Anonsvn services fully restored

Checked master : r955251
Checked anonsvn1: r955251 OK
Checked anonsvn2: r955251 OK
Checked anonsvn3: r955251 OK

Current anonsvn-mirrors in rotation: anonsvn3 anonsvn2 anonsvn1

All anonsvn mirrors are up-and-running again. The last couple of days you could have received some timeouts, because the limited amount of active mirrors were overloaded, now all three are back in service.

Adriaan de Groot and Martin Eisenhardt worked around the problematic commit. Big thanks for their work on it, even during Easter.
I hope this won’t happen to often as we still don’t know the real cause….