Remove DocumentManager::currentFile, use DocumentManager::currentEditor

Change-Id: Ided1a14481cfbbcc49e901f3837e056582ff60e3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Daniel Teske
2015-01-16 17:45:06 +01:00
parent a6ea380870
commit 1ed12d39f1
7 changed files with 20 additions and 55 deletions

View File

@@ -83,10 +83,6 @@ public:
static void saveSettings();
// current file
static void setCurrentFile(const QString &filePath);
static QString currentFile();
// helper functions
static QString fixFileName(const QString &fileName, FixMode fixmode);
@@ -148,7 +144,6 @@ public slots:
static void executeOpenWithMenuAction(QAction *action);
signals:
void currentFileChanged(const QString &filePath);
/* Used to notify e.g. the code model to update the given files. Does *not*
lead to any editors to reload or any other editor manager actions. */
void filesChangedInternally(const QStringList &files);