Re: Quanta Docs

Andras Mantia <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
On Friday 02 March 2007, Bèr Kessels wrote:
> Hello,
>
> I am working on some scripts that allow context help in Kate, and
> wanted to see if I can re-use parts of Quanta's Documentation
> handling.

Quanta's documentation simple is very simple. Of course you can reuse it 
(its GPL, after all), but I don't know if you really want to do it or 
not. It depends what exactly you would like to do. 

> Are there any docs on DCOP methods that handle the docs? Are there
> any commanline tools that allow me to search the docs? 

Not, as far as I know.

> Is the 
> documentation something that is available KDE-wide, or is it
> hardwired into Quanta?

The documentation system is completely Quanta specific, but the texts 
themselves and the indexing files are not hardwired, meaning that they 
can be modified or new ones can be created.

If you just want to reuse the Quanta docs  in Kate and invoke some kind 
of help for e.g. a command or tag, than the best would be to take the 
Doc* classes form quanta/treeviews, and reuse it in Kate (or write your 
new code, its very simple to do it). I think 
DocTreeView::contextHelp(const QString &keyword) is what you are 
looking for. The syntax of the documentation system itself is written 
down in the Quanta handbook. The result (the doc pages) are HTML pages 
shown in a khtmlpart.

> Oh and last question: is the general ML the rigth place to ask such
> questions? :)

Probably [email protected]  is better, but doesn't really matter.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBF6pj/TQdfac6L/08RAjt2AKDh9I1Wwy7KfUuwwJLQ9/02gqKkmACg38n8
QgJF8GSvAPAZadT93pgEmSE=
=6Xz2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.