help!!!problem about inherit from KHtmlParts

David Faure dfaure at klaralvdalens-datakonsult.se
Wed Sep 17 10:39:50 BST 2003


On Wednesday 17 September 2003 04:25, zdx at chinabidding.com wrote:
> I inherit from KHtmlParts,
> do this:
> 
> begin( );
> write( "<html><body><img src="test.png">test img</body></html>" );
> end( );
> 
> khtmlparts auto load the img but
> my img in memory ,what can i do that i can re-implement the load method to
> load the img by myself?

You have the image data in memory?
Use a data: URL - see the posts from Leo Savernik on this list.

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kfm-devel mailing list