forked from qt-creator/qt-creator
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LOCALQMLPROFILERRUNNER_H
|
||||
#define LOCALQMLPROFILERRUNNER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include <utils/environment.h>
|
||||
@@ -66,5 +65,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // LOCALQMLPROFILERRUNNER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILER_GLOBAL_H
|
||||
#define QMLPROFILER_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -33,6 +32,3 @@
|
||||
#else
|
||||
# define QMLPROFILER_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // QMLPROFILER_GLOBAL_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERANIMATIONSMODEL_H
|
||||
#define QMLPROFILERANIMATIONSMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include "qmlprofilertimelinemodel.h"
|
||||
@@ -83,5 +82,3 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERANIMATIONSMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERATTACHDIALOG_H
|
||||
#define QMLPROFILERATTACHDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@@ -55,5 +54,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERATTACHDIALOG_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERBINDINGLOOPSRENDERPASS_H
|
||||
#define QMLPROFILERBINDINGLOOPSRENDERPASS_H
|
||||
#pragma once
|
||||
|
||||
#include "timeline/timelineabstractrenderer.h"
|
||||
#include "timeline/timelinerenderpass.h"
|
||||
@@ -49,6 +48,3 @@ protected:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERBINDINGLOOPSRENDERPASS_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERCLIENTMANAGER_H
|
||||
#define QMLPROFILERCLIENTMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilerstatemanager.h"
|
||||
#include <qmldebug/qmlprofilereventlocation.h>
|
||||
@@ -97,5 +96,3 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERCLIENTMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERCONFIGWIDGET_H
|
||||
#define QMLPROFILERCONFIGWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilersettings.h"
|
||||
#include <QWidget>
|
||||
@@ -55,5 +54,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERCONFIGWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERCONSTANTS_H
|
||||
#define QMLPROFILERCONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
namespace QmlProfiler {
|
||||
namespace Constants {
|
||||
@@ -53,5 +52,3 @@ const char QmlProfilerSaveActionId[] =
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERCONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERDATAMODEL_H
|
||||
#define QMLPROFILERDATAMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
|
||||
@@ -237,5 +236,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERDETAILSREWRITER_H
|
||||
#define QMLPROFILERDETAILSREWRITER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -62,5 +61,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERDETAILSREWRITER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILEREVENTSVIEW_H
|
||||
#define QMLPROFILEREVENTSVIEW_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
@@ -63,5 +62,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILEREVENTSVIEW_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERMODELMANAGER_H
|
||||
#define QMLPROFILERMODELMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
|
||||
@@ -145,5 +144,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERNOTESMODEL_H
|
||||
#define QMLPROFILERNOTESMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
#include "timeline/timelinenotesmodel.h"
|
||||
@@ -47,4 +46,3 @@ protected:
|
||||
int add(int typeId, qint64 startTime, qint64 duration, const QString &text);
|
||||
};
|
||||
} // namespace QmlProfiler
|
||||
#endif // QMLPROFILERNOTESMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILEROPTIONSPAGE_H
|
||||
#define QMLPROFILEROPTIONSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
#include <QPointer>
|
||||
@@ -48,5 +47,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // QmlProfiler
|
||||
|
||||
#endif // QMLPROFILEROPTIONSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERPLUGIN_H
|
||||
#define QMLPROFILERPLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include "qmlprofilertimelinemodelfactory.h"
|
||||
@@ -60,6 +59,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERPLUGIN_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERRANGEMODEL_H
|
||||
#define QMLPROFILERRANGEMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilertimelinemodel.h"
|
||||
#include <qmldebug/qmlprofilereventtypes.h>
|
||||
@@ -89,5 +88,3 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERRANGEMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERRUNCONFIGURATIONASPECT_H
|
||||
#define QMLPROFILERRUNCONFIGURATIONASPECT_H
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
|
||||
@@ -44,5 +43,3 @@ public:
|
||||
|
||||
} // Internal
|
||||
} // QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERRUNCONFIGURATIONASPECT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERRUNCONTROL_H
|
||||
#define QMLPROFILERRUNCONTROL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilerstatemanager.h"
|
||||
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERRUNCONTROL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERRUNCONTROLFACTORY_H
|
||||
#define QMLPROFILERRUNCONTROLFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
|
||||
@@ -51,5 +50,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERRUNCONTROLFACTORY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERSETTINGS_H
|
||||
#define QMLPROFILERSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
|
||||
@@ -69,5 +68,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERSETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERSTATEMANAGER_H
|
||||
#define QMLPROFILERSTATEMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -72,5 +71,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERSTATEMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERSTATEWIDGET_H
|
||||
#define QMLPROFILERSTATEWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@@ -57,5 +56,3 @@ private:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERSTATEWIDGET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERSTATISTICSMODEL_H
|
||||
#define QMLPROFILERSTATISTICSMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilerdatamodel.h"
|
||||
#include "qmlprofilernotesmodel.h"
|
||||
@@ -155,5 +154,3 @@ protected:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERSTATISTICSMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERSTATISTICSVIEW_H
|
||||
#define QMLPROFILERSTATISTICSVIEW_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
#include "qmlprofilerstatisticsmodel.h"
|
||||
@@ -177,5 +176,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERSTATISTICSVIEW_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERTIMELINEMODEL_H
|
||||
#define QMLPROFILERTIMELINEMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
@@ -74,5 +73,3 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERTIMELINEMODEL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERTIMELINEMODELFACTORY_H
|
||||
#define QMLPROFILERTIMELINEMODELFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilertimelinemodel.h"
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
@@ -39,5 +38,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILERTIMELINEMODELFACTORY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERTOOL_H
|
||||
#define QMLPROFILERTOOL_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include "qmlprofilerconstants.h"
|
||||
@@ -111,5 +110,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERTOOL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERTRACEFILE_H
|
||||
#define QMLPROFILERTRACEFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <QFutureInterface>
|
||||
#include <QObject>
|
||||
@@ -113,5 +112,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERTRACEFILE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERTRACEVIEW_H
|
||||
#define QMLPROFILERTRACEVIEW_H
|
||||
#pragma once
|
||||
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
|
||||
@@ -107,6 +106,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERTRACEVIEW_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERVIEWMANAGER_H
|
||||
#define QMLPROFILERVIEWMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -71,5 +70,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERVIEWMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user