From 6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 27 Jan 2022 22:43:28 -0500 Subject: Format All Files --- ui/reportwidget.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'ui/reportwidget.h') diff --git a/ui/reportwidget.h b/ui/reportwidget.h index 51dd2d59..414fb412 100644 --- a/ui/reportwidget.h +++ b/ui/reportwidget.h @@ -4,13 +4,13 @@ #include #include #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) -#include -#include -#include -#include -#include + #include + #include + #include + #include + #include #else -#include + #include #endif #include "binaryninjaapi.h" #include "action.h" @@ -21,18 +21,18 @@ class WebPage2 : public QWebEnginePage { Q_OBJECT -public: - WebPage2(QObject *parent = nullptr) : QWebEnginePage(parent) {} + public: + WebPage2(QObject* parent = nullptr) : QWebEnginePage(parent) {} -protected: - virtual bool acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame); + protected: + virtual bool acceptNavigationRequest(const QUrl& url, QWebEnginePage::NavigationType type, bool isMainFrame); -Q_SIGNALS: + Q_SIGNALS: void linkClicked(const QUrl&); }; #endif -class BINARYNINJAUIAPI ReportWidget: public QScrollArea, public UIActionHandler +class BINARYNINJAUIAPI ReportWidget : public QScrollArea, public UIActionHandler { Q_OBJECT @@ -47,12 +47,12 @@ class BINARYNINJAUIAPI ReportWidget: public QScrollArea, public UIActionHandler BNReportType m_type; std::string m_plaintext; -private Q_SLOTS: + private Q_SLOTS: void onLinkClicked(QUrl url); -public: - ReportWidget(QWidget* parent, BinaryViewRef view, const std::string& contents, - BNReportType type, const std::string& title, const std::string& plaintext = ""); + public: + ReportWidget(QWidget* parent, BinaryViewRef view, const std::string& contents, BNReportType type, + const std::string& title, const std::string& plaintext = ""); std::string getContents() const { return m_original; } std::string getTitle() const { return m_title; } BNReportType getType() const { return m_type; } -- cgit v1.3.1