File indexing completed on 2024-03-24 04:38:31
0001 /* This file is part of KDevelop 0002 * Copyright 2011 Sebastien Rannou <mxs@sbrk.org> 0003 * Copyright 2008 Hamish Rodda <rodda@kde.org> 0004 * Copyright 2011 Lucas Sarie <lucas.sarie@gmail.com> 0005 * Copyright 2017 Anton Anikin <anton@anikin.xyz> 0006 0007 This program is free software; you can redistribute it and/or 0008 modify it under the terms of the GNU General Public 0009 License as published by the Free Software Foundation; either 0010 version 2 of the License, or (at your option) any later version. 0011 0012 This program is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 General Public License for more details. 0016 0017 You should have received a copy of the GNU General Public License 0018 along with this program; see the file COPYING. If not, write to 0019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0020 Boston, MA 02110-1301, USA. 0021 */ 0022 0023 #pragma once 0024 0025 #include <QTreeView> 0026 #include <QWidget> 0027 0028 namespace Valgrind 0029 { 0030 0031 namespace Ui { class CachegrindView; } 0032 0033 class CachegrindFunctionsModel; 0034 0035 class CachegrindView : public QWidget 0036 { 0037 Q_OBJECT 0038 0039 public: 0040 explicit CachegrindView(CachegrindFunctionsModel* model, QWidget* parent = nullptr); 0041 ~CachegrindView() override; 0042 0043 private: 0044 QScopedPointer<Ui::CachegrindView> ui; 0045 }; 0046 0047 }