MessageCore::NodeHelper
MessageCore::NodeHelper Namespace Reference
Functions | |
MESSAGECORE_EXPORT KMime::Content * | firstChild (const KMime::Content *node) |
MESSAGECORE_EXPORT KMime::Content * | next (KMime::Content *node, bool allowChildren=true) |
MESSAGECORE_EXPORT KMime::Content * | nextSibling (const KMime::Content *node) |
Detailed Description
Contains some static functions for navigating in KMime::Node trees.
Function Documentation
◆ firstChild()
KMime::Content * MessageCore::NodeHelper::firstChild | ( | const KMime::Content * | node | ) |
Returns the first child node of the given node
.
If there is no child node 0
is returned.
Definition at line 54 of file messagecore/src/helpers/nodehelper.cpp.
◆ next()
KMime::Content * MessageCore::NodeHelper::next | ( | KMime::Content * | node, |
bool | allowChildren = true |
||
) |
Returns the next node (child, sibling or parent) of the given node
.
- Parameters
-
node The start node for iteration. allowChildren If true
child nodes will be returned, otherwise only sibling or parent nodes.
Definition at line 33 of file messagecore/src/helpers/nodehelper.cpp.
◆ nextSibling()
KMime::Content * MessageCore::NodeHelper::nextSibling | ( | const KMime::Content * | node | ) |
Returns the next sibling node of the given node
.
If there is no sibling node 0
is returned.
Definition at line 14 of file messagecore/src/helpers/nodehelper.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 03:56:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 03:56:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.