Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
QT_FORWARD_DECLARE_CLASS(QTimer) QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Find { namespace Find {
struct SearchResultItem; class SearchResultItem;
class SearchResult; class SearchResult;
} // namespace Find } // namespace Find
namespace CppTools { namespace CppTools {
......
...@@ -50,8 +50,9 @@ namespace Internal { ...@@ -50,8 +50,9 @@ namespace Internal {
} }
class SearchResultWindow; class SearchResultWindow;
struct FIND_EXPORT SearchResultItem class FIND_EXPORT SearchResultItem
{ {
public:
SearchResultItem() SearchResultItem()
: textMarkPos(-1), : textMarkPos(-1),
textMarkLength(0), textMarkLength(0),
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
QT_FORWARD_DECLARE_CLASS(QTimer) QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Find { namespace Find {
struct SearchResultItem; class SearchResultItem;
class SearchResult; class SearchResult;
} // namespace Find } // namespace Find
namespace QmlJSEditor { namespace QmlJSEditor {
......
...@@ -40,14 +40,12 @@ class QLabel; ...@@ -40,14 +40,12 @@ class QLabel;
class QComboBox; class QComboBox;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace Utils { namespace Utils { class FileIterator; }
class FileIterator;
}
namespace Find { namespace Find {
class SearchResult; class SearchResult;
struct SearchResultItem; class SearchResultItem;
class IFindSupport; class IFindSupport;
} } // namespace Find
namespace TextEditor { namespace TextEditor {
namespace Internal { namespace Internal {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment