diff options
author | hjk <qtc-committer@nokia.com> | 2010-11-16 11:48:17 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-11-16 11:48:43 +0100 |
commit | 0a004097e1cf05e5c3a64e4073b000eece61bb44 (patch) | |
tree | 2d58d7ca9a753d9feb0e8c904220dd2b63baaf75 /src/plugins/debugger/debuggerstreamops.cpp | |
parent | 3a7f7b6d4a07405a43d35238acebd4b1a5f3a5fd (diff) |
debugger: remove intermediate BreakpointData stucture layer
Diffstat (limited to 'src/plugins/debugger/debuggerstreamops.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerstreamops.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/plugins/debugger/debuggerstreamops.cpp b/src/plugins/debugger/debuggerstreamops.cpp index d90c12b648..9312bb9172 100644 --- a/src/plugins/debugger/debuggerstreamops.cpp +++ b/src/plugins/debugger/debuggerstreamops.cpp @@ -164,31 +164,31 @@ QDataStream &operator>>(QDataStream &stream, BreakpointResponse &s) return stream; } -QDataStream &operator<<(QDataStream &stream, const BreakpointData &s) +QDataStream &operator<<(QDataStream &stream, const BreakpointParameters &s) { - stream << s.fileName(); - stream << s.condition(); - stream << quint64(s.ignoreCount()); - stream << quint64(s.lineNumber()); - stream << quint64(s.address()); - stream << s.functionName(); - stream << s.useFullPath(); + stream << s.fileName; + stream << s.condition; + stream << quint64(s.ignoreCount); + stream << quint64(s.lineNumber); + stream << quint64(s.address); + stream << s.functionName; + stream << s.useFullPath; return stream; } -QDataStream &operator>>(QDataStream &stream, BreakpointData &s) +QDataStream &operator>>(QDataStream &stream, BreakpointParameters &s) { quint64 t; QString str; QByteArray ba; bool b; - stream >> str; s.setFileName(str); - stream >> ba; s.setCondition(ba); - stream >> t; s.setIgnoreCount(t); - stream >> t; s.setLineNumber(t); - stream >> t; s.setAddress(t); - stream >> str; s.setFunctionName(str); - stream >> b; s.setUseFullPath(b); + stream >> str; s.fileName = str; + stream >> ba; s.condition = ba; + stream >> t; s.ignoreCount = t; + stream >> t; s.lineNumber = t; + stream >> t; s.address = t; + stream >> str; s.functionName = str; + stream >> b; s.useFullPath = b; return stream; } |