PropQuestion Class Reference

A question model customized for getting/setting its value from a specific property in a DataObject. More...

#include <propquestion.h>

Inheritance diagram for PropQuestion:

Inheritance graph
[legend]
Collaboration diagram for PropQuestion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PropQuestion (QString name, DataObject *destination)
bool setValue (QVariant newValue)
 Has the side-effect of emitting a valueChanged() signal.
Qt::ItemFlags flags () const
QVariant value () const

Detailed Description

A question model customized for getting/setting its value from a specific property in a DataObject.

Definition at line 13 of file propquestion.h.


Member Function Documentation

bool PropQuestion::setValue ( QVariant  newValue  )  [virtual]

Has the side-effect of emitting a valueChanged() signal.

Returns:
false if there was an error setting the value (such as an invalid value)

Reimplemented from Question.

Definition at line 25 of file propquestion.cpp.

References DataObject::setProperty().

Referenced by PropQuestion().


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:44 2009 for oopapidocs by  doxygen 1.5.1