2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 Denis Mingulov
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2010-07-16 11:18:30 +02:00
|
|
|
|
|
|
|
|
#include "classviewplugin.h"
|
2022-10-25 18:10:16 +02:00
|
|
|
|
2010-07-16 11:18:30 +02:00
|
|
|
#include "classviewmanager.h"
|
|
|
|
|
#include "classviewnavigationwidgetfactory.h"
|
|
|
|
|
|
|
|
|
|
namespace ClassView {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
///////////////////////////////// Plugin //////////////////////////////////
|
|
|
|
|
|
2013-05-24 17:35:14 +02:00
|
|
|
/*!
|
2018-02-06 12:57:00 +01:00
|
|
|
\class ClassViewPlugin
|
|
|
|
|
\brief The ClassViewPlugin class implements the Class View plugin.
|
2013-05-24 17:35:14 +02:00
|
|
|
|
|
|
|
|
The Class View shows the namespace and class hierarchy of the currently open
|
|
|
|
|
projects in the sidebar.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-02-06 12:57:00 +01:00
|
|
|
class ClassViewPluginPrivate
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
NavigationWidgetFactory navigationWidgetFactory;
|
|
|
|
|
Manager manager;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static ClassViewPluginPrivate *dd = nullptr;
|
|
|
|
|
|
|
|
|
|
ClassViewPlugin::~ClassViewPlugin()
|
|
|
|
|
{
|
|
|
|
|
delete dd;
|
|
|
|
|
dd = nullptr;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-20 12:28:36 +01:00
|
|
|
void ClassViewPlugin::initialize()
|
2010-07-16 11:18:30 +02:00
|
|
|
{
|
2018-02-06 12:57:00 +01:00
|
|
|
dd = new ClassViewPluginPrivate;
|
2010-07-16 11:18:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace ClassView
|