![]() Registered Member ![]()
|
Hello,
I'm developping Qt Application and I want incorporate KHTML within. So I created simple Qt app within KHTML. This is not KDE app ![]() I have this: widget.h
widget.cpp
main.cpp
It loads normally http://www.kde.org . But when I click in any URL, no page was loaded (http://kde.org always here). What I must do for load clicked URLs? Thanks. |
![]() KDE Developer ![]()
|
You get the browserExtension() of the KHTMLPart, and then connect to any of the signals of the BrowserExtension class. In your case, the openUrlRequest signal should do the job.
Pino Toscano
|
![]() Registered Member ![]()
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]