forked from qt-creator/qt-creator
Remove probably outdated QShortcut include
Also take care about sibling include statements Change-Id: I513893ef710107310b63187cd5fa82c5e52fae0a Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
#include <QLabel>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
#include <QShortcut>
|
||||
#include <QMenuBar>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
class QSettings;
|
||||
class QShortcut;
|
||||
class QString;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <utils/hostosinfo.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QShortcut>
|
||||
#include <QToolButton>
|
||||
#include <QTextStream>
|
||||
|
||||
@@ -153,12 +152,6 @@
|
||||
no active action for the current context.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn QShortcut *Command::shortcut() const
|
||||
Returns the shortcut for this Command.
|
||||
If the Command represents an action, it returns null.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn void Command::setAttribute(CommandAttribute attribute)
|
||||
Adds \a attribute to the attributes of this Command.
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
class QKeySequence;
|
||||
class QShortcut;
|
||||
class QToolButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
||||
@@ -87,19 +87,13 @@
|
||||
#include <QAbstractTableModel>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QFileDialog>
|
||||
#include <QtPlugin>
|
||||
#include <QObject>
|
||||
#include <QPainter>
|
||||
#include <QPointer>
|
||||
#include <QSettings>
|
||||
#include <QScrollBar>
|
||||
#include <QStackedWidget>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <QItemDelegate>
|
||||
#include <QPainter>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QShortcut>
|
||||
#include <QPointer>
|
||||
#include <QScrollBar>
|
||||
#include <QSettings>
|
||||
#include <QStackedWidget>
|
||||
#include <QStandardPaths>
|
||||
#include <QTextBlock>
|
||||
#include <QTextCursor>
|
||||
|
||||
@@ -43,10 +43,7 @@
|
||||
|
||||
#include <QAction>
|
||||
#include <QEvent>
|
||||
#include <QObject>
|
||||
#include <QShortcut>
|
||||
#include <QSignalMapper>
|
||||
#include <QStringList>
|
||||
|
||||
using namespace Core;
|
||||
|
||||
|
||||
@@ -42,16 +42,8 @@
|
||||
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <QShortcut>
|
||||
#include <QButtonGroup>
|
||||
#include <QTreeWidget>
|
||||
#include <QTreeWidgetItem>
|
||||
#include <QCheckBox>
|
||||
#include <QGroupBox>
|
||||
#include <QHeaderView>
|
||||
#include <QRegExpValidator>
|
||||
#include <QLineEdit>
|
||||
|
||||
namespace {
|
||||
int NAME_ROLE = Qt::UserRole;
|
||||
|
||||
@@ -42,10 +42,8 @@
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <QWidget>
|
||||
#include <QKeyEvent>
|
||||
#include <QApplication>
|
||||
#include <QShortcut>
|
||||
|
||||
using namespace Macros;
|
||||
using namespace Macros::Internal;
|
||||
|
||||
Reference in New Issue
Block a user