QmlJSEditor: Make struct internal

Isn't used anywhere outside.

Change-Id: I4094d9334b81fd9e0309b574d0725cdd9cb87bd5
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Eike Ziller
2014-02-07 12:15:02 +01:00
parent 07e807ee5f
commit 9167d4a16c
2 changed files with 16 additions and 16 deletions

View File

@@ -73,22 +73,6 @@ class QmlJSEditorDocument;
class QmlOutlineModel; class QmlOutlineModel;
} // namespace Internal } // 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 class QMLJSEDITOR_EXPORT QmlJSTextEditorWidget : public TextEditor::BaseTextEditorWidget
{ {
Q_OBJECT Q_OBJECT

View File

@@ -51,6 +51,22 @@ enum {
UPDATE_OUTLINE_INTERVAL = 500 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 class FindIdDeclarations: protected Visitor
{ {
public: public: