summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Client/Code/Core/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Client/Code/Core/Commands')
-rw-r--r--src/Authoring/Client/Code/Core/Commands/CmdDataModel.cpp2
-rw-r--r--src/Authoring/Client/Code/Core/Commands/CmdStack.cpp4
-rw-r--r--src/Authoring/Client/Code/Core/Commands/CmdStackModifier.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Authoring/Client/Code/Core/Commands/CmdDataModel.cpp b/src/Authoring/Client/Code/Core/Commands/CmdDataModel.cpp
index 47a44b51..104225f0 100644
--- a/src/Authoring/Client/Code/Core/Commands/CmdDataModel.cpp
+++ b/src/Authoring/Client/Code/Core/Commands/CmdDataModel.cpp
@@ -38,7 +38,7 @@
namespace qt3dsdm {
void SApplicationState::Store(CDoc &inDoc)
{
- m_Dirty = inDoc.IsModified();
+ m_Dirty = inDoc.isModified();
m_SelectedInstance = inDoc.GetSelectedInstance();
m_ActiveSlide = inDoc.GetActiveSlide();
m_ActiveLayer = inDoc.GetActiveLayer();
diff --git a/src/Authoring/Client/Code/Core/Commands/CmdStack.cpp b/src/Authoring/Client/Code/Core/Commands/CmdStack.cpp
index 76f51126..a1c6e943 100644
--- a/src/Authoring/Client/Code/Core/Commands/CmdStack.cpp
+++ b/src/Authoring/Client/Code/Core/Commands/CmdStack.cpp
@@ -132,7 +132,7 @@ bool CCmdStack::ExecuteCommand(CCmd *inCommand)
void CCmdStack::Undo()
{
if (m_CommandStackModifier) {
- if (m_CommandStackModifier->PreUndo() == false)
+ if (m_CommandStackModifier->preUndo() == false)
return;
}
@@ -198,7 +198,7 @@ void CCmdStack::Redo()
//=============================================================================
bool CCmdStack::CanUndo()
{
- if (m_CommandStackModifier && m_CommandStackModifier->CanUndo())
+ if (m_CommandStackModifier && m_CommandStackModifier->canUndo())
return true;
return m_UndoList.size() > 0;
}
diff --git a/src/Authoring/Client/Code/Core/Commands/CmdStackModifier.h b/src/Authoring/Client/Code/Core/Commands/CmdStackModifier.h
index 13f47bf9..c0829242 100644
--- a/src/Authoring/Client/Code/Core/Commands/CmdStackModifier.h
+++ b/src/Authoring/Client/Code/Core/Commands/CmdStackModifier.h
@@ -35,8 +35,8 @@ class ICmdStackModifier
protected:
virtual ~ICmdStackModifier() {}
public:
- virtual bool CanUndo() = 0;
+ virtual bool canUndo() = 0;
// false means kill the undo without actually undoing anything
- virtual bool PreUndo() = 0;
+ virtual bool preUndo() = 0;
};
#endif \ No newline at end of file