Skip to content

Commit

Permalink
Merge pull request #6883 from m-kuhn/removeUnrequiredSemicolons
Browse files Browse the repository at this point in the history
Remove unrequired `;` semicolons
  • Loading branch information
m-kuhn committed Apr 29, 2018
2 parents d3a9fad + 01dd718 commit f4c00f5
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthmanager.h
Expand Up @@ -71,7 +71,7 @@ class CORE_EXPORT QgsAuthManager : public QObject
WARNING = 1,
CRITICAL = 2
};
Q_ENUM( MessageLevel );
Q_ENUM( MessageLevel )

/**
* \brief init initialize QCA, prioritize qca-ossl plugin and optionally set up the authentication database
Expand Down
6 changes: 3 additions & 3 deletions src/core/qgsdataitem.h
Expand Up @@ -84,7 +84,7 @@ class CORE_EXPORT QgsDataItem : public QObject
Custom, //!< Custom item type
};

Q_ENUM( Type );
Q_ENUM( Type )

//! Create new data item.
QgsDataItem( QgsDataItem::Type type, QgsDataItem *parent SIP_TRANSFERTHIS, const QString &name, const QString &path );
Expand All @@ -105,7 +105,7 @@ class CORE_EXPORT QgsDataItem : public QObject
Populating, //!< Creating children in separate thread (populating or refreshing)
Populated //!< Children created
};
Q_ENUM( State );
Q_ENUM( State )

//! \since QGIS 2.8
State state() const;
Expand Down Expand Up @@ -426,7 +426,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
Mesh //!< Added in 3.2
};

Q_ENUM( LayerType );
Q_ENUM( LayerType )

QgsLayerItem( QgsDataItem *parent, const QString &name, const QString &path, const QString &uri, LayerType layerType, const QString &providerKey );

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsdataprovider.h
Expand Up @@ -81,7 +81,7 @@ class CORE_EXPORT QgsDataProvider : public QObject
Database = 1 << 2,
Net = 1 << 3 // Internet source
};
Q_ENUM( DataCapability );
Q_ENUM( DataCapability )

/**
* Properties are used to pass custom configuration options into data providers.
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgssnappingconfig.h
Expand Up @@ -48,7 +48,7 @@ class CORE_EXPORT QgsSnappingConfig
AllLayers = 2, //!< On all vector layers
AdvancedConfiguration = 3, //!< On a per layer configuration basis
};
Q_ENUM( SnappingMode );
Q_ENUM( SnappingMode )

/**
* SnappingType defines on what object the snapping is performed
Expand All @@ -59,7 +59,7 @@ class CORE_EXPORT QgsSnappingConfig
VertexAndSegment = 2, //!< Both on vertices and segments
Segment = 3, //!< On segments only
};
Q_ENUM( SnappingType );
Q_ENUM( SnappingType )

/**
* \ingroup core
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgstolerance.h
Expand Up @@ -46,7 +46,7 @@ class CORE_EXPORT QgsTolerance
//! Map (project) units. Added in 2.8
ProjectUnits
};
Q_ENUM( UnitType );
Q_ENUM( UnitType )

/**
* Static function to get vertex tolerance value.
Expand Down
10 changes: 5 additions & 5 deletions src/core/qgsunittypes.h
Expand Up @@ -53,7 +53,7 @@ class CORE_EXPORT QgsUnitTypes
DistanceMillimeters, //!< Millimeters
DistanceUnknownUnit, //!< Unknown distance unit
};
Q_ENUM( DistanceUnit );
Q_ENUM( DistanceUnit )

/**
* Types of distance units
Expand Down Expand Up @@ -81,7 +81,7 @@ class CORE_EXPORT QgsUnitTypes
AreaSquareMillimeters, //! Square millimeters
AreaUnknownUnit, //!< Unknown areal unit
};
Q_ENUM( AreaUnit );
Q_ENUM( AreaUnit )

//! Units of angles
enum AngleUnit
Expand All @@ -94,7 +94,7 @@ class CORE_EXPORT QgsUnitTypes
AngleTurn, //!< Turn/revolutions
AngleUnknownUnit, //!< Unknown angle unit
};
Q_ENUM( AngleUnit );
Q_ENUM( AngleUnit )

//! Rendering size units
enum RenderUnit
Expand All @@ -108,7 +108,7 @@ class CORE_EXPORT QgsUnitTypes
RenderUnknownUnit, //!< Mixed or unknown units
RenderMetersInMapUnits, //!< Meters value as Map units
};
Q_ENUM( RenderUnit );
Q_ENUM( RenderUnit )

//! Layout measurement units
enum LayoutUnit
Expand All @@ -122,7 +122,7 @@ class CORE_EXPORT QgsUnitTypes
LayoutPicas, //!< Typographic picas
LayoutPixels //!< Pixels
};
Q_ENUM( LayoutUnit );
Q_ENUM( LayoutUnit )

//! Types of layout units
enum LayoutUnitType
Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsdualview.h
Expand Up @@ -67,7 +67,7 @@ class GUI_EXPORT QgsDualView : public QStackedWidget, private Ui::QgsDualViewBas
AttributeEditor = 1
};

Q_ENUM( ViewMode );
Q_ENUM( ViewMode )

/**
* \brief Constructor
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgscolorbutton.h
Expand Up @@ -67,7 +67,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton
ShowDialog = 0, //!< Show a color picker dialog when clicked
SignalOnly //!< Emit colorClicked signal only, no dialog
};
Q_ENUM( Behavior );
Q_ENUM( Behavior )

/**
* Construct a new color ramp button.
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsfloatingwidget.h
Expand Up @@ -52,7 +52,7 @@ class GUI_EXPORT QgsFloatingWidget: public QWidget
BottomMiddle, //!< Bottom center of widget
BottomRight, //!< Bottom-right of widget
};
Q_ENUM( AnchorPoint );
Q_ENUM( AnchorPoint )

/**
* Constructor for QgsFloatingWidget.
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsfontbutton.h
Expand Up @@ -57,7 +57,7 @@ class GUI_EXPORT QgsFontButton : public QToolButton
ModeQFont, //!< Configure font settings for use with QFont objects
};

Q_ENUM( Mode );
Q_ENUM( Mode )

/**
* Construct a new font button.
Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.h
Expand Up @@ -62,7 +62,7 @@ class QgsPostgresProvider : public QgsVectorDataProvider
ForeignTable, // f
PartitionedTable // p - PostgreSQL 10
};
Q_ENUM( Relkind );
Q_ENUM( Relkind )

/**
* Import a vector layer into the database
Expand Down

0 comments on commit f4c00f5

Please sign in to comment.