Skip to content

Commit

Permalink
kconfig: qconf: cleanup includes
Browse files Browse the repository at this point in the history
The usage of c-like include is deprecated on modern Qt
versions. Use the c++ style includes.

While here, remove uneeded and redundant ones, sorting
them on alphabetic order.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
mchehab authored and masahir0y committed Jul 1, 2020
1 parent 758abb5 commit cf81dfa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 25 deletions.
27 changes: 9 additions & 18 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,18 @@
* Copyright (C) 2015 Boris Barbulovski <[email protected]>
*/

#include <qglobal.h>

#include <QMainWindow>
#include <QList>
#include <qtextbrowser.h>
#include <QAction>
#include <QApplication>
#include <QCloseEvent>
#include <QDesktopWidget>
#include <QFileDialog>
#include <QLabel>
#include <QLayout>
#include <QList>
#include <QMenu>

#include <qapplication.h>
#include <qdesktopwidget.h>
#include <qtoolbar.h>
#include <qlayout.h>
#include <qsplitter.h>
#include <qlineedit.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qmenubar.h>
#include <qmessagebox.h>
#include <qregexp.h>
#include <qevent.h>
#include <QMenuBar>
#include <QMessageBox>
#include <QToolBar>

#include <stdlib.h>

Expand Down
14 changes: 7 additions & 7 deletions scripts/kconfig/qconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
* Copyright (C) 2002 Roman Zippel <[email protected]>
*/

#include <QTextBrowser>
#include <QTreeWidget>
#include <QMainWindow>
#include <QCheckBox>
#include <QDialog>
#include <QHeaderView>
#include <qsettings.h>
#include <QLineEdit>
#include <QMainWindow>
#include <QPushButton>
#include <QSettings>
#include <QLineEdit>
#include <QSplitter>
#include <QCheckBox>
#include <QDialog>
#include <QTextBrowser>
#include <QTreeWidget>

#include "expr.h"

class ConfigView;
Expand Down

0 comments on commit cf81dfa

Please sign in to comment.