Projects/WebKit/Library: Difference between revisions

From KDE TechBase
(add KNetworkAccessManager, KNetworkReply)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== About ==
== About ==
The WebKitKDE library sits on top of QtWebKit, providing KDE integration (for example, WebActions using KDE icons and shortcuts, downloading using KIO, etc). WebKitKDE provides the following classes:
The [http://api.kde.org/4.x-api/kdelibs-apidocs/kdewebkit/html/index.html kdewebkit] library sits on top of QtWebKit, providing KDE integration for icons, shortcuts, network operation (KIO), cookie management using (KCookieJar) and component embedding (KParts).


=== KWebView ===
See the following link for a list of all classes:
A QWebView with KDE integration.<br>
KWebPage* KWebView::page() : Overridden from QWebView, it return a KWebPage instead of a QWebPage.<br>
QWidget* KWebView::searchBar() : Get a search bar widget, usable for searching the page.<br>
void setCustomContextMenu(bool) [slot] : Should KWebView use it's own context menu, or should it emit a signal on right-click.<br>
void showContextMenu() [signal] : If setCustomContextMenu is set to true, this signal will be emited when the user right-clicks on the page.<br>
void openUrlInNewTab(const KUrl) [signal] : When the user middle-clicks a link, instead of opening it, KWebView will emit this signal. In tab-enabled browsers, this usually results in opening a new tab.<br>


=== KWebPage ===
http://api.kde.org/4.x-api/kdelibs-apidocs/kdewebkit/html/annotated.html
A QWebPage with KDE integration.
 
=== KNetworkAccessManager, KNetworkReply ===
Overwrites the default QtNetwork based QNetworkAccessManager for KIO-based network-interaction.

Latest revision as of 01:42, 15 January 2010

This page is still work in progress.

About

The kdewebkit library sits on top of QtWebKit, providing KDE integration for icons, shortcuts, network operation (KIO), cookie management using (KCookieJar) and component embedding (KParts).

See the following link for a list of all classes:

http://api.kde.org/4.x-api/kdelibs-apidocs/kdewebkit/html/annotated.html