diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-12 07:24:54 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 59f1191d0cbbb9bf7d049bfd8bd0fe544ecb40f0 (patch) | |
tree | 24c5400dd1d86ac8a8220e5fbe83d4cc72ad6212 | |
parent | 59e602447b951cfdfabd8f0a067dfb8c804ee506 (diff) | |
download | subsurface-59f1191d0cbbb9bf7d049bfd8bd0fe544ecb40f0.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | desktop-widgets/locationinformation.h | 2 | ||||
-rw-r--r-- | 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 <QSortFilterProxyModel> 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: |