summaryrefslogtreecommitdiff
path: root/examples/triage/entropy.h
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-01-27 22:43:28 -0500
committerKyleMiles <krm504@nyu.edu>2022-01-28 00:24:06 -0500
commit6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch)
treedace4156d03148bcaf02df138ab4e0d93e61bc6f /examples/triage/entropy.h
parent519c9db22367f2659d1a54599fab47e6313be06e (diff)
Format All Files
Diffstat (limited to 'examples/triage/entropy.h')
-rw-r--r--examples/triage/entropy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/triage/entropy.h b/examples/triage/entropy.h
index eb75cfee..a48097c4 100644
--- a/examples/triage/entropy.h
+++ b/examples/triage/entropy.h
@@ -14,7 +14,7 @@ class EntropyThread
bool m_updated, m_running;
std::thread m_thread;
-public:
+ public:
EntropyThread(BinaryViewRef data, size_t blockSize, QImage* image);
~EntropyThread();
@@ -26,7 +26,7 @@ public:
class TriageView;
-class EntropyWidget: public QWidget
+class EntropyWidget : public QWidget
{
TriageView* m_view;
BinaryViewRef m_data, m_rawData;
@@ -35,16 +35,16 @@ class EntropyWidget: public QWidget
QImage m_image;
EntropyThread* m_thread;
-public:
+ public:
EntropyWidget(QWidget* parent, TriageView* view, BinaryViewRef data);
virtual ~EntropyWidget();
virtual QSize sizeHint() const override;
-protected:
+ protected:
virtual void paintEvent(QPaintEvent* event) override;
virtual void mousePressEvent(QMouseEvent* event) override;
-private Q_SLOTS:
+ private Q_SLOTS:
void timerExpired();
};