KTutorial  0.5.1
Public Member Functions
ktutorial::WaitForAnd Class Reference

Composed WaitFor that performs an AND between its children. More...

#include <WaitForAnd.h>

Inheritance diagram for ktutorial::WaitForAnd:
Inheritance graph
[legend]
Collaboration diagram for ktutorial::WaitForAnd:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Q_INVOKABLE WaitForAnd ()
 Creates a new WaitForAnd.
virtual ~WaitForAnd ()
 Destroys this WaitForAnd.
virtual bool conditionMet () const
 Returns true if all of its children met its condition, false otherwise.

Detailed Description

Composed WaitFor that performs an AND between its children.

Definition at line 33 of file WaitForAnd.h.


Member Function Documentation

bool ktutorial::WaitForAnd::conditionMet ( ) const [virtual]

Returns true if all of its children met its condition, false otherwise.

If there are no children, false is returned.

Returns:
True if all of its children met its condition, false otherwise.

Implements ktutorial::WaitFor.

Definition at line 36 of file WaitForAnd.cpp.

References ktutorial::WaitForComposed::waitFors().


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