summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.h
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-10-10 21:00:48 +0200
committerhjk <qthjk@ovi.com>2012-10-12 14:48:42 +0200
commit0df1ee1abd30703722c83a5c43c4fff4a14ab779 (patch)
treebf3c2faf8203d11d661e330373eb712775f49f20 /src/plugins/cpptools/cpptoolsplugin.h
parent315a3ebdebc20b91fd509be4f3eca600f716c601 (diff)
downloadqt-creator-0df1ee1abd30703722c83a5c43c4fff4a14ab779.tar.gz
CppTools: make correspondingHeaderOrSource freely accessible
Change-Id: Ic8aba607157381359984ef1c99b2f32161daaecd Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r--src/plugins/cpptools/cpptoolsplugin.h6
1 files changed, 2 insertions, 4 deletions
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 <extensionsystem/iplugin.h>
#include <projectexplorer/projectexplorer.h>
#include <find/ifindfilter.h>
@@ -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<CppFileSettings> m_fileSettings;
CppToolsSettings *m_settings;
- mutable QHash<QString, QString> m_headerSourceMapping;
};
} // namespace Internal