aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakeeditor.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-01-07 15:03:55 +0100
committerEike Ziller <eike.ziller@digia.com>2014-01-08 11:47:12 +0100
commit5640635dd17b518caf2878845398ff26d72b0b95 (patch)
tree32738be076ae3988d29a88213bd8cd89d352da5c /src/plugins/cmakeprojectmanager/cmakeeditor.h
parent07b8b7dec8f21b7ec3feefe8b71d1f71e31d3cab (diff)
Editors: Remove some unused factory variables
Change-Id: I6df843561c4d502b3d7c1844d65a59ad2855f0c0 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditor.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.h b/src/plugins/cmakeprojectmanager/cmakeeditor.h
index a416e5577c..2dfe50b9d0 100644
--- a/src/plugins/cmakeprojectmanager/cmakeeditor.h
+++ b/src/plugins/cmakeprojectmanager/cmakeeditor.h
@@ -30,8 +30,6 @@
#ifndef CMAKEEDITOR_H
#define CMAKEEDITOR_H
-#include "cmakeeditorfactory.h"
-
#include <texteditor/basetextdocument.h>
#include <texteditor/basetexteditor.h>
#include <texteditor/codeassist/completionassistprovider.h>
@@ -71,12 +69,10 @@ class CMakeEditorWidget : public TextEditor::BaseTextEditorWidget
Q_OBJECT
public:
- CMakeEditorWidget(CMakeEditorFactory *factory, QWidget *parent = 0);
+ CMakeEditorWidget(QWidget *parent = 0);
bool save(const QString &fileName = QString());
- CMakeEditorFactory *factory() { return m_factory; }
-
Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true, bool inNextSplit = false);
protected:
@@ -87,7 +83,6 @@ public slots:
void unCommentSelection();
private:
- CMakeEditorFactory *m_factory;
Utils::CommentDefinition m_commentDefinition;
};