From 4586ee8edf93c161fbcef498217a9f09b7ddaf14 Mon Sep 17 00:00:00 2001 From: Ladislav Foldyna Date: Fri, 20 Sep 2024 20:15:11 +0200 Subject: [PATCH] Fixed Header Include Guards --- core/MultiselectCompleter.h | 6 +++--- core/UpdatableSQLRecord.h | 4 ++-- models/SearchFilterProxyModel.h | 6 +++--- models/ShortcutEditorModel.h | 6 +++--- rotator/RotCaps.h | 6 +++--- rotator/drivers/HamlibRotDrv.h | 6 +++--- rotator/drivers/PSTRotDrv.h | 6 +++--- ui/FreqQSpinBox.h | 6 +++--- ui/ProfileImageWidget.h | 6 +++--- ui/QSODetailDialog.h | 4 ++-- 10 files changed, 28 insertions(+), 28 deletions(-) diff --git a/core/MultiselectCompleter.h b/core/MultiselectCompleter.h index 15319639..8bb0c9fe 100644 --- a/core/MultiselectCompleter.h +++ b/core/MultiselectCompleter.h @@ -1,5 +1,5 @@ -#ifndef MULTISELECTCOMPLETER_H -#define MULTISELECTCOMPLETER_H +#ifndef QLOG_CORE_MULTISELECTCOMPLETER_H +#define QLOG_CORE_MULTISELECTCOMPLETER_H #include @@ -17,4 +17,4 @@ class MultiselectCompleter : public QCompleter QStringList splitPath( const QString& path ) const; }; -#endif // MULTISELECTCOMPLETER_H +#endif // QLOG_CORE_MULTISELECTCOMPLETER_H diff --git a/core/UpdatableSQLRecord.h b/core/UpdatableSQLRecord.h index 6cb9edaa..51586218 100644 --- a/core/UpdatableSQLRecord.h +++ b/core/UpdatableSQLRecord.h @@ -1,5 +1,5 @@ -#ifndef UPDATABLESQLRECORD_H -#define UPDATABLESQLRECORD_H +#ifndef QLOG_CORE_UPDATABLESQLRECORD_H +#define QLOG_CORE_UPDATABLESQLRECORD_H #include #include diff --git a/models/SearchFilterProxyModel.h b/models/SearchFilterProxyModel.h index 4047afe0..a211c2f4 100644 --- a/models/SearchFilterProxyModel.h +++ b/models/SearchFilterProxyModel.h @@ -1,5 +1,5 @@ -#ifndef SEARCHFILTERPROXYMODEL_H -#define SEARCHFILTERPROXYMODEL_H +#ifndef QLOG_MODELS_SEARCHFILTERPROXYMODEL_H +#define QLOG_MODELS_SEARCHFILTERPROXYMODEL_H #include @@ -18,4 +18,4 @@ class SearchFilterProxyModel : public QSortFilterProxyModel QString searchString; }; -#endif // SEARCHFILTERPROXYMODEL_H +#endif // QLOG_MODELS_SEARCHFILTERPROXYMODEL_H diff --git a/models/ShortcutEditorModel.h b/models/ShortcutEditorModel.h index ed1d67c5..36457ac4 100644 --- a/models/ShortcutEditorModel.h +++ b/models/ShortcutEditorModel.h @@ -1,5 +1,5 @@ -#ifndef SHORTCUTEDITORMODEL_H -#define SHORTCUTEDITORMODEL_H +#ifndef QLOG_MODELS_SHORTCUTEDITORMODEL_H +#define QLOG_MODELS_SHORTCUTEDITORMODEL_H #include #include @@ -36,4 +36,4 @@ class ShortcutEditorModel : public QAbstractTableModel const QString&) const; }; -#endif // SHORTCUTEDITORMODEL_H +#endif // QLOG_MODELS_SHORTCUTEDITORMODEL_H diff --git a/rotator/RotCaps.h b/rotator/RotCaps.h index 27fc8753..b6a4ca20 100644 --- a/rotator/RotCaps.h +++ b/rotator/RotCaps.h @@ -1,5 +1,5 @@ -#ifndef ROTATOR_ROTCAPS_H -#define ROTATOR_ROTCAPS_H +#ifndef QLOG_ROTATOR_ROTCAPS_H +#define QLOG_ROTATOR_ROTCAPS_H class RotCaps @@ -14,4 +14,4 @@ class RotCaps int serialStopBits; }; -#endif // ROTATOR_ROTCAPS_H +#endif // QLOG_ROTATOR_ROTCAPS_H diff --git a/rotator/drivers/HamlibRotDrv.h b/rotator/drivers/HamlibRotDrv.h index 0eb4e6c3..bf702ea0 100644 --- a/rotator/drivers/HamlibRotDrv.h +++ b/rotator/drivers/HamlibRotDrv.h @@ -1,5 +1,5 @@ -#ifndef ROTATOR_DRIVERS_HAMLIBROTDRV_H -#define ROTATOR_DRIVERS_HAMLIBROTDRV_H +#ifndef QLOG_ROTATOR_DRIVERS_HAMLIBROTDRV_H +#define QLOG_ROTATOR_DRIVERS_HAMLIBROTDRV_H #include #include @@ -43,4 +43,4 @@ private slots: bool forceSendState; }; -#endif // ROTATOR_DRIVERS_HAMLIBROTDRV_H +#endif // QLOG_ROTATOR_DRIVERS_HAMLIBROTDRV_H diff --git a/rotator/drivers/PSTRotDrv.h b/rotator/drivers/PSTRotDrv.h index 1ed83533..55f43fea 100644 --- a/rotator/drivers/PSTRotDrv.h +++ b/rotator/drivers/PSTRotDrv.h @@ -1,5 +1,5 @@ -#ifndef ROTATOR_DRIVERS_PSTROTDRV_H -#define ROTATOR_DRIVERS_PSTROTDRV_H +#ifndef QLOG_ROTATOR_DRIVERS_PSTROTDRV_H +#define QLOG_ROTATOR_DRIVERS_PSTROTDRV_H #include #include @@ -41,4 +41,4 @@ private slots: QHostAddress rotatorAddress; }; -#endif // ROTATOR_DRIVERS_PSTROTDRV_H +#endif // QLOG_ROTATOR_DRIVERS_PSTROTDRV_H diff --git a/ui/FreqQSpinBox.h b/ui/FreqQSpinBox.h index 220bcdd0..53828ef7 100644 --- a/ui/FreqQSpinBox.h +++ b/ui/FreqQSpinBox.h @@ -1,5 +1,5 @@ -#ifndef FREQQSPINBOX_H -#define FREQQSPINBOX_H +#ifndef QLOG_UI_FREQQSPINBOX_H +#define QLOG_UI_FREQQSPINBOX_H #include #include @@ -23,4 +23,4 @@ public slots: QList enabledBands; }; -#endif // FREQQSPINBOX_H +#endif // QLOG_UI_FREQQSPINBOX_H diff --git a/ui/ProfileImageWidget.h b/ui/ProfileImageWidget.h index b750dfdb..2fe458d9 100644 --- a/ui/ProfileImageWidget.h +++ b/ui/ProfileImageWidget.h @@ -1,5 +1,5 @@ -#ifndef PROFILEIMAGEWIDGET_H -#define PROFILEIMAGEWIDGET_H +#ifndef QLOG_UI_PROFILEIMAGEWIDGET_H +#define QLOG_UI_PROFILEIMAGEWIDGET_H #include #include @@ -56,4 +56,4 @@ private slots: QMimeType mimeType; }; -#endif // PROFILEIMAGEWIDGET_H +#endif // QLOG_UI_PROFILEIMAGEWIDGET_H diff --git a/ui/QSODetailDialog.h b/ui/QSODetailDialog.h index 2b63ae7a..216e6003 100644 --- a/ui/QSODetailDialog.h +++ b/ui/QSODetailDialog.h @@ -1,5 +1,5 @@ -#ifndef QSODETAILDIALOG_H -#define QSODETAILDIALOG_H +#ifndef QLOG_UI_QSODETAILDIALOG_H +#define QLOG_UI_QSODETAILDIALOG_H #include #include