VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt4.cpp

    r32787 r33540  
    209209     * It is vitally important that updateCallback is fed the data in the right
    210210     * order. The code make very definite ASSUMPTIONS about the ordering being
    211      * stricly sorted and taking the slash into account when doing so.
     211     * strictly sorted and taking the slash into account when doing so.
    212212     *
    213213     * @returns true if we reset the model and it's necessary to set the root index.
     
    406406
    407407    /**
    408      * Removes a node from the tree and destroys it and all its decentands.
     408     * Removes a node from the tree and destroys it and all its descendants.
    409409     *
    410410     * @param   pNode       The node.
     
    412412    static void removeAndDestroyNode(PDBGGUISTATSNODE pNode);
    413413
    414     /** Removes a node from the tree and destroys it and all its decentands
     414    /** Removes a node from the tree and destroys it and all its descendants
    415415     * performing the required Qt signalling. */
    416416    void removeAndDestroy(PDBGGUISTATSNODE pNode);
     
    429429     *
    430430     * @param   a_pNode     The node.
    431      * @param   a_rString   The string to append the strigified node to.
     431     * @param   a_rString   The string to append the stringified node to.
    432432     */
    433433    static void stringifyNodeNoRecursion(PDBGGUISTATSNODE a_pNode, QString &a_rString);
     
    439439     *
    440440     * @param   a_pNode     The node.
    441      * @param   a_rString   The string to append the strigified node to.
     441     * @param   a_rString   The string to append the stringified node to.
    442442     */
    443443    static void stringifyNode(PDBGGUISTATSNODE a_pNode, QString &a_rString);
     
    520520public:
    521521
    522     /** @name Overriden QAbstractItemModel methods
     522    /** @name Overridden QAbstractItemModel methods
    523523     * @{ */
    524524    virtual int columnCount(const QModelIndex &a_rParent) const;
     
    13091309        return NULL;
    13101310
    1311     /* decend to children. */
     1311    /* descend to children. */
    13121312    if (pNode->cChildren)
    13131313        return pNode->papChildren[0];
     
    13541354        return NULL;
    13551355
    1356     /* previous sibling's latest decendant (better expression anyone?). */
     1356    /* previous sibling's latest descendant (better expression anyone?). */
    13571357    if (pNode->iSelf > 0)
    13581358    {
     
    14181418     *
    14191419     * Might consider optimizing insertion at some later point since this
    1420      * is a normal occurance (dynamic statistics in PATM, IOM, MM, ++).
     1420     * is a normal occurrence (dynamic statistics in PATM, IOM, MM, ++).
    14211421     */
    14221422    Assert(pszName[0] == '/');
     
    16081608        if (pNode->cChildren)
    16091609        {
    1610             /* decend to the first child. */
     1610            /* descend to the first child. */
    16111611            Assert(m_cchUpdateParent + pNode->cchName + 2 < sizeof(m_szUpdateParent));
    16121612            memcpy(&m_szUpdateParent[m_cchUpdateParent], pNode->pszName, pNode->cchName);
     
    16531653        }
    16541654
    1655         /* decend to a node containing data and finalize the globals. (ASSUMES leaf has data.) */
     1655        /* descend to a node containing data and finalize the globals. (ASSUMES leaf has data.) */
    16561656        if (m_iUpdateChild != UINT32_MAX)
    16571657        {
     
    18071807         * Send dataChanged events.
    18081808         *
    1809          * We do this here instead of from the updateCallback because it lesses
     1809         * We do this here instead of from the updateCallback because it reduces
    18101810         * the clutter in that method and allow us to emit bulk signals in an
    18111811         * easier way because we can traverse the tree in a different fashion.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette