diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 07:55:01 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-30 15:20:19 +0000 |
commit | 39a38d5679084b515276285c044d8a27e671adb1 (patch) | |
tree | 8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/shared/help | |
parent | 6b805c217273b9d169aa7e8a78949e17179016bf (diff) |
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce
Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/shared/help')
-rw-r--r-- | src/shared/help/bookmarkmanager.h | 5 | ||||
-rw-r--r-- | src/shared/help/contentwindow.h | 5 | ||||
-rw-r--r-- | src/shared/help/filternamedialog.h | 5 | ||||
-rw-r--r-- | src/shared/help/helpicons.h | 5 | ||||
-rw-r--r-- | src/shared/help/indexwindow.h | 5 | ||||
-rw-r--r-- | src/shared/help/topicchooser.h | 5 |
6 files changed, 6 insertions, 24 deletions
diff --git a/src/shared/help/bookmarkmanager.h b/src/shared/help/bookmarkmanager.h index 7bb4c71e7f..2526d8bc43 100644 --- a/src/shared/help/bookmarkmanager.h +++ b/src/shared/help/bookmarkmanager.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef BOOKMARKMANAGER_H -#define BOOKMARKMANAGER_H +#pragma once #include "ui_bookmarkdialog.h" @@ -188,5 +187,3 @@ private: BookmarkModel *listModel; QStandardItem *renameItem; }; - -#endif diff --git a/src/shared/help/contentwindow.h b/src/shared/help/contentwindow.h index 345769b258..99ec3cbca5 100644 --- a/src/shared/help/contentwindow.h +++ b/src/shared/help/contentwindow.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef CONTENTWINDOW_H -#define CONTENTWINDOW_H +#pragma once #include <QUrl> #include <QModelIndex> @@ -66,5 +65,3 @@ private: int m_expandDepth; bool m_isOpenInNewPageActionVisible; }; - -#endif // CONTENTWINDOW_H diff --git a/src/shared/help/filternamedialog.h b/src/shared/help/filternamedialog.h index a32df1c8f7..23f62e9528 100644 --- a/src/shared/help/filternamedialog.h +++ b/src/shared/help/filternamedialog.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef FILTERNAMEDIALOG_H -#define FILTERNAMEDIALOG_H +#pragma once #include <QDialog> #include "ui_filternamedialog.h" @@ -43,5 +42,3 @@ private slots: private: Ui::FilterNameDialogClass m_ui; }; - -#endif // FILTERNAMEDIALOG_H diff --git a/src/shared/help/helpicons.h b/src/shared/help/helpicons.h index af55edb552..cc9ea64df1 100644 --- a/src/shared/help/helpicons.h +++ b/src/shared/help/helpicons.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef HELPICONS_H -#define HELPICONS_H +#pragma once #include <utils/icon.h> @@ -44,5 +43,3 @@ const Utils::Icon MODE_HELP_FLAT_ACTIVE({ } // namespace Icons } // namespace Help - -#endif // HELPICONS_H diff --git a/src/shared/help/indexwindow.h b/src/shared/help/indexwindow.h index 14a0983124..d041ba399f 100644 --- a/src/shared/help/indexwindow.h +++ b/src/shared/help/indexwindow.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef INDEXWINDOW_H -#define INDEXWINDOW_H +#pragma once #include <QAbstractProxyModel> #include <QList> @@ -108,5 +107,3 @@ private: } // Internal } // Help - -#endif // INDEXWINDOW_H diff --git a/src/shared/help/topicchooser.h b/src/shared/help/topicchooser.h index 304551412a..a886b2b929 100644 --- a/src/shared/help/topicchooser.h +++ b/src/shared/help/topicchooser.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef TOPICCHOOSER_H -#define TOPICCHOOSER_H +#pragma once #include "ui_topicchooser.h" @@ -62,5 +61,3 @@ private: QModelIndex m_activedIndex; QSortFilterProxyModel *m_filterModel; }; - -#endif // TOPICCHOOSER_H |