Editors: Remove some unused factory variables

Change-Id: I6df843561c4d502b3d7c1844d65a59ad2855f0c0
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Eike Ziller
2014-01-07 15:03:55 +01:00
parent 07b8b7dec8
commit 5640635dd1
5 changed files with 10 additions and 27 deletions

View File

@@ -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;
};