Commit 1e865551 authored by dt's avatar dt
Browse files

Fixes spelling of temporaryEditor

parent 41b3b3e3
......@@ -278,7 +278,7 @@ public:
QToolBar *toolBar() { return m_toolBar; }
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
signals:
void changed();
......
......@@ -1010,7 +1010,7 @@ void EditorManager::addEditor(IEditor *editor, bool isDuplicate)
m_d->m_editorModel->addEditor(editor, isDuplicate);
if (!isDuplicate) {
m_d->m_core->fileManager()->addFile(editor->file());
if (!editor->temporayEditor()) {
if (!editor->temporaryEditor()) {
m_d->m_core->fileManager()->addToRecentFiles(editor->file()->fileName());
}
}
......@@ -1277,7 +1277,7 @@ bool EditorManager::saveFile(IEditor *editor)
m_d->m_core->fileManager()->unblockFileChange(file);
}
if (success && !editor->temporayEditor())
if (success && !editor->temporaryEditor())
m_d->m_core->fileManager()->addToRecentFiles(editor->file()->fileName());
return success;
......@@ -1372,7 +1372,7 @@ bool EditorManager::saveFileAs(IEditor *editor)
m_d->m_core->fileManager()->unblockFileChange(editor->file());
editor->file()->checkPermissions();
if (success && !editor->temporayEditor())
if (success && !editor->temporaryEditor())
m_d->m_core->fileManager()->addToRecentFiles(editor->file()->fileName());
updateActions();
......
......@@ -63,7 +63,7 @@ public:
virtual int currentLine() const { return 0; }
virtual int currentColumn() const { return 0; }
virtual bool temporayEditor() const = 0;
virtual bool temporaryEditor() const = 0;
virtual QToolBar *toolBar() = 0;
......
......@@ -69,7 +69,7 @@ public:
Core::IEditor *duplicate(QWidget *parent);
const char *kind() const;
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
private:
QList<int> m_context;
......
......@@ -79,7 +79,7 @@ public:
QToolBar *toolBar();
QByteArray saveState() const;
bool restoreState(const QByteArray &state);
virtual bool temporayEditor() const { return false; }
virtual bool temporaryEditor() const { return false; }
// ContextInterface
virtual QList<int> context() const;
......
......@@ -80,7 +80,7 @@ public:
virtual bool duplicateSupported() const;
virtual Core::IEditor *duplicate(QWidget *parent);
virtual bool temporayEditor() const { return false; }
virtual bool temporaryEditor() const { return false; }
private:
QList<int> m_context;
......
......@@ -62,7 +62,7 @@ public:
bool duplicateSupported() const { return true; }
Core::IEditor *duplicate(QWidget *parent);
const char *kind() const;
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
private:
QList<int> m_context;
};
......
......@@ -58,7 +58,7 @@ public:
Core::IEditor *duplicate(QWidget *parent);
const char *kind() const;
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
private:
QList<int> m_context;
......
......@@ -105,7 +105,7 @@ public:
QWidget *widget();
void setSuggestedFileName(const QString &fileName);
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
private slots:
void dirtyChanged(bool);
......
......@@ -47,7 +47,7 @@ public:
bool duplicateSupported() const { return true; }
Core::IEditor *duplicate(QWidget *parent);
const char *kind() const;
bool temporayEditor() const { return false; }
bool temporaryEditor() const { return false; }
private:
QList<int> m_context;
};
......
......@@ -75,7 +75,7 @@ public:
Core::IEditor *duplicate(QWidget * /*parent*/) { return 0; }
const char *kind() const { return m_kind; }
bool temporayEditor() const { return true; }
bool temporaryEditor() const { return true; }
private:
const char *m_kind;
......@@ -106,7 +106,7 @@ public:
virtual QToolBar *toolBar() { return m_toolBar; }
QComboBox *diffFileBrowseComboBox() const { return m_diffFileBrowseComboBox; }
bool temporayEditor() const { return true; }
bool temporaryEditor() const { return true; }
private:
QComboBox *m_diffFileBrowseComboBox;
......
......@@ -159,7 +159,7 @@ public:
// be restricted to them
static QStringList currentProjectFiles(bool nativeSeparators, QString *name = 0);
bool temporayEditor() const { return true; }
bool temporaryEditor() const { return true; }
signals:
void diffSelectedFiles(const QStringList &files);
......
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