From 59f1191d0cbbb9bf7d049bfd8bd0fe544ecb40f0 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 12 Mar 2019 07:24:54 +0100 Subject: [PATCH] Coding style: add tab before Q_OBJECT In virtually all cases we use a tab before Q_OBJECT. Fix the four exceptions. Signed-off-by: Berthold Stoeger --- desktop-widgets/locationinformation.h | 2 +- qt-models/divelocationmodel.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h index 208a31c4e..c741f49f3 100644 --- a/desktop-widgets/locationinformation.h +++ b/desktop-widgets/locationinformation.h @@ -12,7 +12,7 @@ #include class LocationInformationWidget : public QGroupBox { -Q_OBJECT + Q_OBJECT public: LocationInformationWidget(QWidget *parent = 0); bool eventFilter(QObject*, QEvent*) override; diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index 8f2e25190..65fabca96 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -13,7 +13,7 @@ struct dive; struct dive_trip; class LocationInformationModel : public QAbstractTableModel { -Q_OBJECT + Q_OBJECT public: // Common columns, roles and accessor function for all dive-site models. // Thus, different views can connect to different models. @@ -42,7 +42,7 @@ private: // To access only divesites at the given GPS coordinates with the exception of a given dive site class GPSLocationInformationModel : public QSortFilterProxyModel { -Q_OBJECT + Q_OBJECT private: const struct dive_site *ignoreDs; location_t location; @@ -54,7 +54,7 @@ public: }; class GeoReferencingOptionsModel : public QStringListModel { -Q_OBJECT + Q_OBJECT public: static GeoReferencingOptionsModel *instance(); private: