Skip to content

Commit 01dd718

Browse files
committed
Remove unrequired ; semicolons
1 parent 4aaa652 commit 01dd718

11 files changed

+18
-18
lines changed

src/core/auth/qgsauthmanager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class CORE_EXPORT QgsAuthManager : public QObject
7171
WARNING = 1,
7272
CRITICAL = 2
7373
};
74-
Q_ENUM( MessageLevel );
74+
Q_ENUM( MessageLevel )
7575

7676
/**
7777
* \brief init initialize QCA, prioritize qca-ossl plugin and optionally set up the authentication database

src/core/qgsdataitem.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class CORE_EXPORT QgsDataItem : public QObject
8484
Custom, //!< Custom item type
8585
};
8686

87-
Q_ENUM( Type );
87+
Q_ENUM( Type )
8888

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

110110
//! \since QGIS 2.8
111111
State state() const;
@@ -426,7 +426,7 @@ class CORE_EXPORT QgsLayerItem : public QgsDataItem
426426
Mesh //!< Added in 3.2
427427
};
428428

429-
Q_ENUM( LayerType );
429+
Q_ENUM( LayerType )
430430

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

src/core/qgsdataprovider.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class CORE_EXPORT QgsDataProvider : public QObject
8181
Database = 1 << 2,
8282
Net = 1 << 3 // Internet source
8383
};
84-
Q_ENUM( DataCapability );
84+
Q_ENUM( DataCapability )
8585

8686
/**
8787
* Properties are used to pass custom configuration options into data providers.

src/core/qgssnappingconfig.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CORE_EXPORT QgsSnappingConfig
4848
AllLayers = 2, //!< On all vector layers
4949
AdvancedConfiguration = 3, //!< On a per layer configuration basis
5050
};
51-
Q_ENUM( SnappingMode );
51+
Q_ENUM( SnappingMode )
5252

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

6464
/**
6565
* \ingroup core

src/core/qgstolerance.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CORE_EXPORT QgsTolerance
4646
//! Map (project) units. Added in 2.8
4747
ProjectUnits
4848
};
49-
Q_ENUM( UnitType );
49+
Q_ENUM( UnitType )
5050

5151
/**
5252
* Static function to get vertex tolerance value.

src/core/qgsunittypes.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CORE_EXPORT QgsUnitTypes
5353
DistanceMillimeters, //!< Millimeters
5454
DistanceUnknownUnit, //!< Unknown distance unit
5555
};
56-
Q_ENUM( DistanceUnit );
56+
Q_ENUM( DistanceUnit )
5757

5858
/**
5959
* Types of distance units
@@ -81,7 +81,7 @@ class CORE_EXPORT QgsUnitTypes
8181
AreaSquareMillimeters, //! Square millimeters
8282
AreaUnknownUnit, //!< Unknown areal unit
8383
};
84-
Q_ENUM( AreaUnit );
84+
Q_ENUM( AreaUnit )
8585

8686
//! Units of angles
8787
enum AngleUnit
@@ -94,7 +94,7 @@ class CORE_EXPORT QgsUnitTypes
9494
AngleTurn, //!< Turn/revolutions
9595
AngleUnknownUnit, //!< Unknown angle unit
9696
};
97-
Q_ENUM( AngleUnit );
97+
Q_ENUM( AngleUnit )
9898

9999
//! Rendering size units
100100
enum RenderUnit
@@ -108,7 +108,7 @@ class CORE_EXPORT QgsUnitTypes
108108
RenderUnknownUnit, //!< Mixed or unknown units
109109
RenderMetersInMapUnits, //!< Meters value as Map units
110110
};
111-
Q_ENUM( RenderUnit );
111+
Q_ENUM( RenderUnit )
112112

113113
//! Layout measurement units
114114
enum LayoutUnit
@@ -122,7 +122,7 @@ class CORE_EXPORT QgsUnitTypes
122122
LayoutPicas, //!< Typographic picas
123123
LayoutPixels //!< Pixels
124124
};
125-
Q_ENUM( LayoutUnit );
125+
Q_ENUM( LayoutUnit )
126126

127127
//! Types of layout units
128128
enum LayoutUnitType

src/gui/attributetable/qgsdualview.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class GUI_EXPORT QgsDualView : public QStackedWidget, private Ui::QgsDualViewBas
6767
AttributeEditor = 1
6868
};
6969

70-
Q_ENUM( ViewMode );
70+
Q_ENUM( ViewMode )
7171

7272
/**
7373
* \brief Constructor

src/gui/qgscolorbutton.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton
6767
ShowDialog = 0, //!< Show a color picker dialog when clicked
6868
SignalOnly //!< Emit colorClicked signal only, no dialog
6969
};
70-
Q_ENUM( Behavior );
70+
Q_ENUM( Behavior )
7171

7272
/**
7373
* Construct a new color ramp button.

src/gui/qgsfloatingwidget.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class GUI_EXPORT QgsFloatingWidget: public QWidget
5252
BottomMiddle, //!< Bottom center of widget
5353
BottomRight, //!< Bottom-right of widget
5454
};
55-
Q_ENUM( AnchorPoint );
55+
Q_ENUM( AnchorPoint )
5656

5757
/**
5858
* Constructor for QgsFloatingWidget.

src/gui/qgsfontbutton.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class GUI_EXPORT QgsFontButton : public QToolButton
5757
ModeQFont, //!< Configure font settings for use with QFont objects
5858
};
5959

60-
Q_ENUM( Mode );
60+
Q_ENUM( Mode )
6161

6262
/**
6363
* Construct a new font button.

src/providers/postgres/qgspostgresprovider.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class QgsPostgresProvider : public QgsVectorDataProvider
6262
ForeignTable, // f
6363
PartitionedTable // p - PostgreSQL 10
6464
};
65-
Q_ENUM( Relkind );
65+
Q_ENUM( Relkind )
6666

6767
/**
6868
* Import a vector layer into the database

0 commit comments

Comments
 (0)