[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: I don't understand everything...
by Richard Dale on Wednesday 20/Mar/2002, @02:56
"Is it just a QT/C# binding or will we be able to convert any KDE app to C# ?"

Adam is hoping to have some KDE C# bindings ready for KDE 3.1. If you want portable code, then just stick to the Qt api, or if you want maximum functionality and desktop integration then use the Qt/KDE api. The choice is exactly the same as if you were writing code in C++.

The KDE C# code will look much the same as the Java bindings code. Here is an example of loading a KHTMLPart in Java:

khtmlpart = new KHTMLPart(this);
khtmlpart.begin();

khtmlpart.write("<HTML><BODY><H1>KSimpleBrowser</H1>" +
"<P>To load a web page, type its URL in the line " +
"edit box and press enter,</P>" +
"</BODY></HTML>");

khtmlpart.end();

This is from the from the KDE 2 Development book KSimpleBrowser example translated to Java. It's in the cvs under kdebindings/kdejava/koala/test/simplebrowser.

-- Richard
  Related Links
 ·   Articles on Developer
 ·   Also by Richard Dale
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

  "Njaard was simply NOT designed for Europe." -- Nikolas Zimmermann
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]