[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta-devel
Subject: Re: [quanta-devel] Logic vs Visual Editor
From: Andras Mantia <amantia () kde ! org>
Date: 2005-03-22 20:49:30
Message-ID: 200503222249.31093.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 22 March 2005 22:29, Paulo Moura Guedes wrote:
> On Friday 18 March 2005 18:35, Andras Mantia wrote:
> > I'm wondering if we need scope informations where should it be: the
> > action file or the description of the tag. I believe in the latter.
>
> I made strong.tag look like this:
> <tag name="strong" hasCore="1" hasI18n="1" hasScript="1"
> scope="word">
>
> Now, I'm trying to access the scope attribute without success:
>
> Attribute* attr = tag_description->attribute("scope");
I suppose you tag_description is a QTag here. QTag->attribute is for the
<attr> tags inside a <tag>, not an attribute for <tag>. ;-) If you want
to have such a flag/attribute for each tag, you must add a member +
set/getter methods in QTag and read the values from the tag file in
dtds.cpp:
DTDs::setAttributes
> QString scope = attr->defaultValue;
>
> Any advice Andras? :)
Hope this helps. Just verify what happens with inherited tags (when for
example HTML Frameset inherits Strict.
Andras
--
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/pgp-signature)]
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic