diff options
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands')
26 files changed, 26 insertions, 106 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/changeauxiliarycommand.h b/share/qtcreator/qml/qmlpuppet/commands/changeauxiliarycommand.h index c0f366a7c6..669a747be8 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changeauxiliarycommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changeauxiliarycommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGEAUXILIARYCOMMAND_H -#define CHANGEAUXILIARYCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeAuxiliaryCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeAuxiliaryCommand) - -#endif // CHANGEAUXILIARYCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changebindingscommand.h b/share/qtcreator/qml/qmlpuppet/commands/changebindingscommand.h index 5a9696b9f5..b2df9e326c 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changebindingscommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changebindingscommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGEBINDINGSCOMMAND_H -#define CHANGEBINDINGSCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeBindingsCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeBindingsCommand) - -#endif // CHANGEBINDINGSCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changefileurlcommand.h b/share/qtcreator/qml/qmlpuppet/commands/changefileurlcommand.h index 6e20885cb4..5645274fc4 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changefileurlcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changefileurlcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGEFILEURLCOMMAND_H -#define CHANGEFILEURLCOMMAND_H +#pragma once #include <qmetatype.h> #include <QUrl> @@ -53,5 +52,3 @@ QDebug operator <<(QDebug debug, const ChangeFileUrlCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeFileUrlCommand) - -#endif // CHANGEFILEURLCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changeidscommand.h b/share/qtcreator/qml/qmlpuppet/commands/changeidscommand.h index 80e01c8f46..b92fb3b558 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changeidscommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changeidscommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGEIDSCOMMAND_H -#define CHANGEIDSCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const ChangeIdsCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeIdsCommand) - -#endif // CHANGEIDSCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h b/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h index a11e2a8589..e5e2c48ac9 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGENODESOURCECOMMAND_H -#define CHANGENODESOURCECOMMAND_H +#pragma once #include <QMetaType> #include <QString> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeNodeSourceCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeNodeSourceCommand) - -#endif // CHANGENODESOURCECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changestatecommand.h b/share/qtcreator/qml/qmlpuppet/commands/changestatecommand.h index 91d74c9ebe..10ef832a32 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changestatecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changestatecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGESTATECOMMAND_H -#define CHANGESTATECOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeStateCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeStateCommand) - -#endif // CHANGESTATECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/changevaluescommand.h b/share/qtcreator/qml/qmlpuppet/commands/changevaluescommand.h index 3272e54ef3..046e44ab62 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/changevaluescommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/changevaluescommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHANGEVALUESCOMMAND_H -#define CHANGEVALUESCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ChangeValuesCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChangeValuesCommand) - -#endif // CHANGEVALUESCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h index a597724f67..d2be1dca86 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/childrenchangedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CHILDRENCHANGEDCOMMAND_H -#define CHILDRENCHANGEDCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -62,5 +61,3 @@ QDebug operator <<(QDebug debug, const ChildrenChangedCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ChildrenChangedCommand) - -#endif // CHILDRENCHANGEDCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/clearscenecommand.h b/share/qtcreator/qml/qmlpuppet/commands/clearscenecommand.h index 45ef8e62fe..77c508ad4c 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/clearscenecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/clearscenecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CLEARSCENECOMMAND_H -#define CLEARSCENECOMMAND_H +#pragma once #include <qmetatype.h> @@ -44,5 +43,3 @@ QDebug operator <<(QDebug debug, const ClearSceneCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ClearSceneCommand) - -#endif // CLEARSCENECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/completecomponentcommand.h b/share/qtcreator/qml/qmlpuppet/commands/completecomponentcommand.h index af11ecc069..3eb86d9a13 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/completecomponentcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/completecomponentcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef COMPLETECOMPONENT_H -#define COMPLETECOMPONENT_H +#pragma once #include <QMetaType> #include <QVector> @@ -55,5 +54,3 @@ QDebug operator <<(QDebug debug, const CompleteComponentCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::CompleteComponentCommand) - -#endif // COMPLETECOMPONENT_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/componentcompletedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/componentcompletedcommand.h index 5117031d8e..b55434b71a 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/componentcompletedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/componentcompletedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef COMPONENTCOMPLETEDCOMMAND_H -#define COMPONENTCOMPLETEDCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> #include <QDataStream> @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const ComponentCompletedCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ComponentCompletedCommand) - -#endif // COMPONENTCOMPLETEDCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/createinstancescommand.h b/share/qtcreator/qml/qmlpuppet/commands/createinstancescommand.h index 4125ae08ca..d8ec9ba9f3 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/createinstancescommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/createinstancescommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CREATEINSTANCESCOMMAND_H -#define CREATEINSTANCESCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -55,5 +54,3 @@ QDebug operator <<(QDebug debug, const CreateInstancesCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::CreateInstancesCommand) - -#endif // CREATEINSTANCESCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.h b/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.h index b11268f635..dc7130bd69 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/createscenecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CREATESCENECOMMAND_H -#define CREATESCENECOMMAND_H +#pragma once #include <qmetatype.h> #include <QUrl> @@ -81,5 +80,3 @@ QDebug operator <<(QDebug debug, const CreateSceneCommand &command); } Q_DECLARE_METATYPE(QmlDesigner::CreateSceneCommand) - -#endif // CREATESCENECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.h b/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.h index e9ed4ff2f3..dbb386f23b 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QMLDESIGNER_DEBUGOUTPUTCOMMAND_H -#define QMLDESIGNER_DEBUGOUTPUTCOMMAND_H +#pragma once #include <QMetaType> #include <QString> @@ -68,5 +67,3 @@ QDebug operator <<(QDebug debug, const DebugOutputCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::DebugOutputCommand) - -#endif // QMLDESIGNER_DEBUGOUTPUTCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h b/share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h index 9648d80cea..7ecee7acf7 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QMLDESIGNER_ENDPUPPETCOMMAND_H -#define QMLDESIGNER_ENDPUPPETCOMMAND_H +#pragma once #include <qmetatype.h> @@ -44,5 +43,3 @@ QDebug operator <<(QDebug debug, const EndPuppetCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::EndPuppetCommand) - -#endif // QMLDESIGNER_ENDPUPPETCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/informationchangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/informationchangedcommand.h index b4af444f07..a21fae75cb 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/informationchangedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/informationchangedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef INFORMATIONCHANGEDCOMMAND_H -#define INFORMATIONCHANGEDCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -59,5 +58,3 @@ QDebug operator <<(QDebug debug, const InformationChangedCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::InformationChangedCommand) - -#endif // INFORMATIONCHANGEDCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/pixmapchangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/pixmapchangedcommand.h index 18fd7fec9e..23a246d431 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/pixmapchangedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/pixmapchangedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PIXMAPCHANGEDCOMMAND_H -#define PIXMAPCHANGEDCOMMAND_H +#pragma once #include <QMetaType> #include "imagecontainer.h" @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const PixmapChangedCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::PixmapChangedCommand) - -#endif // PIXMAPCHANGEDCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/puppetalivecommand.h b/share/qtcreator/qml/qmlpuppet/commands/puppetalivecommand.h index 2f5c471f81..eeb013de6b 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/puppetalivecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/puppetalivecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PUPPETALIVECOMMAND_H -#define PUPPETALIVECOMMAND_H +#pragma once #include <QMetaType> #include <QDebug> @@ -48,5 +47,3 @@ QDebug operator <<(QDebug debug, const PuppetAliveCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::PuppetAliveCommand) - -#endif // PUPPETALIVECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/removeinstancescommand.h b/share/qtcreator/qml/qmlpuppet/commands/removeinstancescommand.h index 992a23237c..a92132ff40 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/removeinstancescommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/removeinstancescommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef REMOVEINSTANCESCOMMAND_H -#define REMOVEINSTANCESCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const RemoveInstancesCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::RemoveInstancesCommand) - -#endif // REMOVEINSTANCESCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/removepropertiescommand.h b/share/qtcreator/qml/qmlpuppet/commands/removepropertiescommand.h index e950f392e9..911374c984 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/removepropertiescommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/removepropertiescommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef REMOVEPROPERTIESCOMMAND_H -#define REMOVEPROPERTIESCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const RemovePropertiesCommand &command); } Q_DECLARE_METATYPE(QmlDesigner::RemovePropertiesCommand) - -#endif // REMOVEPROPERTIESCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/removesharedmemorycommand.h b/share/qtcreator/qml/qmlpuppet/commands/removesharedmemorycommand.h index b43eb56b57..44ab7b5a00 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/removesharedmemorycommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/removesharedmemorycommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H -#define QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H +#pragma once #include <QMetaType> #include <QString> @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const RemoveSharedMemoryCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::RemoveSharedMemoryCommand) - -#endif // QMLDESIGNER_REMOVESHAREDMEMORYCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/reparentinstancescommand.h b/share/qtcreator/qml/qmlpuppet/commands/reparentinstancescommand.h index b94c362397..62659e2424 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/reparentinstancescommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/reparentinstancescommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef REPARENTINSTANCESCOMMAND_H -#define REPARENTINSTANCESCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -56,5 +55,3 @@ QDebug operator <<(QDebug debug, const ReparentInstancesCommand &command); } // Q_DECLARE_METATYPE(QmlDesigner::ReparentInstancesCommand) - -#endif // REPARENTINSTANCESCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h index 173aaf1fc2..a4d0f8f97b 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef STATEPREVIEWIMAGECHANGEDCOMMAND_H -#define STATEPREVIEWIMAGECHANGEDCOMMAND_H +#pragma once #include <QMetaType> @@ -58,5 +57,3 @@ QDebug operator <<(QDebug debug, const StatePreviewImageChangedCommand &command) } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::StatePreviewImageChangedCommand) - -#endif // STATEPREVIEWIMAGECHANGEDCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/synchronizecommand.h b/share/qtcreator/qml/qmlpuppet/commands/synchronizecommand.h index 3adc8e799b..6799ac5519 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/synchronizecommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/synchronizecommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef SYNCHRONIZECOMMAND_H -#define SYNCHRONIZECOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -57,5 +56,3 @@ QDebug operator <<(QDebug debug, const SynchronizeCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::SynchronizeCommand) - -#endif // SYNCHRONIZECOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/tokencommand.h b/share/qtcreator/qml/qmlpuppet/commands/tokencommand.h index e4ff20b95d..5bde947908 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/tokencommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/tokencommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef QMLDESIGNER_TOKENCOMMAND_H -#define QMLDESIGNER_TOKENCOMMAND_H +#pragma once #include <QMetaType> @@ -64,6 +63,3 @@ QDebug operator <<(QDebug debug, const TokenCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::TokenCommand) - - -#endif // QMLDESIGNER_TOKENCOMMAND_H diff --git a/share/qtcreator/qml/qmlpuppet/commands/valueschangedcommand.h b/share/qtcreator/qml/qmlpuppet/commands/valueschangedcommand.h index 97d0d00979..96050aee7f 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/valueschangedcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/valueschangedcommand.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef VALUESCHANGEDCOMMAND_H -#define VALUESCHANGEDCOMMAND_H +#pragma once #include <QMetaType> #include <QVector> @@ -63,6 +62,3 @@ QDebug operator <<(QDebug debug, const ValuesChangedCommand &instance); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ValuesChangedCommand) - - -#endif // VALUESCHANGEDCOMMAND_H |