2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 Denis Mingulov
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2010-07-16 11:18:30 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2010-07-16 11:18:30 +02:00
|
|
|
|
|
|
|
|
#include <coreplugin/inavigationwidgetfactory.h>
|
|
|
|
|
|
|
|
|
|
namespace ClassView {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class NavigationWidgetFactory : public Core::INavigationWidgetFactory
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2011-07-06 17:40:54 +02:00
|
|
|
NavigationWidgetFactory();
|
2010-07-16 11:18:30 +02:00
|
|
|
|
|
|
|
|
//! \implements Core::INavigationWidgetFactory::createWidget
|
2016-09-17 18:31:56 +03:00
|
|
|
Core::NavigationView createWidget() override;
|
2010-07-16 11:18:30 +02:00
|
|
|
|
|
|
|
|
//! \implements Core::INavigationWidgetFactory::saveSettings
|
2020-12-14 17:00:53 +01:00
|
|
|
void saveSettings(Utils::QtcSettings *settings, int position, QWidget *widget) override;
|
2010-07-16 11:18:30 +02:00
|
|
|
|
|
|
|
|
//! \implements Core::INavigationWidgetFactory::restoreSettings
|
2016-09-17 18:31:56 +03:00
|
|
|
void restoreSettings(QSettings *settings, int position, QWidget *widget) override;
|
2010-07-16 11:18:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace ClassView
|