#ifndef SCRIPTING_INTERNAL_CPPEDITOR_H #define SCRIPTING_INTERNAL_CPPEDITOR_H #include "basetexteditor.h" #include //namespace CppEditor { // namespace Internal { // class CppEditorWidget; // } //}; namespace Scripting { namespace Internal { class CppFunction; class CppEditor : public BaseTextEditor { Q_OBJECT Q_PROPERTY( CppFunction* currentFunction READ currentFunction ) public: explicit CppEditor(QObject *parent = 0); public slots: void switchDeclarationDefinition(); CppFunction* functionAt(int line, int column) const; CppFunction* currentFunction() const; protected: void waitForInitialized(); }; } // namespace Internal } // namespace Scripting #endif // SCRIPTING_INTERNAL_CPPEDITOR_H