mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
59e602447b
commit
59f1191d0c
2 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
class LocationInformationWidget : public QGroupBox {
|
class LocationInformationWidget : public QGroupBox {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
LocationInformationWidget(QWidget *parent = 0);
|
LocationInformationWidget(QWidget *parent = 0);
|
||||||
bool eventFilter(QObject*, QEvent*) override;
|
bool eventFilter(QObject*, QEvent*) override;
|
||||||
|
|
|
@ -13,7 +13,7 @@ struct dive;
|
||||||
struct dive_trip;
|
struct dive_trip;
|
||||||
|
|
||||||
class LocationInformationModel : public QAbstractTableModel {
|
class LocationInformationModel : public QAbstractTableModel {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
// Common columns, roles and accessor function for all dive-site models.
|
// Common columns, roles and accessor function for all dive-site models.
|
||||||
// Thus, different views can connect to different 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
|
// To access only divesites at the given GPS coordinates with the exception of a given dive site
|
||||||
class GPSLocationInformationModel : public QSortFilterProxyModel {
|
class GPSLocationInformationModel : public QSortFilterProxyModel {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
private:
|
private:
|
||||||
const struct dive_site *ignoreDs;
|
const struct dive_site *ignoreDs;
|
||||||
location_t location;
|
location_t location;
|
||||||
|
@ -54,7 +54,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class GeoReferencingOptionsModel : public QStringListModel {
|
class GeoReferencingOptionsModel : public QStringListModel {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
static GeoReferencingOptionsModel *instance();
|
static GeoReferencingOptionsModel *instance();
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Reference in a new issue