Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1e865551
Commit
1e865551
authored
May 25, 2009
by
dt
Browse files
Fixes spelling of temporaryEditor
parent
41b3b3e3
Changes
12
Hide whitespace changes
Inline
Side-by-side
src/plugins/bineditor/bineditorplugin.cpp
View file @
1e865551
...
...
@@ -278,7 +278,7 @@ public:
QToolBar
*
toolBar
()
{
return
m_toolBar
;
}
bool
temporayEditor
()
const
{
return
false
;
}
bool
tempora
r
yEditor
()
const
{
return
false
;
}
signals:
void
changed
();
...
...
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
1e865551
...
...
@@ -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
->
tempora
r
yEditor
())
{
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
->
tempora
r
yEditor
())
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
->
tempora
r
yEditor
())
m_d
->
m_core
->
fileManager
()
->
addToRecentFiles
(
editor
->
file
()
->
fileName
());
updateActions
();
...
...
src/plugins/coreplugin/editormanager/ieditor.h
View file @
1e865551
...
...
@@ -63,7 +63,7 @@ public:
virtual
int
currentLine
()
const
{
return
0
;
}
virtual
int
currentColumn
()
const
{
return
0
;
}
virtual
bool
temporayEditor
()
const
=
0
;
virtual
bool
tempora
r
yEditor
()
const
=
0
;
virtual
QToolBar
*
toolBar
()
=
0
;
...
...
src/plugins/cppeditor/cppeditor.h
View file @
1e865551
...
...
@@ -69,7 +69,7 @@ public:
Core
::
IEditor
*
duplicate
(
QWidget
*
parent
);
const
char
*
kind
()
const
;
bool
temporayEditor
()
const
{
return
false
;
}
bool
tempora
r
yEditor
()
const
{
return
false
;
}
private:
QList
<
int
>
m_context
;
...
...
src/plugins/designer/formwindoweditor.h
View file @
1e865551
...
...
@@ -79,7 +79,7 @@ public:
QToolBar
*
toolBar
();
QByteArray
saveState
()
const
;
bool
restoreState
(
const
QByteArray
&
state
);
virtual
bool
temporayEditor
()
const
{
return
false
;
}
virtual
bool
tempora
r
yEditor
()
const
{
return
false
;
}
// ContextInterface
virtual
QList
<
int
>
context
()
const
;
...
...
src/plugins/genericprojectmanager/genericprojectfileseditor.h
View file @
1e865551
...
...
@@ -80,7 +80,7 @@ public:
virtual
bool
duplicateSupported
()
const
;
virtual
Core
::
IEditor
*
duplicate
(
QWidget
*
parent
);
virtual
bool
temporayEditor
()
const
{
return
false
;
}
virtual
bool
tempora
r
yEditor
()
const
{
return
false
;
}
private:
QList
<
int
>
m_context
;
...
...
src/plugins/qt4projectmanager/profileeditor.h
View file @
1e865551
...
...
@@ -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
tempora
r
yEditor
()
const
{
return
false
;
}
private:
QList
<
int
>
m_context
;
};
...
...
src/plugins/qtscripteditor/qtscripteditor.h
View file @
1e865551
...
...
@@ -58,7 +58,7 @@ public:
Core
::
IEditor
*
duplicate
(
QWidget
*
parent
);
const
char
*
kind
()
const
;
bool
temporayEditor
()
const
{
return
false
;
}
bool
tempora
r
yEditor
()
const
{
return
false
;
}
private:
QList
<
int
>
m_context
;
...
...
src/plugins/resourceeditor/resourceeditorw.h
View file @
1e865551
...
...
@@ -105,7 +105,7 @@ public:
QWidget
*
widget
();
void
setSuggestedFileName
(
const
QString
&
fileName
);
bool
temporayEditor
()
const
{
return
false
;
}
bool
tempora
r
yEditor
()
const
{
return
false
;
}
private
slots
:
void
dirtyChanged
(
bool
);
...
...
src/plugins/texteditor/plaintexteditor.h
View file @
1e865551
...
...
@@ -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
tempora
r
yEditor
()
const
{
return
false
;
}
private:
QList
<
int
>
m_context
;
};
...
...
src/plugins/vcsbase/vcsbaseeditor.cpp
View file @
1e865551
...
...
@@ -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
tempora
r
yEditor
()
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
tempora
r
yEditor
()
const
{
return
true
;
}
private:
QComboBox
*
m_diffFileBrowseComboBox
;
...
...
src/plugins/vcsbase/vcsbasesubmiteditor.h
View file @
1e865551
...
...
@@ -159,7 +159,7 @@ public:
// be restricted to them
static
QStringList
currentProjectFiles
(
bool
nativeSeparators
,
QString
*
name
=
0
);
bool
temporayEditor
()
const
{
return
true
;
}
bool
tempora
r
yEditor
()
const
{
return
true
;
}
signals:
void
diffSelectedFiles
(
const
QStringList
&
files
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment