Reorder members of CppQuickFixOp

This commit is contained in:
Roberto Raggi
2009-11-25 12:25:53 +01:00
parent 3e93c5eff7
commit 83b5f43198

View File

@@ -61,6 +61,9 @@ public:
virtual QString description() const = 0; virtual QString description() const = 0;
virtual int match(const QList<CPlusPlus::AST *> &path) = 0; virtual int match(const QList<CPlusPlus::AST *> &path) = 0;
virtual void createChangeSet() = 0;
void applyChangeSet();
CPlusPlus::Document::Ptr document() const; CPlusPlus::Document::Ptr document() const;
void setDocument(CPlusPlus::Document::Ptr document); void setDocument(CPlusPlus::Document::Ptr document);
@@ -79,13 +82,10 @@ public:
const Utils::ChangeSet &changeSet() const; const Utils::ChangeSet &changeSet() const;
protected:
CPlusPlus::AST *topLevelNode() const; CPlusPlus::AST *topLevelNode() const;
void setTopLevelNode(CPlusPlus::AST *topLevelNode); void setTopLevelNode(CPlusPlus::AST *topLevelNode);
virtual void createChangeSet() = 0;
void applyChangeSet();
protected:
const CPlusPlus::Token &tokenAt(unsigned index) const; const CPlusPlus::Token &tokenAt(unsigned index) const;
int startOf(unsigned index) const; int startOf(unsigned index) const;