--===============1782694565== Content-Type: multipart/signed; boundary="nextPart3536956.GQUyq1zLqb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3536956.GQUyq1zLqb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 26 June 2005 12:37, Jeroen Wijnhout wrote: > Hi, >=20 > While busy thinking about redesigning elements of Kile, I was wondering t= he=20 > following: >=20 > In Kate (and in Kile) a document is added to the GUI by > calling guiFactory()->addClient() on the corresponding view. However, for= a=20 > KPart it should be sufficient to call > KParts::PartManager::addPart (perhaps followed by setActivePart) and=20 > createGUI. >=20 > However, this does not work for KTextEditor::Document KParts. What is goi= ng=20 > on? Why do I have to treat KTextEditor::Document as special? if you query for a KParts::ReadWrite or ReadOnly Part, you will get the wan= ted effect, but if you query for a KTextEditor::Document, you must live with the circumstance that ktexteditor= has view/doc separation and therefor life is not that easy :) cu Christoph =2D-=20 Christoph Cullmann KDE Developer, kde.org Maintainance Team http://www.babylon2k.de, cullmann@kde.org --nextPart3536956.GQUyq1zLqb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCvvdWyPjDGePm9UIRAg2SAJ0cLtoMoUaEssBgu6tcRG0nz8Ch/QCg2dUQ gKs1uAsYwg78wWY/pSdh1C8= =hZlc -----END PGP SIGNATURE----- --nextPart3536956.GQUyq1zLqb-- --===============1782694565== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ktexteditor-devel mailing list Ktexteditor-devel@kde.org https://mail.kde.org/mailman/listinfo/ktexteditor-devel --===============1782694565==--