Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
d0b27c75
Commit
d0b27c75
authored
15 years ago
by
Erik Verbruggen
Browse files
Options
Downloads
Patches
Plain Diff
Removed unneeded QML scope classes.
parent
ed368e09
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/qmleditor/qmleditor.pro
+2
-4
2 additions, 4 deletions
src/plugins/qmleditor/qmleditor.pro
src/plugins/qmleditor/qmlscope.cpp
+0
-35
0 additions, 35 deletions
src/plugins/qmleditor/qmlscope.cpp
src/plugins/qmleditor/qmlscope.h
+0
-40
0 additions, 40 deletions
src/plugins/qmleditor/qmlscope.h
with
2 additions
and
79 deletions
src/plugins/qmleditor/qmleditor.pro
+
2
−
4
View file @
d0b27c75
...
...
@@ -26,8 +26,7 @@ HEADERS += qmleditor.h \
qmllookupcontext
.
h
\
qmlresolveexpression
.
h
\
qmlsymbol
.
h
\
qmlfilewizard
.
h
\
qmlscope
.
h
qmlfilewizard
.
h
SOURCES
+=
qmleditor
.
cpp
\
qmleditorfactory
.
cpp
\
qmleditorplugin
.
cpp
\
...
...
@@ -44,6 +43,5 @@ SOURCES += qmleditor.cpp \
qmllookupcontext
.
cpp
\
qmlresolveexpression
.
cpp
\
qmlsymbol
.
cpp
\
qmlfilewizard
.
cpp
\
qmlscope
.
cpp
qmlfilewizard
.
cpp
RESOURCES
+=
qmleditor
.
qrc
This diff is collapsed.
Click to expand it.
src/plugins/qmleditor/qmlscope.cpp
deleted
100644 → 0
+
0
−
35
View file @
ed368e09
#include
"qmlscope.h"
using
namespace
QmlEditor
;
using
namespace
QmlEditor
::
Internal
;
Scope
::
Scope
(
Scope
*
parentScope
)
:
_parentScope
(
parentScope
)
{
}
Scope
::~
Scope
()
{
}
bool
Scope
::
isJSScope
()
{
return
asJSScope
()
!=
0
;
}
bool
Scope
::
isQmlScope
()
{
return
asQmlScope
()
!=
0
;
}
JSScope
*
Scope
::
asJSScope
()
{
return
0
;
}
QmlScope
*
Scope
::
asQmlScope
()
{
return
0
;
}
QmlScope
::
QmlScope
(
QmlScope
*
parentScope
)
:
Scope
(
parentScope
)
{
}
JSScope
::
JSScope
(
Scope
*
parentScope
)
:
Scope
(
parentScope
)
{
}
This diff is collapsed.
Click to expand it.
src/plugins/qmleditor/qmlscope.h
deleted
100644 → 0
+
0
−
40
View file @
ed368e09
#ifndef QMLSCOPE_H
#define QMLSCOPE_H
namespace
QmlEditor
{
namespace
Internal
{
class
QmlScope
;
class
JSScope
;
class
Scope
{
public:
Scope
(
Scope
*
parentScope
);
virtual
~
Scope
();
bool
isQmlScope
();
bool
isJSScope
();
virtual
QmlScope
*
asQmlScope
();
virtual
JSScope
*
asJSScope
();
private:
Scope
*
_parentScope
;
};
class
QmlScope
:
public
Scope
{
public:
QmlScope
(
QmlScope
*
parentScope
);
};
class
JSScope
:
public
Scope
{
JSScope
(
Scope
*
parentScope
);
};
}
// namespace Internal
}
// namespace QmlEditor
#endif // QMLSCOPE_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment