mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Use #pragma once instead of include guards
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef ARTICLELISTWIDGET_H
|
||||
#define ARTICLELISTWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <QHash>
|
||||
#include <QListWidget>
|
||||
@@ -63,5 +62,3 @@ private:
|
||||
bool m_unreadOnly = false;
|
||||
QHash<RSS::Article *, QListWidgetItem *> m_rssArticleToListItemMapping;
|
||||
};
|
||||
|
||||
#endif // ARTICLELISTWIDGET_H
|
||||
|
||||
@@ -27,8 +27,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef AUTOMATEDRSSDOWNLOADER_H
|
||||
#define AUTOMATEDRSSDOWNLOADER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QHash>
|
||||
@@ -106,5 +105,3 @@ private:
|
||||
QHash<QString, QListWidgetItem *> m_itemsByRuleName;
|
||||
QRegularExpression *m_episodeRegex;
|
||||
};
|
||||
|
||||
#endif // AUTOMATEDRSSDOWNLOADER_H
|
||||
|
||||
@@ -27,8 +27,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef FEEDLISTWIDGET_H
|
||||
#define FEEDLISTWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <QHash>
|
||||
#include <QTreeWidget>
|
||||
@@ -73,5 +72,3 @@ private:
|
||||
QHash<RSS::Item *, QTreeWidgetItem *> m_rssToTreeItemMapping;
|
||||
QTreeWidgetItem *m_unreadStickyItem;
|
||||
};
|
||||
|
||||
#endif // FEEDLISTWIDGET_H
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef HTMLBROWSER_H
|
||||
#define HTMLBROWSER_H
|
||||
#pragma once
|
||||
|
||||
#include <QHash>
|
||||
#include <QTextBrowser>
|
||||
@@ -54,5 +53,3 @@ protected:
|
||||
protected slots:
|
||||
void resourceLoaded(QNetworkReply *reply);
|
||||
};
|
||||
|
||||
#endif // HTMLBROWSER_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef RSSWIDGET_H
|
||||
#define RSSWIDGET_H
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@@ -86,5 +85,3 @@ private:
|
||||
ArticleListWidget *m_articleListWidget;
|
||||
FeedListWidget *m_feedListWidget;
|
||||
};
|
||||
|
||||
#endif // RSSWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user