Commit 54da18ea authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Clean exported headers of the Core plugin.



Change-Id: I26472d568844d5fee62323e01f5c5c12082d5450
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 93f57a99
......@@ -44,6 +44,7 @@
#include <coreplugin/rightpane.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/editormanager/editormanager.h>
#include <projectexplorer/projectexplorer.h>
......@@ -65,6 +66,7 @@
#include <QVBoxLayout>
#include <QDockWidget>
#include <QAction>
#include <QMenu>
#include <QToolButton>
#include <QComboBox>
#include <QStackedWidget>
......
......@@ -35,10 +35,12 @@
#include <utils/qtcassert.h>
#include <QAction>
#include <QApplication>
#include <QClipboard>
#include <QContextMenuEvent>
#include <QFontMetrics>
#include <QMenu>
#include <QPainter>
#include <QScrollBar>
......
......@@ -33,6 +33,9 @@
#include "androidconstants.h"
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/idocument.h>
#include <utils/fileutils.h>
#include <QFileInfo>
......
......@@ -37,6 +37,8 @@
#include <coreplugin/editormanager/ieditor.h>
#include <texteditor/texteditor.h>
#include <QActionGroup>
QT_BEGIN_NAMESPACE
class QToolBar;
class QActionGroup;
......
......@@ -34,15 +34,16 @@
#include "androidconstants.h"
#include "javacompletionassistprovider.h"
#include <texteditor/textdocument.h>
#include <texteditor/texteditor.h>
#include <utils/uncommentselection.h>
#include <coreplugin/editormanager/ieditorfactory.h>
#include <texteditor/normalindenter.h>
#include <texteditor/textdocument.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/texteditorconstants.h>
#include <texteditor/normalindenter.h>
#include <texteditor/texteditor.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/fileutils.h>
#include <utils/uncommentselection.h>
#include <QFileInfo>
......
......@@ -48,6 +48,7 @@
#include <coreplugin/id.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/locator/commandlocator.h>
......
......@@ -57,6 +57,7 @@
#include <QDir>
#include <QFileInfo>
#include <QFutureWatcher>
#include <QMenu>
#include <QPlainTextEdit>
#include <QProcess>
#include <QScrollBar>
......
......@@ -36,6 +36,7 @@
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <projectexplorer/projectexplorer.h>
......
......@@ -42,6 +42,7 @@
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/idocument.h>
#include <texteditor/texteditor.h>
#include <QThread>
......
......@@ -34,15 +34,17 @@
#include "cmakeproject.h"
#include "cmakesettingspage.h"
#include <utils/synchronousprocess.h>
#include <coreplugin/icore.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/actionmanager/actioncontainer.h>
#include <projectexplorer/projecttree.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projecttree.h>
#include <utils/synchronousprocess.h>
#include <QAction>
#include <QDateTime>
using namespace CMakeProjectManager::Internal;
......
......@@ -32,6 +32,7 @@
#include "actionmanager.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/icontext.h>
#include <coreplugin/id.h>
#include <utils/hostosinfo.h>
......
......@@ -48,6 +48,8 @@ QT_END_NAMESPACE
namespace Core {
class ActionContainer;
class Command;
class Context;
namespace Internal {
class CorePlugin;
......
......@@ -29,8 +29,10 @@
****************************************************************************/
#include "commandbutton.h"
#include "actionmanager.h"
#include "command.h"
#include "../id.h"
#include <coreplugin/actionmanager/actionmanager.h>
#include <utils/proxyaction.h>
using namespace Core;
......
......@@ -33,8 +33,6 @@
#include <coreplugin/dialogs/ioptionspage.h>
#include <QObject>
QT_BEGIN_NAMESPACE
class QLineEdit;
class QTreeWidget;
......
......@@ -33,14 +33,11 @@
#include "core_global.h"
#include "generatedfile.h"
#include "featureprovider.h"
#include <coreplugin/iwizardfactory.h>
#include <extensionsystem/iplugin.h>
#include <QSharedDataPointer>
#include <QList>
#include <QVariantMap>
QT_BEGIN_NAMESPACE
class QIcon;
......
......@@ -31,6 +31,7 @@
#include "coreplugin.h"
#include "designmode.h"
#include "editmode.h"
#include "idocument.h"
#include "helpmanager.h"
#include "mainwindow.h"
#include "modemanager.h"
......
......@@ -31,6 +31,7 @@
#include "designmode.h"
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/coreconstants.h>
......
......@@ -35,6 +35,7 @@
#include <QCheckBox>
#include <QGroupBox>
#include <QIcon>
#include <QLabel>
#include <QPushButton>
......@@ -80,6 +81,11 @@
side of the \gui Options dialog.
*/
QIcon Core::IOptionsPage::categoryIcon() const
{
return QIcon(m_categoryIcon);
}
/*!
\fn QWidget *IOptionsPage::widget()
......@@ -183,3 +189,8 @@ bool Core::IOptionsPage::matches(const QString &searchKeyWord) const
return true;
return false;
}
QIcon Core::IOptionsPageProvider::categoryIcon() const
{
return QIcon(m_categoryIcon);
}
......@@ -33,10 +33,14 @@
#include <coreplugin/id.h>
#include <QIcon>
#include <QObject>
#include <QStringList>
QT_BEGIN_NAMESPACE
class QIcon;
class QWidget;
QT_END_NAMESPACE
namespace Core {
class CORE_EXPORT IOptionsPage : public QObject
......@@ -51,7 +55,7 @@ public:
QString displayName() const { return m_displayName; }
Id category() const { return m_category; }
QString displayCategory() const { return m_displayCategory; }
QIcon categoryIcon() const { return QIcon(m_categoryIcon); }
QIcon categoryIcon() const;
virtual bool matches(const QString &searchKeyWord) const;
virtual QWidget *widget() = 0;
......@@ -92,7 +96,7 @@ public:
Id category() const { return m_category; }
QString displayCategory() const { return m_displayCategory; }
QIcon categoryIcon() const { return QIcon(m_categoryIcon); }
QIcon categoryIcon() const;
virtual QList<IOptionsPage *> pages() const = 0;
virtual bool matches(const QString & /* searchKeyWord*/) const = 0;
......
......@@ -36,6 +36,7 @@
#include <QDialog>
#include <QIcon>
#include <QList>
#include <QVariantMap>
QT_BEGIN_NAMESPACE
class QAbstractProxyModel;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment