forked from qt-creator/qt-creator
ClassView: Move setup of Manager class closer to new pattern
Change-Id: I2b836b839b1b082bdb6507082f689e2ef114eb9c Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -13,12 +13,13 @@ namespace ClassView::Internal {
|
||||
|
||||
class ManagerPrivate;
|
||||
|
||||
class Manager : public QObject
|
||||
class Manager final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Manager(QObject *parent = nullptr);
|
||||
~Manager() override;
|
||||
explicit Manager(QObject *parent);
|
||||
~Manager() final;
|
||||
|
||||
static Manager *instance();
|
||||
|
||||
bool canFetchMore(QStandardItem *item, bool skipRoot = false) const;
|
||||
@@ -42,4 +43,6 @@ private:
|
||||
ManagerPrivate *d;
|
||||
};
|
||||
|
||||
void setupClassViewManager(QObject *guard);
|
||||
|
||||
} // ClassView::Internal
|
||||
|
||||
Reference in New Issue
Block a user