diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /mimelib/doc/msgcmp.html | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mimelib/doc/msgcmp.html')
-rw-r--r-- | mimelib/doc/msgcmp.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/mimelib/doc/msgcmp.html b/mimelib/doc/msgcmp.html index 2469c3712..4eae39937 100644 --- a/mimelib/doc/msgcmp.html +++ b/mimelib/doc/msgcmp.html @@ -130,26 +130,26 @@ These features are the following: <B><TT>SetModified()</TT></B> which forces the is-modified flag to be set. <P> <LI> - A parent. Most message components are part of another component. A collection + A tqparent. Most message components are part of another component. A collection of headers is part of a message or body part, a header field is part of a collection of headers, a field-body is part of a header field, and so on. - The parent of a component is the component that tqcontains it. This tree structure - is important, since a component's parent must be parsed before the component + The tqparent of a component is the component that contains it. This tree structure + is important, since a component's tqparent must be parsed before the component can be. Also, a component's string representation must be assembled before - its parent's. To maintain consistency in the tree, whenever a component's - is-modified flag is set, the component notifies its parent to also set its + its tqparent's. To maintain consistency in the tree, whenever a component's + is-modified flag is set, the component notifies its tqparent to also set its is-modified flag. In this way, an is-modified flag set anywhere in the tree always propagates up to the root component. <P> <LI> - Children. The preceding discussion about a component's parent is relevant - to an understanding of a component's children. A component's parse method - calls the parse methods of its children after it has executed its own parse - method (and, in some cases, created all of its children). Also, a component - typically calls the assemble method of its children before it executes its + Children. The preceding discussion about a component's tqparent is relevant + to an understanding of a component's tqchildren. A component's parse method + calls the parse methods of its tqchildren after it has executed its own parse + method (and, in some cases, created all of its tqchildren). Also, a component + typically calls the assemble method of its tqchildren before it executes its own. A component's child may request that the component set its is-modified - flag. <B><TT>DwMessageComponent</TT></B> does not deal directly with children. - Derived classes bear all the responsibility for handling their children. + flag. <B><TT>DwMessageComponent</TT></B> does not deal directly with tqchildren. + Derived classes bear all the responsibility for handling their tqchildren. </UL> <H2> <FONT COLOR="navy"> Public Member Functions </FONT> @@ -163,18 +163,18 @@ DwMessageComponent(const DwString& aStr, DwMessageComponent* aParent=0) <P> The first constructor is the default constructor, which sets the <B><TT>DwMessageComponent</TT></B> object's string representation to the -empty string and sets its parent to NULL. +empty string and sets its tqparent to NULL. <P> The second constructor is the copy constructor, which performs a deep copy -of <B><TT>aCmp</TT></B>. The parent of the new +of <B><TT>aCmp</TT></B>. The tqparent of the new <B><TT>DwMessageComponent</TT></B> object is set to NULL. <P> The third constructor copies <B><TT>aStr</TT></B> to the new <B><TT>DwMessageComponent</TT></B> object's string representation and sets -<B><TT>aParent</TT></B> as its parent. In typical cases, the virtual member +<B><TT>aParent</TT></B> as its tqparent. In typical cases, the virtual member function <B><TT>Parse()</TT></B> should be called immediately after this constructor to parse the new <B><TT>DwMessageComponent</TT></B> object and -all of its children into their broken-down representations. +all of its tqchildren into their broken-down representations. <P> <FONT COLOR="teal"><B> const DwMessageComponent& <A NAME="op_eq">operator =</A> (const DwMessageComponent& aCmp) </B></FONT> @@ -189,11 +189,11 @@ A pure virtual function which provides an interface to the parse method. The parse method, implemented in derived classes, is responsible for extracting the broken-down representation from the string representation. In some derived classes, such as <B><TT>DwHeaders</TT></B>, the parse method is also responsible -for creating the children of the object. (In the case of -<B><TT>DwHeaders</TT></B>, the children created are the +for creating the tqchildren of the object. (In the case of +<B><TT>DwHeaders</TT></B>, the tqchildren created are the <B><TT>DwField</TT></B> objects that represent the <I>field</I>s contained in the <I>headers</I>.) The <B><TT>Parse()</TT></B> function always calls -the <B><TT>Parse()</TT></B> function of all of its children. +the <B><TT>Parse()</TT></B> function of all of its tqchildren. <P> <FONT COLOR="teal"><B> virtual void <A NAME="Assemble">Assemble</A>() = 0 </B></FONT> @@ -203,11 +203,11 @@ The assemble method, implemented in derived classes, is responsible for creating the string representation from the broken-down representation. In other words, the assemble method is the opposite of the parse method. Before assembling its string representation, the assemble method calls the assemble method -of each of its children. In this way, the entire tree structure that represents +of each of its tqchildren. In this way, the entire tree structure that represents a message may be traversed. If the is-modifed flag for a <B><TT>DwMessageComponent</TT></B> is cleared, the <B><TT>Assemble()</TT></B> function will return immediately without calling -the <B><TT>Assemble()</TT></B> function of any of its children. +the <B><TT>Assemble()</TT></B> function of any of its tqchildren. <P> <FONT COLOR="teal"><B> virtual DwMessageComponent* <A NAME="Clone">Clone</A>() const = 0 </B></FONT> @@ -224,7 +224,7 @@ Sets the object's string representation. <B><TT>aCstr</TT></B> must be NUL-terminated. This member function does not invoke the parse method. Typically, the virtual member function <B><TT>Parse()</TT></B> should be called immediately after this member function to parse the -<B><TT>DwMessageComponent</TT></B> object and all of its children into their +<B><TT>DwMessageComponent</TT></B> object and all of its tqchildren into their broken-down representations. See also <B><TT>DwMessageComponent::Parse()</TT></B> <P> @@ -241,14 +241,14 @@ string representation are consistent. See also <FONT COLOR="teal"><B> DwMessageComponent* <A NAME="Parent">Parent</A>() </B></FONT> <P> -Returns the <B><TT>DwMessageComponent</TT></B> object that is the parent +Returns the <B><TT>DwMessageComponent</TT></B> object that is the tqparent of this object. <P> <FONT COLOR="teal"><B> void <A NAME="SetParent">SetParent</A>(DwMessageComponent* aParent) </B></FONT> <P> Sets <B><TT>aParent</TT></B> as the <B><TT>DwMessageComponent</TT></B> object's -parent. +tqparent. <P> <FONT COLOR="teal"><B> DwBool <A NAME="IsModified">IsModified</A>() const </B></FONT> @@ -260,7 +260,7 @@ Returns 1 if the is-modified flag is set for this </B></FONT> <P> Sets the is-modified (dirty) flag for this -<B><TT>DwMessageComponent</TT></B> object and notifies the object's parent +<B><TT>DwMessageComponent</TT></B> object and notifies the object's tqparent to also set its is-modified flag. <P> <FONT COLOR="teal"><B> int <A NAME="ClassId">ClassId</A>() const </B></FONT> |