forked from qt-creator/qt-creator
Clean up some navigation factory implementation
Change-Id: Ibbff643daf88200d50fb0343dd40b03803074081 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -5,25 +5,16 @@
|
||||
|
||||
#include <coreplugin/inavigationwidgetfactory.h>
|
||||
|
||||
namespace ClassView {
|
||||
namespace Internal {
|
||||
namespace ClassView::Internal {
|
||||
|
||||
class NavigationWidgetFactory : public Core::INavigationWidgetFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
NavigationWidgetFactory();
|
||||
|
||||
//! \implements Core::INavigationWidgetFactory::createWidget
|
||||
Core::NavigationView createWidget() override;
|
||||
|
||||
//! \implements Core::INavigationWidgetFactory::saveSettings
|
||||
void saveSettings(Utils::QtcSettings *settings, int position, QWidget *widget) override;
|
||||
|
||||
//! \implements Core::INavigationWidgetFactory::restoreSettings
|
||||
void restoreSettings(Utils::QtcSettings *settings, int position, QWidget *widget) override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ClassView
|
||||
} // ClassView::Internal
|
||||
|
@@ -13,7 +13,6 @@
|
||||
#include <QKeySequence>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QSettings;
|
||||
class QToolButton;
|
||||
class QWidget;
|
||||
QT_END_NAMESPACE
|
||||
|
@@ -1,10 +1,10 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include <coreplugin/inavigationwidgetfactory.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/inavigationwidgetfactory.h>
|
||||
|
||||
namespace Core { class IDocument; }
|
||||
|
||||
namespace LanguageClient {
|
||||
@@ -13,8 +13,6 @@ class Client;
|
||||
|
||||
class CallHierarchyFactory : public Core::INavigationWidgetFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CallHierarchyFactory();
|
||||
|
||||
|
Reference in New Issue
Block a user