summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/threadshandler.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-06-07 17:04:53 +0200
committerhjk <hjk@theqtcompany.com>2016-06-09 08:09:46 +0000
commit726b907cc356995b7a9c28ee8dc8b2f2314e9103 (patch)
tree3c7b9b8a4d6cdeb7ce8fc27fc9c7a8d711b147e3 /src/plugins/debugger/threadshandler.h
parent3333352e3b78df0348502e981def87185f57b222 (diff)
downloadqt-creator-726b907cc356995b7a9c28ee8dc8b2f2314e9103.tar.gz
Debugger: Remove debuggerstringutils.h
With QT_RESTRICTED_CAST_FROM_ASCII making GdbMi etc operate on QString is feasible again. Take this as opportunity to move debugger encoding handling closer to a 'conversion on input and output if needed, storage in QString only' scheme. Change-Id: I2f10c9fa8a6c62c44f4e6682efe3769e9fba30f7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/threadshandler.h')
-rw-r--r--src/plugins/debugger/threadshandler.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/debugger/threadshandler.h b/src/plugins/debugger/threadshandler.h
index 9ef6f14cc7..83f20ccd9d 100644
--- a/src/plugins/debugger/threadshandler.h
+++ b/src/plugins/debugger/threadshandler.h
@@ -52,7 +52,7 @@ public:
ThreadId currentThread() const;
ThreadId threadAt(int index) const;
void setCurrentThread(ThreadId id);
- QByteArray pidForGroupId(const QByteArray &groupId) const;
+ QString pidForGroupId(const QString &groupId) const;
void updateThread(const ThreadData &threadData);
void updateThreads(const GdbMi &data);
@@ -63,15 +63,15 @@ public:
ThreadData thread(ThreadId id) const;
QAbstractItemModel *model();
- void notifyGroupCreated(const QByteArray &groupId, const QByteArray &pid);
- bool notifyGroupExited(const QByteArray &groupId); // Returns true when empty.
+ void notifyGroupCreated(const QString &groupId, const QString &pid);
+ bool notifyGroupExited(const QString &groupId); // Returns true when empty.
// Clear out all frame information
- void notifyRunning(const QByteArray &data);
+ void notifyRunning(const QString &data);
void notifyRunning(ThreadId threadId);
void notifyAllRunning();
- void notifyStopped(const QByteArray &data);
+ void notifyStopped(const QString &data);
void notifyStopped(ThreadId threadId);
void notifyAllStopped();
@@ -85,7 +85,7 @@ private:
ThreadId m_currentId;
bool m_resetLocationScheduled;
- QHash<QByteArray, QByteArray> m_pidForGroupId;
+ QHash<QString, QString> m_pidForGroupId;
};
} // namespace Internal