コード例 #1
0
 ValgrindRunConfigurationAspect(RunConfiguration *parent)
     : IRunConfigurationAspect(parent)
 {
     setProjectSettings(new ValgrindProjectSettings());
     setGlobalSettings(ValgrindPlugin::globalSettings());
     setId(ANALYZER_VALGRIND_SETTINGS);
     setDisplayName(QCoreApplication::translate("Valgrind::Internal::ValgrindRunConfigurationAspect", "Valgrind Settings"));
     setUsingGlobalSettings(true);
     resetProjectToGlobalSettings();
 }
コード例 #2
0
QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(
        ProjectExplorer::RunConfiguration *parent) :
    ProjectExplorer::IRunConfigurationAspect(parent)
{
    setProjectSettings(new QmlProfilerSettings());
    setGlobalSettings(QmlProfilerPlugin::globalSettings());
    setId(Constants::SETTINGS);
    setDisplayName(QCoreApplication::translate("QmlProfilerRunConfiguration", "QML Profiler Settings"));
    setUsingGlobalSettings(true);
    resetProjectToGlobalSettings();
}