Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QTestElement Class Reference

#include <qtestelement_p.h>

Inheritance diagram for QTestElement:
Collaboration diagram for QTestElement:

Public Member Functions

 QTestElement (QTest::LogElementType type=QTest::LET_Undefined)
 ~QTestElement ()
bool addChild (QTestElement *element)
const std::vector< QTestElement * > & childElements () const
const QTestElementparentElement () const
void setParent (const QTestElement *p)
Public Member Functions inherited from QTestCoreElement< QTestElement >
 QTestCoreElement (QTest::LogElementType type=QTest::LET_Undefined)
virtual ~QTestCoreElement ()
void addAttribute (const QTest::AttributeIndex index, const char *value)
const std::vector< QTestElementAttribute * > & attributes () const
const char * attributeValue (QTest::AttributeIndex index) const
const char * attributeName (QTest::AttributeIndex index) const
const QTestElementAttributeattribute (QTest::AttributeIndex index) const
const char * elementName () const
QTest::LogElementType elementType () const

Detailed Description

Definition at line 24 of file qtestelement_p.h.

Constructor & Destructor Documentation

◆ QTestElement()

QT_BEGIN_NAMESPACE QTestElement::QTestElement ( QTest::LogElementType type = QTest::LET_Undefined)

Definition at line 8 of file qtestelement.cpp.

◆ ~QTestElement()

QTestElement::~QTestElement ( )

Definition at line 13 of file qtestelement.cpp.

Member Function Documentation

◆ addChild()

bool QTestElement::addChild ( QTestElement * element)

Definition at line 19 of file qtestelement.cpp.

◆ childElements()

const std::vector< QTestElement * > & QTestElement::childElements ( ) const

Definition at line 33 of file qtestelement.cpp.

◆ parentElement()

const QTestElement * QTestElement::parentElement ( ) const

Definition at line 38 of file qtestelement.cpp.

◆ setParent()

void QTestElement::setParent ( const QTestElement * p)

Definition at line 43 of file qtestelement.cpp.


The documentation for this class was generated from the following files: