From fdf619a7623bfa0b82be02ed5c0569a9e43aa3af Mon Sep 17 00:00:00 2001 From: xarkes Date: Mon, 14 Jan 2019 19:43:44 +0100 Subject: [PATCH] Moved CutterSeekable to common directory It used to be in widgets for no reason, it is just a regular class that is commonly used by some widgets. --- src/Cutter.pro | 4 ++-- src/{widgets => common}/CutterSeekable.cpp | 0 src/{widgets => common}/CutterSeekable.h | 0 src/widgets/DisassemblerGraphView.cpp | 2 +- src/widgets/DisassemblerGraphView.h | 2 +- src/widgets/DisassemblyWidget.h | 2 +- src/widgets/HexdumpWidget.h | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename src/{widgets => common}/CutterSeekable.cpp (100%) rename src/{widgets => common}/CutterSeekable.h (100%) diff --git a/src/Cutter.pro b/src/Cutter.pro index 25fbc01c..8099632b 100644 --- a/src/Cutter.pro +++ b/src/Cutter.pro @@ -219,7 +219,7 @@ SOURCES += \ widgets/ComboQuickFilterView.cpp \ dialogs/HexdumpRangeDialog.cpp \ common/QtResImporter.cpp \ - widgets/CutterSeekable.cpp \ + common/CutterSeekable.cpp \ common/RefreshDeferrer.cpp HEADERS += \ @@ -323,7 +323,7 @@ HEADERS += \ widgets/ComboQuickFilterView.h \ dialogs/HexdumpRangeDialog.h \ common/QtResImporter.h \ - widgets/CutterSeekable.h \ + common/CutterSeekable.h \ common/RefreshDeferrer.h FORMS += \ diff --git a/src/widgets/CutterSeekable.cpp b/src/common/CutterSeekable.cpp similarity index 100% rename from src/widgets/CutterSeekable.cpp rename to src/common/CutterSeekable.cpp diff --git a/src/widgets/CutterSeekable.h b/src/common/CutterSeekable.h similarity index 100% rename from src/widgets/CutterSeekable.h rename to src/common/CutterSeekable.h diff --git a/src/widgets/DisassemblerGraphView.cpp b/src/widgets/DisassemblerGraphView.cpp index f7d162c1..5c0d6dcd 100644 --- a/src/widgets/DisassemblerGraphView.cpp +++ b/src/widgets/DisassemblerGraphView.cpp @@ -1,5 +1,5 @@ #include "DisassemblerGraphView.h" -#include "CutterSeekable.h" +#include "common/CutterSeekable.h" #include #include #include diff --git a/src/widgets/DisassemblerGraphView.h b/src/widgets/DisassemblerGraphView.h index f784c02e..91438ce2 100644 --- a/src/widgets/DisassemblerGraphView.h +++ b/src/widgets/DisassemblerGraphView.h @@ -11,7 +11,7 @@ #include "widgets/GraphView.h" #include "menus/DisassemblyContextMenu.h" #include "common/RichTextPainter.h" -#include "CutterSeekable.h" +#include "common/CutterSeekable.h" class QTextEdit; class SyntaxHighlighter; diff --git a/src/widgets/DisassemblyWidget.h b/src/widgets/DisassemblyWidget.h index 4912eb8a..189d91d7 100644 --- a/src/widgets/DisassemblyWidget.h +++ b/src/widgets/DisassemblyWidget.h @@ -3,7 +3,7 @@ #include "Cutter.h" #include "CutterDockWidget.h" -#include "CutterSeekable.h" +#include "common/CutterSeekable.h" #include "common/RefreshDeferrer.h" #include diff --git a/src/widgets/HexdumpWidget.h b/src/widgets/HexdumpWidget.h index 48a2dc62..7febbfd3 100644 --- a/src/widgets/HexdumpWidget.h +++ b/src/widgets/HexdumpWidget.h @@ -10,7 +10,7 @@ #include "Cutter.h" #include "CutterDockWidget.h" -#include "CutterSeekable.h" +#include "common/CutterSeekable.h" #include "dialogs/HexdumpRangeDialog.h" #include "common/Highlighter.h" #include "common/HexAsciiHighlighter.h"