Commit f5a7a741 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Find: Turn SearchResultItem struct into class



Change-Id: I0ef59e409310c893b790d3182fcc2a91664e83c9
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 36b0125d
......@@ -42,8 +42,8 @@
QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Find {
struct SearchResultItem;
class SearchResult;
class SearchResultItem;
class SearchResult;
} // namespace Find
namespace CppTools {
......
......@@ -50,8 +50,9 @@ namespace Internal {
}
class SearchResultWindow;
struct FIND_EXPORT SearchResultItem
class FIND_EXPORT SearchResultItem
{
public:
SearchResultItem()
: textMarkPos(-1),
textMarkLength(0),
......
......@@ -41,8 +41,8 @@
QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Find {
struct SearchResultItem;
class SearchResult;
class SearchResultItem;
class SearchResult;
} // namespace Find
namespace QmlJSEditor {
......
......@@ -40,14 +40,12 @@ class QLabel;
class QComboBox;
QT_END_NAMESPACE
namespace Utils {
class FileIterator;
}
namespace Utils { class FileIterator; }
namespace Find {
class SearchResult;
struct SearchResultItem;
class SearchResultItem;
class IFindSupport;
}
} // namespace Find
namespace TextEditor {
namespace Internal {
......
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