Commit 9167d4a1 authored by Eike Ziller's avatar Eike Ziller

QmlJSEditor: Make struct internal

Isn't used anywhere outside.

Change-Id: I4094d9334b81fd9e0309b574d0725cdd9cb87bd5
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 07e807ee
......@@ -73,22 +73,6 @@ class QmlJSEditorDocument;
class QmlOutlineModel;
} // namespace Internal
struct QMLJSEDITOR_EXPORT Declaration
{
QString text;
int startLine;
int startColumn;
int endLine;
int endColumn;
Declaration()
: startLine(0),
startColumn(0),
endLine(0),
endColumn(0)
{ }
};
class QMLJSEDITOR_EXPORT QmlJSTextEditorWidget : public TextEditor::BaseTextEditorWidget
{
Q_OBJECT
......
......@@ -51,6 +51,22 @@ enum {
UPDATE_OUTLINE_INTERVAL = 500
};
struct Declaration
{
QString text;
int startLine;
int startColumn;
int endLine;
int endColumn;
Declaration()
: startLine(0),
startColumn(0),
endLine(0),
endColumn(0)
{ }
};
class FindIdDeclarations: protected Visitor
{
public:
......
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