Mercurial > hg > svapp
changeset 159:06fc6fc21739
* more activity updates
| author | Chris Cannam | 
|---|---|
| date | Tue, 24 Feb 2009 16:44:43 +0000 | 
| parents | 72495c4cd315 | 
| children | 64b09e5bda21 | 
| files | framework/Document.cpp framework/Document.h | 
| diffstat | 2 files changed, 18 insertions(+), 2 deletions(-) [+] | 
line wrap: on
 line diff
--- a/framework/Document.cpp Tue Feb 24 14:01:42 2009 +0000 +++ b/framework/Document.cpp Tue Feb 24 16:44:43 2009 +0000 @@ -958,6 +958,14 @@ } } +QString +Document::AddLayerCommand::getName() const +{ + std::cerr << "Document::AddLayerCommand::getName(): Name is " + << m_name.toStdString() << std::endl; + return m_name; +} + void Document::AddLayerCommand::execute() { @@ -1008,6 +1016,14 @@ } } +QString +Document::RemoveLayerCommand::getName() const +{ + std::cerr << "Document::RemoveLayerCommand::getName(): Name is " + << m_name.toStdString() << std::endl; + return m_name; +} + void Document::RemoveLayerCommand::execute() {
--- a/framework/Document.h Tue Feb 24 14:01:42 2009 +0000 +++ b/framework/Document.h Tue Feb 24 16:44:43 2009 +0000 @@ -292,7 +292,7 @@ virtual void execute(); virtual void unexecute(); - virtual QString getName() const { return m_name; } + virtual QString getName() const; protected: Document *m_d; @@ -310,7 +310,7 @@ virtual void execute(); virtual void unexecute(); - virtual QString getName() const { return m_name; } + virtual QString getName() const; protected: Document *m_d;
