forked from qt-creator/qt-creator
Remove excess blank lines after namespace
Change-Id: I4e4f83017f2bfc2cf842c4c971ed4b05e0447e6a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
b70d39a091
commit
1e138fbe10
@@ -33,7 +33,6 @@
|
|||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
ComponentNodeInstance::ComponentNodeInstance(QQmlComponent *component)
|
ComponentNodeInstance::ComponentNodeInstance(QQmlComponent *component)
|
||||||
: ObjectNodeInstance(component)
|
: ObjectNodeInstance(component)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,8 +33,6 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils::SmallStringVector ProjectPartArtefact::toStringVector(Utils::SmallStringView jsonText)
|
Utils::SmallStringVector ProjectPartArtefact::toStringVector(Utils::SmallStringView jsonText)
|
||||||
{
|
{
|
||||||
if (jsonText.isEmpty())
|
if (jsonText.isEmpty())
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
namespace QmlJS {
|
namespace QmlJS {
|
||||||
|
|
||||||
|
|
||||||
bool Dialect::isQmlLikeLanguage() const
|
bool Dialect::isQmlLikeLanguage() const
|
||||||
{
|
{
|
||||||
switch (m_dialect) {
|
switch (m_dialect) {
|
||||||
|
|||||||
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
namespace Timeline {
|
namespace Timeline {
|
||||||
|
|
||||||
|
|
||||||
class TRACING_EXPORT TimelineAbstractRenderer : public QQuickItem
|
class TRACING_EXPORT TimelineAbstractRenderer : public QQuickItem
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
namespace Timeline {
|
namespace Timeline {
|
||||||
|
|
||||||
|
|
||||||
class TRACING_EXPORT TimelineRenderer : public TimelineAbstractRenderer
|
class TRACING_EXPORT TimelineRenderer : public TimelineAbstractRenderer
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
namespace Utils {
|
namespace Utils {
|
||||||
namespace Icons {
|
namespace Icons {
|
||||||
|
|
||||||
|
|
||||||
const Icon HOME({
|
const Icon HOME({
|
||||||
{QLatin1String(":/utils/images/home.png"), Theme::PanelTextColorDark}}, Icon::Tint);
|
{QLatin1String(":/utils/images/home.png"), Theme::PanelTextColorDark}}, Icon::Tint);
|
||||||
const Icon HOME_TOOLBAR({
|
const Icon HOME_TOOLBAR({
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ class Project;
|
|||||||
|
|
||||||
namespace Android {
|
namespace Android {
|
||||||
|
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
class AndroidSdkManager;
|
class AndroidSdkManager;
|
||||||
class AndroidPluginPrivate;
|
class AndroidPluginPrivate;
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ using namespace ProjectExplorer;
|
|||||||
namespace Android {
|
namespace Android {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
static const QString pidScript = "pidof -s \"%1\"";
|
static const QString pidScript = "pidof -s \"%1\"";
|
||||||
static const QString pidScriptPreNougat = QStringLiteral("for p in /proc/[0-9]*; "
|
static const QString pidScriptPreNougat = QStringLiteral("for p in /proc/[0-9]*; "
|
||||||
"do cat <$p/cmdline && echo :${p##*/}; done");
|
"do cat <$p/cmdline && echo :${p##*/}; done");
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
namespace Autotest {
|
namespace Autotest {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
namespace BoostTestUtils {
|
namespace BoostTestUtils {
|
||||||
static const QStringList relevant = {
|
static const QStringList relevant = {
|
||||||
QStringLiteral("BOOST_AUTO_TEST_CASE"), QStringLiteral("BOOST_TEST_CASE"),
|
QStringLiteral("BOOST_AUTO_TEST_CASE"), QStringLiteral("BOOST_TEST_CASE"),
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
namespace Autotest {
|
namespace Autotest {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
BoostTestSettingsWidget::BoostTestSettingsWidget(QWidget *parent) :
|
BoostTestSettingsWidget::BoostTestSettingsWidget(QWidget *parent) :
|
||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,8 +31,6 @@
|
|||||||
|
|
||||||
namespace ClangRefactoring {
|
namespace ClangRefactoring {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QList<Core::LocatorFilterEntry> LocatorFilter::matchesFor(
|
QList<Core::LocatorFilterEntry> LocatorFilter::matchesFor(
|
||||||
QFutureInterface<Core::LocatorFilterEntry> &, const QString &searchTerm)
|
QFutureInterface<Core::LocatorFilterEntry> &, const QString &searchTerm)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
namespace CMakeProjectManager {
|
namespace CMakeProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class CMakeFileCompletionAssist : public TextEditor::KeywordsCompletionAssistProcessor
|
class CMakeFileCompletionAssist : public TextEditor::KeywordsCompletionAssistProcessor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ QT_END_NAMESPACE
|
|||||||
namespace CMakeProjectManager {
|
namespace CMakeProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class CMakeManager : public QObject
|
class CMakeManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -29,8 +29,6 @@
|
|||||||
#include "ui_openwithdialog.h"
|
#include "ui_openwithdialog.h"
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
// Present the user with a file name and a list of available
|
// Present the user with a file name and a list of available
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ class IDocument;
|
|||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class SaveItemsDialog : public QDialog
|
class SaveItemsDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
namespace Help {
|
namespace Help {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class CentralWidget : public HelpWidget
|
class CentralWidget : public HelpWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
namespace Help {
|
namespace Help {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class GeneralSettingsPage : public Core::IOptionsPage
|
class GeneralSettingsPage : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ QT_END_NAMESPACE
|
|||||||
namespace Macros {
|
namespace Macros {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
namespace Ui { class MacroOptionsWidget; }
|
namespace Ui { class MacroOptionsWidget; }
|
||||||
|
|
||||||
class MacroOptionsWidget : public QWidget {
|
class MacroOptionsWidget : public QWidget {
|
||||||
|
|||||||
@@ -29,6 +29,5 @@
|
|||||||
namespace PerfProfiler {
|
namespace PerfProfiler {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
} // namespace PerfProfiler
|
} // namespace PerfProfiler
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ using namespace Internal;
|
|||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class ApplicationLauncherPrivate : public QObject
|
class ApplicationLauncherPrivate : public QObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
SelectionContext::SelectionContext() = default;
|
SelectionContext::SelectionContext() = default;
|
||||||
|
|
||||||
SelectionContext::SelectionContext(AbstractView *view) :
|
SelectionContext::SelectionContext(AbstractView *view) :
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
ZoomAction::ZoomAction(QObject *parent)
|
ZoomAction::ZoomAction(QObject *parent)
|
||||||
: QWidgetAction(parent),
|
: QWidgetAction(parent),
|
||||||
m_zoomLevel(1.0),
|
m_zoomLevel(1.0),
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ static Q_LOGGING_CATEGORY(dragToolInfo, "qtc.qmldesigner.formeditor", QtWarningM
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
DragTool::DragTool(FormEditorView *editorView)
|
DragTool::DragTool(FormEditorView *editorView)
|
||||||
: AbstractFormEditorTool(editorView),
|
: AbstractFormEditorTool(editorView),
|
||||||
m_moveManipulator(editorView->scene()->manipulatorLayerItem(), editorView),
|
m_moveManipulator(editorView->scene()->manipulatorLayerItem(), editorView),
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
FormEditorScene *FormEditorItem::scene() const {
|
FormEditorScene *FormEditorItem::scene() const {
|
||||||
return qobject_cast<FormEditorScene*>(QGraphicsItem::scene());
|
return qobject_cast<FormEditorScene*>(QGraphicsItem::scene());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ enum {
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\class QmlDesigner::DesignDocument
|
\class QmlDesigner::DesignDocument
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
class NavigatorTreeView : public QTreeView
|
class NavigatorTreeView : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
class StatesEditorModel;
|
class StatesEditorModel;
|
||||||
class StatesEditorWidget;
|
class StatesEditorWidget;
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
ComponentsPlugin::ComponentsPlugin()
|
ComponentsPlugin::ComponentsPlugin()
|
||||||
{
|
{
|
||||||
TabViewIndexModel::registerDeclarativeType();
|
TabViewIndexModel::registerDeclarativeType();
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ class ItemLibraryEntry;
|
|||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class MetaInfoReader : protected QmlJS::SimpleAbstractStreamReader
|
class MetaInfoReader : protected QmlJS::SimpleAbstractStreamReader
|
||||||
{
|
{
|
||||||
Q_DECLARE_TR_FUNCTIONS(QmlDesigner::Internal::MetaInfoReader)
|
Q_DECLARE_TR_FUNCTIONS(QmlDesigner::Internal::MetaInfoReader)
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
static bool isSwipeView(const ModelNode &node)
|
static bool isSwipeView(const ModelNode &node)
|
||||||
{
|
{
|
||||||
if (node.metaInfo().isValid()
|
if (node.metaInfo().isValid()
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\class QmlDesigner::AbstractView
|
\class QmlDesigner::AbstractView
|
||||||
\ingroup CoreModel
|
\ingroup CoreModel
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
static PropertyName lineTypeToString(AnchorLineType lineType)
|
static PropertyName lineTypeToString(AnchorLineType lineType)
|
||||||
{
|
{
|
||||||
switch (lineType) {
|
switch (lineType) {
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ namespace QmlDesigner {
|
|||||||
class IWidgetPlugin;
|
class IWidgetPlugin;
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Dumb plugin data structure. Note that whereas QObjects can
|
// Dumb plugin data structure. Note that whereas QObjects can
|
||||||
// casted to an interface, QPointer does not work with the
|
// casted to an interface, QPointer does not work with the
|
||||||
// interface class, so, we need a separate QPointer as a guard
|
// interface class, so, we need a separate QPointer as a guard
|
||||||
|
|||||||
@@ -39,8 +39,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QList<QByteArray> RewriterTransaction::m_identifierList;
|
QList<QByteArray> RewriterTransaction::m_identifierList;
|
||||||
bool RewriterTransaction::m_activeIdentifier = qEnvironmentVariableIsSet("QML_DESIGNER_TRACE_REWRITER_TRANSACTION");
|
bool RewriterTransaction::m_activeIdentifier = qEnvironmentVariableIsSet("QML_DESIGNER_TRACE_REWRITER_TRANSACTION");
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
class CubicSegmentData : public QSharedData
|
class CubicSegmentData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ enum {
|
|||||||
namespace QmlJSEditor {
|
namespace QmlJSEditor {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
QmlJSOutlineFilterModel::QmlJSOutlineFilterModel(QObject *parent) :
|
QmlJSOutlineFilterModel::QmlJSOutlineFilterModel(QObject *parent) :
|
||||||
QSortFilterProxyModel(parent)
|
QSortFilterProxyModel(parent)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -168,7 +168,6 @@ void setupProjectInfoQmlBundles(ModelManagerInterface::ProjectInfo &projectInfo)
|
|||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
QHash<QString,Dialect> ModelManager::initLanguageForSuffix() const
|
QHash<QString,Dialect> ModelManager::initLanguageForSuffix() const
|
||||||
{
|
{
|
||||||
QHash<QString,Dialect> res = ModelManagerInterface::languageForSuffix();
|
QHash<QString,Dialect> res = ModelManagerInterface::languageForSuffix();
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
namespace QmlProfiler {
|
namespace QmlProfiler {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|
||||||
class QmlNoteTest : public QObject
|
class QmlNoteTest : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
|
|
||||||
|
|
||||||
class TEXTEDITOR_EXPORT AssistProposalItem : public AssistProposalItemInterface
|
class TEXTEDITOR_EXPORT AssistProposalItem : public AssistProposalItemInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ QT_END_NAMESPACE
|
|||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
|
|
||||||
|
|
||||||
class TEXTEDITOR_EXPORT AssistProposalItemInterface
|
class TEXTEDITOR_EXPORT AssistProposalItemInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ QT_FORWARD_DECLARE_CLASS(QString)
|
|||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
|
|
||||||
|
|
||||||
class TEXTEDITOR_EXPORT IAssistProposalModel
|
class TEXTEDITOR_EXPORT IAssistProposalModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|
||||||
class RefactoringCompilationDatabase : public clang::tooling::CompilationDatabase
|
class RefactoringCompilationDatabase : public clang::tooling::CompilationDatabase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -2511,7 +2511,6 @@ namespace qset {
|
|||||||
|
|
||||||
namespace qsharedpointer {
|
namespace qsharedpointer {
|
||||||
|
|
||||||
|
|
||||||
class EmployeeData : public QSharedData
|
class EmployeeData : public QSharedData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -5008,7 +5007,6 @@ QString fooxx()
|
|||||||
|
|
||||||
namespace basic {
|
namespace basic {
|
||||||
|
|
||||||
|
|
||||||
struct Empty {};
|
struct Empty {};
|
||||||
struct Data { Data() : a(42) {} int a; };
|
struct Data { Data() : a(42) {} int a; };
|
||||||
struct VEmpty {};
|
struct VEmpty {};
|
||||||
|
|||||||
Reference in New Issue
Block a user