diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtsharp/doc | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtsharp/doc')
-rw-r--r-- | qtsharp/doc/dtd/annotation.dtd | 65 | ||||
-rw-r--r-- | qtsharp/doc/dtd/api.dtd | 79 |
2 files changed, 144 insertions, 0 deletions
diff --git a/qtsharp/doc/dtd/annotation.dtd b/qtsharp/doc/dtd/annotation.dtd new file mode 100644 index 00000000..29e004d6 --- /dev/null +++ b/qtsharp/doc/dtd/annotation.dtd @@ -0,0 +1,65 @@ +<!-- Qt# API annotation XML DTD --> + +<!ELEMENT Annotation (Prepend | Append | Create | Replace | Namespace)+ > + +<!-- Formatting elements --> + +<!ELEMENT Prepend (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Append (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Create (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Replace (Constructor | Method | Field | Property | Destructor)+ > + +<!-- API elements --> + +<!ELEMENT Namespace (Using | Class | Interface | Enum)+ > +<!ATTLIST Namespace Name CDATA #REQUIRED > + +<!ELEMENT Using EMPTY > +<!ATTLIST Using Name CDATA #REQUIRED > + +<!ELEMENT Class (Using | Prepend | Append | Create | Replace)+ > +<!ATTLIST Class Name CDATA #REQUIRED > + +<!ELEMENT Field EMPTY > +<!ATTLIST Field + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED +> + +<!ELEMENT Property (Get | Set)+ > +<!ATTLIST Property + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Get (Code)+ > +<!ELEMENT Set (Code)+ > + +<!ELEMENT Parameter EMPTY > +<!ATTLIST Parameter + Name CDATA #REQUIRED + Type CDATA #REQUIRED +> + +<!ELEMENT Constructor (Parameter | Code)* > +<!ATTLIST Constructor + Name CDATA #IMPLIED + Access CDATA #IMPLIED +> + +<!ELEMENT Destructor (Code)* > + +<!ELEMENT Method (Parameter | Code)* > +<!ATTLIST Method + Name CDATA #REQUIRED + Access CDATA #REQUIRED + Static CDATA #IMPLIED + Virtual CDATA #IMPLIED + Return CDATA #REQUIRED + MethodType CDATA #IMPLIED +> + +<!ELEMENT Code (#PCDATA) > diff --git a/qtsharp/doc/dtd/api.dtd b/qtsharp/doc/dtd/api.dtd new file mode 100644 index 00000000..c0b9506d --- /dev/null +++ b/qtsharp/doc/dtd/api.dtd @@ -0,0 +1,79 @@ +<!-- Qt# parser/generator API XML DTD --> + +<!ELEMENT API (Namespace)+ > + +<!ELEMENT Namespace (Namespace | Class | Enum)+ > +<!ATTLIST Namespace Name CDATA #REQUIRED > + +<!ELEMENT Class (Ancestor | Field | Property | Constructor | Destructor | Method | Enum)+ > +<!ATTLIST Class Name CDATA #REQUIRED > + +<!ELEMENT Ancestor EMPTY > +<!ATTLIST Ancestor Name CDATA #REQUIRED > + +<!ELEMENT Field EMPTY > +<!ATTLIST Field + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED + Static CDATA #IMPLIED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Property (Parameter) > +<!ATTLIST Property + Name CDATA #REQUIRED + Type CDATA #IMPLIED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Parameter (ATTRIBUTE) > +<!ATTLIST Parameter + Name CDATA #REQUIRED + Type CDATA #REQUIRED + PassBy CDATA #IMPLIED + Const CDATA #IMPLIED + Unsigned CDATA #IMPLIED + Default CDATA #IMPLIED +> + +<!ELEMENT Constructor (Parameter)* > +<!ATTLIST Constructor + Name CDATA #IMPLIED + Access CDATA #REQUIRED + Id CDATA #IMPLIED +> + +<!ELEMENT Destructor EMPTY > +<!ATTLIST Destructor Name CDATA #IMPLIED > + +<!ELEMENT Method (ReturnType, Parameter*) > +<!ATTLIST Method + Name CDATA #REQUIRED + Access CDATA #REQUIRED + Const CDATA #IMPLIED + Static CDATA #IMPLIED + Virtual CDATA #IMPLIED + MethodType CDATA #IMPLIED + Id CDATA #IMPLIED +> + +<!ELEMENT ReturnType EMPTY > +<!ATTLIST ReturnType + Type CDATA #ACCESS + PassBy CDATA #IMPLIED + Const CDATA #IMPLIED + Unsigned CDATA #IMPLIED +> + +<!ELEMENT Enum (EnumItem)+ > +<!ATTLIST Enum + Name CDATA #REQUIRED + Unsigned CDATA #IMPLIED +> + +<!ELEMENT EnumItem EMPTY > +<!ATTLIST EnumItem + Name CDATA #REQUIRED + Value CDATA #REQUIRED +> |