Camel Case all the files (#32)

fixes #30
This commit is contained in:
Tim Siebels 2017-10-02 18:18:40 +02:00 committed by xarkes
parent b8bd62efe2
commit bafad96bf3
64 changed files with 134 additions and 134 deletions

View File

@ -1,6 +1,6 @@
#include <QDebug>
#include "cutter.h"
#include "analthread.h"
#include "AnalThread.h"
#include "MainWindow.h"
#include "Settings.h"
#include "dialogs/OptionsDialog.h"

View File

@ -41,26 +41,26 @@
#include "dialogs/NewFileDialog.h"
#include "widgets/MemoryWidget.h"
#include "widgets/functionswidget.h"
#include "widgets/sectionswidget.h"
#include "widgets/commentswidget.h"
#include "widgets/importswidget.h"
#include "widgets/exportswidget.h"
#include "widgets/symbolswidget.h"
#include "widgets/stringswidget.h"
#include "widgets/sectionsdock.h"
#include "widgets/relocswidget.h"
#include "widgets/flagswidget.h"
#include "widgets/codegraphic.h"
#include "widgets/dashboard.h"
#include "widgets/notepad.h"
#include "widgets/sidebar.h"
#include "widgets/sdbdock.h"
#include "widgets/omnibar.h"
#include "widgets/consolewidget.h"
#include "widgets/FunctionsWidget.h"
#include "widgets/SectionsWidget.h"
#include "widgets/CommentsWidget.h"
#include "widgets/ImportsWidget.h"
#include "widgets/ExportsWidget.h"
#include "widgets/SymbolsWidget.h"
#include "widgets/StringsWidget.h"
#include "widgets/SectionsDock.h"
#include "widgets/RelocsWidget.h"
#include "widgets/FlagsWidget.h"
#include "widgets/CodeGraphic.h"
#include "widgets/Dashboard.h"
#include "widgets/Notepad.h"
#include "widgets/Sidebar.h"
#include "widgets/SdbDock.h"
#include "widgets/Omnibar.h"
#include "widgets/ConsoleWidget.h"
#include "Settings.h"
#include "dialogs/OptionsDialog.h"
#include "widgets/entrypointwidget.h"
#include "widgets/EntrypointWidget.h"
#include "widgets/DisassemblerGraphView.h"
// graphics

View File

@ -4,7 +4,7 @@
#include <QMainWindow>
#include <QList>
#include <memory>
#include "radarewebserver.h"
#include "RadareWebServer.h"
#include "cutter.h" // only needed for ut64
class CutterCore;

View File

@ -2,7 +2,7 @@
#include <QProcessEnvironment>
#include <cassert>
#include "cutter.h"
#include "radarewebserver.h"
#include "RadareWebServer.h"
RadareWebServer::RadareWebServer(CutterCore *core) :
core(core),

View File

@ -36,27 +36,6 @@ unix:exists(/usr/local/include/libr) {
SOURCES += \
main.cpp \
cutter.cpp \
widgets/pieview.cpp \
widgets/sectionswidget.cpp \
widgets/codegraphic.cpp \
widgets/notepad.cpp \
widgets/functionswidget.cpp \
widgets/importswidget.cpp \
widgets/symbolswidget.cpp \
widgets/relocswidget.cpp \
widgets/commentswidget.cpp \
widgets/stringswidget.cpp \
widgets/flagswidget.cpp \
widgets/exportswidget.cpp \
widgets/sdbdock.cpp \
analthread.cpp \
widgets/sidebar.cpp \
widgets/omnibar.cpp \
widgets/dashboard.cpp \
widgets/sectionsdock.cpp \
widgets/consolewidget.cpp \
radarewebserver.cpp \
widgets/entrypointwidget.cpp \
widgets/DisassemblerGraphView.cpp \
widgets/MemoryWidget.cpp \
utils/RichTextPainter.cpp \
@ -74,31 +53,30 @@ SOURCES += \
utils/MdHighlighter.cpp \
dialogs/AsmOptionsDialog.cpp \
dialogs/CreateNewDialog.cpp \
dialogs/NewFileDialog.cpp
dialogs/NewFileDialog.cpp \
RadareWebServer.cpp \
AnalThread.cpp \
widgets/CodeGraphic.cpp \
widgets/CommentsWidget.cpp \
widgets/ConsoleWidget.cpp \
widgets/Dashboard.cpp \
widgets/EntrypointWidget.cpp \
widgets/ExportsWidget.cpp \
widgets/FlagsWidget.cpp \
widgets/FunctionsWidget.cpp \
widgets/ImportsWidget.cpp \
widgets/Notepad.cpp \
widgets/Omnibar.cpp \
widgets/PieView.cpp \
widgets/RelocsWidget.cpp \
widgets/SdbDock.cpp \
widgets/SectionsDock.cpp \
widgets/SectionsWidget.cpp \
widgets/Sidebar.cpp \
widgets/StringsWidget.cpp \
widgets/SymbolsWidget.cpp
HEADERS += \
widgets/pieview.h \
widgets/sectionswidget.h \
widgets/codegraphic.h \
widgets/notepad.h \
widgets/functionswidget.h \
widgets/importswidget.h \
widgets/symbolswidget.h \
widgets/relocswidget.h \
widgets/commentswidget.h \
widgets/stringswidget.h \
widgets/flagswidget.h \
widgets/exportswidget.h \
widgets/sdbdock.h \
analthread.h \
widgets/sidebar.h \
widgets/omnibar.h \
widgets/dashboard.h \
widgets/sectionsdock.h \
widgets/dockwidget.h \
widgets/consolewidget.h \
radarewebserver.h \
widgets/entrypointwidget.h \
cutter.h \
widgets/DisassemblerGraphView.h \
widgets/MemoryWidget.h \
@ -119,24 +97,31 @@ HEADERS += \
Settings.h \
dialogs/OptionsDialog.h \
dialogs/CreateNewDialog.h \
dialogs/NewFileDialog.h
dialogs/NewFileDialog.h \
RadareWebServer.h \
AnalThread.h \
widgets/CodeGraphic.h \
widgets/CommentsWidget.h \
widgets/ConsoleWidget.h \
widgets/Dashboard.h \
widgets/DockWidget.h \
widgets/EntrypointWidget.h \
widgets/ExportsWidget.h \
widgets/FlagsWidget.h \
widgets/FunctionsWidget.h \
widgets/ImportsWidget.h \
widgets/Notepad.h \
widgets/Omnibar.h \
widgets/PieView.h \
widgets/RelocsWidget.h \
widgets/SdbDock.h \
widgets/SectionsDock.h \
widgets/SectionsWidget.h \
widgets/Sidebar.h \
widgets/StringsWidget.h \
widgets/SymbolsWidget.h
FORMS += \
widgets/notepad.ui \
widgets/functionswidget.ui \
widgets/importswidget.ui \
widgets/symbolswidget.ui \
widgets/relocswidget.ui \
widgets/commentswidget.ui \
widgets/stringswidget.ui \
widgets/flagswidget.ui \
widgets/exportswidget.ui \
widgets/sdbdock.ui \
widgets/sidebar.ui \
widgets/dashboard.ui \
widgets/sectionsdock.ui \
widgets/consolewidget.ui \
widgets/entrypointwidget.ui \
widgets/MemoryWidget.ui \
dialogs/AboutDialog.ui \
dialogs/AsmOptionsDialog.ui \
@ -147,7 +132,22 @@ FORMS += \
dialogs/NewfileDialog.ui \
dialogs/OptionsDialog.ui \
MainWindow.ui \
dialogs/CreateNewDialog.ui
dialogs/CreateNewDialog.ui \
widgets/CommentsWidget.ui \
widgets/ConsoleWidget.ui \
widgets/Dashboard.ui \
widgets/EntrypointWidget.ui \
widgets/FlagsWidget.ui \
widgets/ExportsWidget.ui \
widgets/FunctionsWidget.ui \
widgets/ImportsWidget.ui \
widgets/Notepad.ui \
widgets/SdbDock.ui \
widgets/RelocsWidget.ui \
widgets/SectionsDock.ui \
widgets/Sidebar.ui \
widgets/StringsWidget.ui \
widgets/SymbolsWidget.ui
RESOURCES += \
resources.qrc

View File

@ -6,7 +6,7 @@
// TODO: remove us
#include "widgets/MemoryWidget.h"
#include "widgets/notepad.h"
#include "widgets/Notepad.h"
#include "Settings.h"
#include <QSettings>

View File

@ -5,7 +5,7 @@
#include <QStringList>
#include <memory>
#include "cutter.h"
#include "analthread.h"
#include "AnalThread.h"
#include "ui_OptionsDialog.h"
class MainWindow;

View File

@ -1,4 +1,4 @@
#include "codegraphic.h"
#include "CodeGraphic.h"
#include "MainWindow.h"

View File

@ -2,8 +2,8 @@
#include <QMenu>
#include <QResizeEvent>
#include "commentswidget.h"
#include "ui_commentswidget.h"
#include "CommentsWidget.h"
#include "ui_CommentsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef COMMENTSWIDGET_H
#define COMMENTSWIDGET_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -5,8 +5,8 @@
#include <QShortcut>
#include <QStringListModel>
#include "cutter.h"
#include "consolewidget.h"
#include "ui_consolewidget.h"
#include "ConsoleWidget.h"
#include "ui_ConsoleWidget.h"
#include "utils/Helpers.h"

View File

@ -1,5 +1,5 @@
#include "dashboard.h"
#include "ui_dashboard.h"
#include "Dashboard.h"
#include "ui_Dashboard.h"
#include "MainWindow.h"

View File

@ -1,7 +1,7 @@
#ifndef DASHBOARD_H
#define DASHBOARD_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -1,5 +1,5 @@
#include "entrypointwidget.h"
#include "ui_entrypointwidget.h"
#include "EntrypointWidget.h"
#include "ui_EntrypointWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef ENTRYPOINTWIDGET_H
#define ENTRYPOINTWIDGET_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <QStyledItemDelegate>
#include <QTreeWidgetItem>
#include <memory>

View File

@ -1,5 +1,5 @@
#include "exportswidget.h"
#include "ui_exportswidget.h"
#include "ExportsWidget.h"
#include "ui_ExportsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -5,7 +5,7 @@
#include <QSortFilterProxyModel>
#include <memory>
#include "cutter.h"
#include "dockwidget.h"
#include "DockWidget.h"
class MainWindow;
class QTreeWidget;

View File

@ -1,8 +1,8 @@
#include <QDockWidget>
#include <QTreeWidget>
#include <QComboBox>
#include "flagswidget.h"
#include "ui_flagswidget.h"
#include "FlagsWidget.h"
#include "ui_FlagsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -5,7 +5,7 @@
#include <QSortFilterProxyModel>
#include <memory>
#include "cutter.h"
#include "dockwidget.h"
#include "DockWidget.h"
class MainWindow;
class QTreeWidgetItem;

View File

@ -1,5 +1,5 @@
#include "functionswidget.h"
#include "ui_functionswidget.h"
#include "FunctionsWidget.h"
#include "ui_FunctionsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -5,7 +5,7 @@
#include <QTreeView>
#include <memory>
#include "cutter.h"
#include "dockwidget.h"
#include "DockWidget.h"
class MainWindow;
class QTreeWidgetItem;

View File

@ -1,5 +1,5 @@
#include "importswidget.h"
#include "ui_importswidget.h"
#include "ImportsWidget.h"
#include "ui_ImportsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef IMPORTSWIDGET_H
#define IMPORTSWIDGET_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <QStyledItemDelegate>
#include <QTreeWidgetItem>
#include <memory>

View File

@ -15,7 +15,7 @@
#include "utils/Highlighter.h"
#include "utils/HexAsciiHighlighter.h"
#include "utils/HexHighlighter.h"
#include "dashboard.h"
#include "Dashboard.h"
#include "widgets/DisassemblerGraphView.h"
class MainWindow;

View File

@ -1,5 +1,5 @@
#include "notepad.h"
#include "ui_notepad.h"
#include "Notepad.h"
#include "ui_Notepad.h"
#include "MainWindow.h"

View File

@ -1,7 +1,7 @@
#ifndef NOTEPAD_H
#define NOTEPAD_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -1,4 +1,4 @@
#include "omnibar.h"
#include "Omnibar.h"
#include "MainWindow.h"
#include <QStringListModel>

View File

@ -47,7 +47,7 @@
#endif
#include "cutter.h"
#include "pieview.h"
#include "PieView.h"
PieView::PieView(QWidget *parent)
: QAbstractItemView(parent)

View File

@ -1,6 +1,6 @@
#include <QTreeWidget>
#include "relocswidget.h"
#include "ui_relocswidget.h"
#include "RelocsWidget.h"
#include "ui_RelocsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef RELOCSWIDGET_H
#define RELOCSWIDGET_H
#include "dashboard.h"
#include "Dashboard.h"
#include <memory>
class MainWindow;

View File

@ -1,5 +1,5 @@
#include "sdbdock.h"
#include "ui_sdbdock.h"
#include "SdbDock.h"
#include "ui_SdbDock.h"
#include "MainWindow.h"

View File

@ -1,7 +1,7 @@
#ifndef SDBDOCK_H
#define SDBDOCK_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -1,8 +1,8 @@
#include "sectionsdock.h"
#include "ui_sectionsdock.h"
#include "SectionsDock.h"
#include "ui_SectionsDock.h"
#include "MainWindow.h"
#include "widgets/sectionswidget.h"
#include "widgets/SectionsWidget.h"
#include <QMenu>
#include <QResizeEvent>

View File

@ -1,7 +1,7 @@
#ifndef SECTIONSDOCK_H
#define SECTIONSDOCK_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -1,5 +1,5 @@
#include "widgets/sectionswidget.h"
#include "widgets/pieview.h"
#include "widgets/SectionsWidget.h"
#include "widgets/PieView.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,5 +1,5 @@
#include "sidebar.h"
#include "ui_sidebar.h"
#include "Sidebar.h"
#include "ui_Sidebar.h"
#include "MainWindow.h"

View File

@ -1,7 +1,7 @@
#include <QTreeWidget>
#include <QAbstractItemView>
#include "stringswidget.h"
#include "ui_stringswidget.h"
#include "StringsWidget.h"
#include "ui_StringsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef STRINGSWIDGET_H
#define STRINGSWIDGET_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;

View File

@ -1,5 +1,5 @@
#include "symbolswidget.h"
#include "ui_symbolswidget.h"
#include "SymbolsWidget.h"
#include "ui_SymbolsWidget.h"
#include "MainWindow.h"
#include "utils/Helpers.h"

View File

@ -1,7 +1,7 @@
#ifndef SYMBOLSWIDGET_H
#define SYMBOLSWIDGET_H
#include "dockwidget.h"
#include "DockWidget.h"
#include <memory>
class MainWindow;