Qt 4.8
Classes | Functions
qscriptbreakpointdata.cpp File Reference
#include "qscriptbreakpointdata_p.h"
#include <QtCore/qdatastream.h>
#include <QtCore/qstring.h>
#include <QtCore/qvariant.h>

Go to the source code of this file.

Classes

class  QScriptBreakpointDataPrivate
 

Functions

QDataStreamoperator<< (QDataStream &out, const QScriptBreakpointData &data)
 
QDataStreamoperator>> (QDataStream &in, QScriptBreakpointData &data)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream out,
const QScriptBreakpointData data 
)

Definition at line 361 of file qscriptbreakpointdata.cpp.

362 {
363  const QScriptBreakpointDataPrivate *d = data.d_ptr.data();
364  out << d->scriptId;
365  out << d->fileName;
366  out << d->lineNumber;
367  out << d->enabled;
368  out << d->singleShot;
369  out << d->ignoreCount;
370  out << d->condition;
371  out << d->data;
372  out << d->hitCount;
373  return out;
374 }
double d
Definition: qnumeric_p.h:62
T * data() const
Returns the value of the pointer referenced by this object.
QScopedPointer< QScriptBreakpointDataPrivate > d_ptr

◆ operator>>()

QDataStream& operator>> ( QDataStream in,
QScriptBreakpointData data 
)

Definition at line 386 of file qscriptbreakpointdata.cpp.

387 {
389  in >> d->scriptId;
390  in >> d->fileName;
391  in >> d->lineNumber;
392  in >> d->enabled;
393  in >> d->singleShot;
394  in >> d->ignoreCount;
395  in >> d->condition;
396  in >> d->data;
397  in >> d->hitCount;
398  return in;
399 }
double d
Definition: qnumeric_p.h:62
T * data() const
Returns the value of the pointer referenced by this object.
QScopedPointer< QScriptBreakpointDataPrivate > d_ptr