forked from qt-creator/qt-creator
Utils: Move SearchResultItem/Color into Utils
It's going to be reused inside FileSearch. Change-Id: I8993d7158ff31c311c2283d32bc43465a8946a52 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/futuresynchronizer.h>
|
||||
#include <utils/searchresultitem.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QFutureWatcher>
|
||||
@@ -14,10 +15,7 @@
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QTimer)
|
||||
|
||||
namespace Core {
|
||||
class SearchResultItem;
|
||||
class SearchResult;
|
||||
} // namespace Core
|
||||
namespace Core { class SearchResult; }
|
||||
|
||||
namespace QmlJSEditor {
|
||||
|
||||
@@ -64,7 +62,8 @@ private:
|
||||
void searchFinished();
|
||||
void cancel();
|
||||
void setPaused(bool paused);
|
||||
void onReplaceButtonClicked(const QString &text, const QList<Core::SearchResultItem> &items, bool preserveCase);
|
||||
void onReplaceButtonClicked(const QString &text, const QList<Utils::SearchResultItem> &items,
|
||||
bool preserveCase);
|
||||
|
||||
QPointer<Core::SearchResult> m_currentSearch;
|
||||
QFutureWatcher<Usage> m_watcher;
|
||||
|
||||
Reference in New Issue
Block a user