Fix Qt include headers in source files: code cleanup pass 1

This commit is contained in:
Siddharth Sharma 2017-05-14 21:51:54 +05:30 committed by C. Balles
parent 7beab5057e
commit 43cd49bc5d
4 changed files with 31 additions and 37 deletions

View File

@ -6,38 +6,34 @@
#include "dialogs/renamedialog.h" #include "dialogs/renamedialog.h"
#include "helpers.h" #include "helpers.h"
#include <qfont.h> #include <QComboBox>
#include <qsettings.h> #include <QCompleter>
#include <qlabel.h>
#include <qfile.h>
#include <qmessagebox.h>
#include <qfontdialog.h>
#include <qcompleter.h>
#include <qstringlistmodel.h>
#include <QScrollBar>
#include <QDir>
#include <QDebug> #include <QDebug>
#include <QDesktopServices> #include <QDesktopServices>
#include <QFileDialog> #include <QDir>
#include <QPropertyAnimation>
#include <QStyledItemDelegate>
#include <QProcess>
#include <QtGlobal>
#include <QToolTip>
#include <QShortcut>
#include <QTextCursor>
#include <QMessageBox>
#include <QStyleFactory>
#include <QLabel>
#include <QComboBox>
#include <QTreeWidgetItem>
#include <QDockWidget> #include <QDockWidget>
#include <QFile>
#include <QFileDialog>
#include <QFont>
#include <QFontDialog>
#include <QLabel>
#include <QLineEdit> #include <QLineEdit>
#include <QSettings>
#include <QList> #include <QList>
#include <QMessageBox>
#include <QProcess>
#include <QPropertyAnimation>
#include <QScrollBar>
#include <QSettings>
#include <QShortcut>
#include <QStringListModel>
#include <QStyledItemDelegate>
#include <QStyleFactory>
#include <QTextCursor>
#include <QtGlobal>
#include <QToolButton> #include <QToolButton>
#include <QToolTip>
#include <QTreeWidgetItem>
#include "highlighter.h" #include "highlighter.h"
#include "hexascii_highlighter.h" #include "hexascii_highlighter.h"

View File

@ -2,7 +2,7 @@
#ifndef SETTINGS_H #ifndef SETTINGS_H
#define SETTINGS_H #define SETTINGS_H
#include <QtCore/QSettings> #include <QSettings>
class Settings class Settings
{ {

View File

@ -1,18 +1,16 @@
#ifndef FLAGSWIDGET_H #ifndef FLAGSWIDGET_H
#define FLAGSWIDGET_H #define FLAGSWIDGET_H
#include <QtCore/QAbstractItemModel> #include "qrcore.h"
#include <qrcore.h>
#include <QtCore/QSortFilterProxyModel>
#include "dockwidget.h" #include "dockwidget.h"
#include <QAbstractItemModel>
#include <QSortFilterProxyModel>
class MainWindow; class MainWindow;
class QTreeWidgetItem; class QTreeWidgetItem;
class FlagsModel: public QAbstractListModel class FlagsModel: public QAbstractListModel
{ {
Q_OBJECT Q_OBJECT

View File

@ -1,11 +1,11 @@
#ifndef FUNCTIONSWIDGET_H #ifndef FUNCTIONSWIDGET_H
#define FUNCTIONSWIDGET_H #define FUNCTIONSWIDGET_H
#include <QDockWidget> #include "dockwidget.h"
#include <QTreeWidget>
#include <QSortFilterProxyModel>
#include "qrcore.h" #include "qrcore.h"
#include "dashboard.h"
#include <QSortFilterProxyModel>
#include <QTreeView>
class MainWindow; class MainWindow;
class QTreeWidgetItem; class QTreeWidgetItem;