2 * KDevelop DUChain viewer
4 * Copyright (c) 2007 Hamish Rodda <rodda@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Library General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #include <QtGui/QTreeView>
27 #include <language/duchain/duchainbase.h>
28 #include <language/duchain/duchainobserver.h>
30 class DUChainViewPlugin
;
37 class DUChainTree
: public QTreeView
42 DUChainTree(QWidget
* parent
, DUChainViewPlugin
* plugin
);
43 virtual ~DUChainTree();
45 class DUChainModel
* model();
48 void contextActivated(const QModelIndex
& index
);
51 DUChainViewPlugin
* mplugin
;
56 // kate: space-indent on; indent-width 2; tab-width: 4; replace-tabs on; auto-insert-doxygen on