Commit 7b246155 authored by Friedemann Kleint's avatar Friedemann Kleint

Forward-declare some classes in Find plugin.

Change-Id: I198165cb4c06fe11535d0d794ca1dda17eaec052
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 2a2f3b82
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
****************************************************************************/ ****************************************************************************/
#include "findtoolwindow.h" #include "findtoolwindow.h"
#include "ifindfilter.h"
#include "findplugin.h" #include "findplugin.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#define FINDTOOLWINDOW_H #define FINDTOOLWINDOW_H
#include "ui_finddialog.h" #include "ui_finddialog.h"
#include "ifindfilter.h"
#include <QList> #include <QList>
...@@ -39,6 +38,7 @@ QT_FORWARD_DECLARE_CLASS(QCompleter) ...@@ -39,6 +38,7 @@ QT_FORWARD_DECLARE_CLASS(QCompleter)
namespace Find { namespace Find {
class FindPlugin; class FindPlugin;
class IFindFilter;
namespace Internal { namespace Internal {
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "ifindfilter.h" #include "ifindfilter.h"
#include <QPainter> #include <QPainter>
#include <QPixmap>
/*! /*!
\class Find::IFindFilter \class Find::IFindFilter
......
...@@ -33,12 +33,11 @@ ...@@ -33,12 +33,11 @@
#include "find_global.h" #include "find_global.h"
#include "textfindconstants.h" #include "textfindconstants.h"
#include <QPixmap>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QWidget; class QWidget;
class QSettings; class QSettings;
class QKeySequence; class QKeySequence;
class Pixmap;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace Find { namespace Find {
......
...@@ -34,9 +34,7 @@ ...@@ -34,9 +34,7 @@
#include "searchresultcolor.h" #include "searchresultcolor.h"
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QRegExp>
#include <QFont> #include <QFont>
#include <QTextDocument>
namespace Find { namespace Find {
namespace Internal { namespace Internal {
......
...@@ -43,6 +43,11 @@ ...@@ -43,6 +43,11 @@
#include <QDir> #include <QDir>
#include <QSettings> #include <QSettings>
#include <QFrame>
#include <QLabel>
#include <QLineEdit>
#include <QToolButton>
#include <QCheckBox>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QHBoxLayout> #include <QHBoxLayout>
......
...@@ -34,12 +34,15 @@ ...@@ -34,12 +34,15 @@
#include <coreplugin/infobar.h> #include <coreplugin/infobar.h>
#include <QFrame>
#include <QLabel>
#include <QLineEdit>
#include <QToolButton>
#include <QWidget> #include <QWidget>
#include <QCheckBox>
QT_BEGIN_NAMESPACE
class QFrame;
class QLabel;
class QLineEdit;
class QToolButton;
class QCheckBox;
QT_END_NAMESPACE
namespace Find { namespace Find {
namespace Internal { namespace Internal {
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QFont> #include <QFont>
#include <QAction> #include <QAction>
#include <QToolButton>
#include <QComboBox> #include <QComboBox>
#include <QScrollArea> #include <QScrollArea>
#include <QStackedWidget> #include <QStackedWidget>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <QTreeView> #include <QTreeView>
#include <QTextCursor> #include <QTextCursor>
#include <QModelIndex>
namespace Find { namespace Find {
......
...@@ -32,10 +32,9 @@ ...@@ -32,10 +32,9 @@
#include "ifindsupport.h" #include "ifindsupport.h"
#include <QModelIndex>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QTreeView; class QTreeView;
class QModelIndex;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace Find { namespace Find {
......
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