Commit bf880ee8 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Remove unused member variables



Change-Id: I60b95723813cc660d7907fa6f06c6452dc959fe4
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 52e4f9dd
...@@ -137,7 +137,6 @@ private: ...@@ -137,7 +137,6 @@ private:
QScopedPointer<const CppCompletionAssistInterface> m_interface; QScopedPointer<const CppCompletionAssistInterface> m_interface;
QList<TextEditor::BasicProposalItem *> m_completions; QList<TextEditor::BasicProposalItem *> m_completions;
TextEditor::SnippetAssistCollector m_snippetCollector; TextEditor::SnippetAssistCollector m_snippetCollector;
const InternalCompletionAssistProvider *m_provider;
CPlusPlus::Icons m_icons; CPlusPlus::Icons m_icons;
QStringList preprocessorCompletions; QStringList preprocessorCompletions;
QScopedPointer<CppAssistProposalModel> m_model; QScopedPointer<CppAssistProposalModel> m_model;
......
...@@ -126,7 +126,7 @@ class Qt4ProjectFile : public Core::IDocument ...@@ -126,7 +126,7 @@ class Qt4ProjectFile : public Core::IDocument
Q_OBJECT Q_OBJECT
public: public:
Qt4ProjectFile(Qt4Project *project, const QString &filePath, QObject *parent = 0); Qt4ProjectFile(const QString &filePath, QObject *parent = 0);
bool save(QString *errorString, const QString &fileName, bool autoSave); bool save(QString *errorString, const QString &fileName, bool autoSave);
QString fileName() const; QString fileName() const;
...@@ -144,7 +144,6 @@ public: ...@@ -144,7 +144,6 @@ public:
private: private:
const QString m_mimeType; const QString m_mimeType;
Qt4Project *m_project;
QString m_filePath; QString m_filePath;
}; };
...@@ -277,10 +276,9 @@ void ProjectFilesVisitor::visitFolderNode(FolderNode *folderNode) ...@@ -277,10 +276,9 @@ void ProjectFilesVisitor::visitFolderNode(FolderNode *folderNode)
// ----------- Qt4ProjectFile // ----------- Qt4ProjectFile
namespace Internal { namespace Internal {
Qt4ProjectFile::Qt4ProjectFile(Qt4Project *project, const QString &filePath, QObject *parent) Qt4ProjectFile::Qt4ProjectFile(const QString &filePath, QObject *parent)
: Core::IDocument(parent), : Core::IDocument(parent),
m_mimeType(QLatin1String(Qt4ProjectManager::Constants::PROFILE_MIMETYPE)), m_mimeType(QLatin1String(Qt4ProjectManager::Constants::PROFILE_MIMETYPE)),
m_project(project),
m_filePath(filePath) m_filePath(filePath)
{ {
} }
...@@ -354,7 +352,7 @@ Qt4Project::Qt4Project(Qt4Manager *manager, const QString& fileName) : ...@@ -354,7 +352,7 @@ Qt4Project::Qt4Project(Qt4Manager *manager, const QString& fileName) :
m_manager(manager), m_manager(manager),
m_rootProjectNode(0), m_rootProjectNode(0),
m_nodesWatcher(new Internal::Qt4NodesWatcher(this)), m_nodesWatcher(new Internal::Qt4NodesWatcher(this)),
m_fileInfo(new Qt4ProjectFile(this, fileName, this)), m_fileInfo(new Qt4ProjectFile(fileName, this)),
m_projectFiles(new Qt4ProjectFiles), m_projectFiles(new Qt4ProjectFiles),
m_proFileOption(0), m_proFileOption(0),
m_asyncUpdateFutureInterface(0), m_asyncUpdateFutureInterface(0),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment