Skip to content

Commit

Permalink
add missing Q_OBJECT macro
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 28, 2023
1 parent 2033624 commit a97b33d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/gui/settings/qgssettingseditorwidgetwrapperimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate : public QgsSettingsEdit
*/
class GUI_EXPORT QgsSettingsStringEditorWidgetWrapper : public QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryString, QLineEdit, QString>
{
Q_OBJECT
public:
//! Constructor
QgsSettingsStringEditorWidgetWrapper( QObject *parent = nullptr )
Expand All @@ -146,6 +147,7 @@ class GUI_EXPORT QgsSettingsStringEditorWidgetWrapper : public QgsSettingsEditor
*/
class GUI_EXPORT QgsSettingsBoolEditorWidgetWrapper : public QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryBool, QCheckBox, bool>
{
Q_OBJECT
public:
//! Constructor
QgsSettingsBoolEditorWidgetWrapper( QObject *parent = nullptr )
Expand All @@ -170,6 +172,7 @@ class GUI_EXPORT QgsSettingsBoolEditorWidgetWrapper : public QgsSettingsEditorWi
*/
class GUI_EXPORT QgsSettingsIntegerEditorWidgetWrapper : public QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryInteger, QSpinBox, int>
{
Q_OBJECT
public:
//! Constructor
QgsSettingsIntegerEditorWidgetWrapper( QObject *parent = nullptr )
Expand All @@ -195,6 +198,7 @@ class GUI_EXPORT QgsSettingsIntegerEditorWidgetWrapper : public QgsSettingsEdito
*/
class GUI_EXPORT QgsSettingsDoubleEditorWidgetWrapper : public QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryDouble, QDoubleSpinBox, double>
{
Q_OBJECT
public:
//! Constructor
QgsSettingsDoubleEditorWidgetWrapper( QObject *parent = nullptr )
Expand All @@ -220,6 +224,7 @@ class GUI_EXPORT QgsSettingsDoubleEditorWidgetWrapper : public QgsSettingsEditor
*/
class GUI_EXPORT QgsSettingsColorEditorWidgetWrapper : public QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryColor, QgsColorButton, QColor>
{
Q_OBJECT
public:
//! Constructor
QgsSettingsColorEditorWidgetWrapper( QObject *parent = nullptr )
Expand Down
2 changes: 1 addition & 1 deletion src/gui/settings/qgssettingstreewidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class QgsSettingsTreeProxyModel;
*/
class GUI_EXPORT QgsSettingsTreeWidget : public QWidget, public QgsOptionsDialogHighlightWidget
{

Q_OBJECT
public:
//! Constructor
explicit QgsSettingsTreeWidget( QWidget *parent = nullptr );
Expand Down

0 comments on commit a97b33d

Please sign in to comment.