Debugger: Add a convenience function GdbMi::toInt()

Saves some line noise on the user side.

Change-Id: I9c6d7542195fc7485ac4ee466cd42a28be95b8da
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2013-05-07 12:09:54 +02:00
committed by David Schulz
parent 4f063d5bca
commit fa2ac44271
9 changed files with 38 additions and 37 deletions

View File

@@ -123,6 +123,7 @@ public:
QByteArray toString(bool multiline = false, int indent = 0) const;
qulonglong toAddress() const;
int toInt() const { return m_data.toInt(); }
void fromString(const QByteArray &str);
void fromStringMultiple(const QByteArray &str);