Files
qt-creator/src/plugins/valgrind/xmlprotocol/announcethread.h
Jarek Kobus fbf9325395 ValgrindPlugin: Use QList instead of QVector
Change-Id: Ib1bd223b73d1f7399008f91a3c26ff515ab03a0c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-08-08 09:23:25 +00:00

36 lines
816 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QSharedDataPointer>
#include <QList>
namespace Valgrind {
namespace XmlProtocol {
class Frame;
class AnnounceThread {
public:
AnnounceThread();
AnnounceThread(const AnnounceThread &other);
~AnnounceThread();
AnnounceThread &operator=(const AnnounceThread &other);
void swap(AnnounceThread &other);
bool operator==(const AnnounceThread &other) const;
qint64 helgrindThreadId() const;
void setHelgrindThreadId(qint64 id);
QList<Frame> stack() const;
void setStack(const QList<Frame> &stack);
private:
class Private;
QSharedDataPointer<Private> d;
};
} // namespace XmlProtocol
} // namespace Valgrind