make sure subclassing of KHTMLView/KHTMLPart works.
commit3ba271f68dcef54da2ac99c63e4ee26e674e8b8d
authorggarand <ggarand@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Tue, 18 Dec 2007 21:27:22 +0000 (18 21:27 +0000)
committerggarand <ggarand@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Tue, 18 Dec 2007 21:27:22 +0000 (18 21:27 +0000)
tree10e90e21c332269c337424b77e325666b97b94d7
parent06f1420e7d51d2b53454afa47bf8933ffe219493
make sure subclassing of KHTMLView/KHTMLPart works.
- add possibility of building the view beforehand with 0L part pointer
- add documentation.
- add unit test to guarantee creating KHTMLView before KHTMLPart
  does work as we've broken that twice already.

reviewed by dfaure.

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs@750185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
khtml/khtml_global.h
khtml/khtml_part.cpp
khtml/khtml_part.h
khtml/khtmlview.cpp
khtml/khtmlview.h
khtml/testkhtml.cpp
khtml/tests/CMakeLists.txt
khtml/tests/khtmlparttest.cpp [new file with mode: 0644]
khtml/tests/khtmlparttest.h [new file with mode: 0644]