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