forked from qt-creator/qt-creator
Moved the code in the source file.
This commit is contained in:
@@ -129,6 +129,22 @@ void Document::setDocumentRevision(int revision)
|
||||
_documentRevision = revision;
|
||||
}
|
||||
|
||||
QString Document::fileName() const
|
||||
{
|
||||
return _fileName;
|
||||
|
||||
}
|
||||
|
||||
QString Document::path() const
|
||||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
QString Document::componentName() const
|
||||
{
|
||||
return _componentName;
|
||||
}
|
||||
|
||||
bool Document::parse_helper(int startToken)
|
||||
{
|
||||
Q_ASSERT(! _engine);
|
||||
|
||||
@@ -77,9 +77,9 @@ public:
|
||||
int documentRevision() const;
|
||||
void setDocumentRevision(int documentRevision);
|
||||
|
||||
QString fileName() const { return _fileName; }
|
||||
QString path() const { return _path; }
|
||||
QString componentName() const { return _componentName; }
|
||||
QString fileName() const;
|
||||
QString path() const;
|
||||
QString componentName() const;
|
||||
|
||||
private:
|
||||
bool parse_helper(int kind);
|
||||
|
||||
Reference in New Issue
Block a user