From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- mimelib/doc/msgcmp.html | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'mimelib/doc/msgcmp.html') 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: SetModified() which forces the is-modified flag to be set.

  • - 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.

  • - 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. DwMessageComponent does not deal directly with children. - Derived classes bear all the responsibility for handling their children. + flag. DwMessageComponent does not deal directly with tqchildren. + Derived classes bear all the responsibility for handling their tqchildren.

    Public Member Functions @@ -163,18 +163,18 @@ DwMessageComponent(const DwString& aStr, DwMessageComponent* aParent=0)

    The first constructor is the default constructor, which sets the DwMessageComponent object's string representation to the -empty string and sets its parent to NULL. +empty string and sets its tqparent to NULL.

    The second constructor is the copy constructor, which performs a deep copy -of aCmp. The parent of the new +of aCmp. The tqparent of the new DwMessageComponent object is set to NULL.

    The third constructor copies aStr to the new DwMessageComponent object's string representation and sets -aParent as its parent. In typical cases, the virtual member +aParent as its tqparent. In typical cases, the virtual member function Parse() should be called immediately after this constructor to parse the new DwMessageComponent object and -all of its children into their broken-down representations. +all of its tqchildren into their broken-down representations.

    const DwMessageComponent& operator = (const DwMessageComponent& aCmp) @@ -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 DwHeaders, the parse method is also responsible -for creating the children of the object. (In the case of -DwHeaders, the children created are the +for creating the tqchildren of the object. (In the case of +DwHeaders, the tqchildren created are the DwField objects that represent the fields contained in the headers.) The Parse() function always calls -the Parse() function of all of its children. +the Parse() function of all of its tqchildren.

    virtual void Assemble() = 0 @@ -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 DwMessageComponent is cleared, the Assemble() function will return immediately without calling -the Assemble() function of any of its children. +the Assemble() function of any of its tqchildren.

    virtual DwMessageComponent* Clone() const = 0 @@ -224,7 +224,7 @@ Sets the object's string representation. aCstr must be NUL-terminated. This member function does not invoke the parse method. Typically, the virtual member function Parse() should be called immediately after this member function to parse the -DwMessageComponent object and all of its children into their +DwMessageComponent object and all of its tqchildren into their broken-down representations. See also DwMessageComponent::Parse()

    @@ -241,14 +241,14 @@ string representation are consistent. See also DwMessageComponent* Parent()

    -Returns the DwMessageComponent object that is the parent +Returns the DwMessageComponent object that is the tqparent of this object.

    void SetParent(DwMessageComponent* aParent)

    Sets aParent as the DwMessageComponent object's -parent. +tqparent.

    DwBool IsModified() const @@ -260,7 +260,7 @@ Returns 1 if the is-modified flag is set for this

    Sets the is-modified (dirty) flag for this -DwMessageComponent object and notifies the object's parent +DwMessageComponent object and notifies the object's tqparent to also set its is-modified flag.

    int ClassId() const -- cgit v1.2.1