forked from qt-creator/qt-creator
Debugger: Register common aspects
Change-Id: Iaa43758bdf0e5060830213ae744a2d0baedf6c15 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -19,7 +19,7 @@ using SourcePathMap = QMap<QString, QString>;
|
|||||||
class SourcePathMapAspect : public Utils::TypedAspect<SourcePathMap>
|
class SourcePathMapAspect : public Utils::TypedAspect<SourcePathMap>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SourcePathMapAspect();
|
explicit SourcePathMapAspect(Utils::AspectContainer *container);
|
||||||
~SourcePathMapAspect() override;
|
~SourcePathMapAspect() override;
|
||||||
|
|
||||||
void fromMap(const QVariantMap &map) override;
|
void fromMap(const QVariantMap &map) override;
|
||||||
@@ -43,23 +43,23 @@ public:
|
|||||||
CommonSettings();
|
CommonSettings();
|
||||||
~CommonSettings();
|
~CommonSettings();
|
||||||
|
|
||||||
Utils::BoolAspect useAlternatingRowColors;
|
Utils::BoolAspect useAlternatingRowColors{this};
|
||||||
Utils::BoolAspect useAnnotationsInMainEditor;
|
Utils::BoolAspect useAnnotationsInMainEditor{this};
|
||||||
Utils::BoolAspect useToolTipsInMainEditor;
|
Utils::BoolAspect useToolTipsInMainEditor{this};
|
||||||
Utils::BoolAspect closeSourceBuffersOnExit;
|
Utils::BoolAspect closeSourceBuffersOnExit{this};
|
||||||
Utils::BoolAspect closeMemoryBuffersOnExit;
|
Utils::BoolAspect closeMemoryBuffersOnExit{this};
|
||||||
Utils::BoolAspect raiseOnInterrupt;
|
Utils::BoolAspect raiseOnInterrupt{this};
|
||||||
Utils::BoolAspect breakpointsFullPathByDefault;
|
Utils::BoolAspect breakpointsFullPathByDefault{this};
|
||||||
Utils::BoolAspect warnOnReleaseBuilds;
|
Utils::BoolAspect warnOnReleaseBuilds{this};
|
||||||
Utils::IntegerAspect maximalStackDepth;
|
Utils::IntegerAspect maximalStackDepth{this};
|
||||||
|
|
||||||
Utils::BoolAspect fontSizeFollowsEditor;
|
Utils::BoolAspect fontSizeFollowsEditor{this};
|
||||||
Utils::BoolAspect switchModeOnExit;
|
Utils::BoolAspect switchModeOnExit{this};
|
||||||
Utils::BoolAspect showQmlObjectTree;
|
Utils::BoolAspect showQmlObjectTree{this};
|
||||||
Utils::BoolAspect stationaryEditorWhileStepping;
|
Utils::BoolAspect stationaryEditorWhileStepping{this};
|
||||||
Utils::BoolAspect forceLoggingToConsole;
|
Utils::BoolAspect forceLoggingToConsole{this};
|
||||||
|
|
||||||
SourcePathMapAspect sourcePathMap;
|
SourcePathMapAspect sourcePathMap{this};
|
||||||
|
|
||||||
Utils::BoolAspect *registerForPostMortem = nullptr;
|
Utils::BoolAspect *registerForPostMortem = nullptr;
|
||||||
};
|
};
|
||||||
|
@@ -442,8 +442,8 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
SourcePathMapAspect::SourcePathMapAspect()
|
SourcePathMapAspect::SourcePathMapAspect(AspectContainer *container)
|
||||||
: d(new SourcePathMapAspectPrivate)
|
: TypedAspect(container), d(new SourcePathMapAspectPrivate)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user