From 0df1ee1abd30703722c83a5c43c4fff4a14ab779 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 10 Oct 2012 21:00:48 +0200 Subject: CppTools: make correspondingHeaderOrSource freely accessible Change-Id: Ic8aba607157381359984ef1c99b2f32161daaecd Reviewed-by: hjk --- src/plugins/cpptools/cpptoolsplugin.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/plugins/cpptools/cpptoolsplugin.h') diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index 6bc1ddef44..38d51bccf3 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -30,6 +30,8 @@ #ifndef CPPTOOLS_H #define CPPTOOLS_H +#include "cpptools_global.h" + #include #include #include @@ -70,7 +72,6 @@ public: void extensionsInitialized(); ShutdownFlag aboutToShutdown(); CppModelManager *cppModelManager() { return m_modelManager; } - static QString correspondingHeaderOrSource(const QString &fileName); private slots: void switchHeaderSource(); @@ -109,12 +110,9 @@ private: #endif private: - QString correspondingHeaderOrSourceI(const QString &fileName) const; - CppModelManager *m_modelManager; QSharedPointer m_fileSettings; CppToolsSettings *m_settings; - mutable QHash m_headerSourceMapping; }; } // namespace Internal -- cgit v1.2.1