Qt 4.8
Classes | Typedefs | Functions
qscriptdebuggervalueproperty_p.h File Reference
#include <QtCore/qobjectdefs.h>
#include <QtCore/qlist.h>
#include <QtCore/private/qscopedpointer_p.h>
#include <QtScript/qscriptvalue.h>

Go to the source code of this file.

Classes

class  QScriptDebuggerValueProperty
 

Typedefs

typedef QList< QScriptDebuggerValuePropertyQScriptDebuggerValuePropertyList
 

Typedef Documentation

◆ QScriptDebuggerValuePropertyList

Definition at line 94 of file qscriptdebuggervalueproperty_p.h.

Function Documentation

◆ operator<<()

Q_AUTOTEST_EXPORT QDataStream& operator<< ( QDataStream ,
const QScriptDebuggerValueProperty  
)
related

Definition at line 191 of file qscriptdebuggervalueproperty.cpp.

192 {
193  out << property.name();
194  out << property.value();
195  out << property.valueAsString();
196  out << (quint32)property.flags();
197  return out;
198 }
unsigned int quint32
Definition: qglobal.h:938
const char * property
Definition: qwizard.cpp:138

◆ operator>>()

Definition at line 210 of file qscriptdebuggervalueproperty.cpp.

211 {
212  QString name;
213  QScriptDebuggerValue value;
214  QString valueAsString;
215  quint32 flags;
216  in >> name;
217  in >> value;
218  in >> valueAsString;
219  in >> flags;
220  property = QScriptDebuggerValueProperty(
221  name, value, valueAsString, QScriptValue::PropertyFlags(flags));
222  return in;
223 }
The QString class provides a Unicode character string.
Definition: qstring.h:83
const char * name
The QScriptDebuggerValue class represents a script value.
PropertyFlags
Definition: qmetaobject_p.h:61
unsigned int quint32
Definition: qglobal.h:938