diff base/Command.h @ 47:bac8b14ab355

* Add menu for re-adding existing layers * Fix layer tree window so that it at least approximates correct * Add bundled operations in command history, for use with things like multiple consecutive changes to a parameter value * Disambiguate plugins that happen to have identical descriptions * Add spectral centroid plugin (could use some parameters!) * Some other fixes
author Chris Cannam
date Fri, 17 Mar 2006 17:38:28 +0000
parents 2fb933f88604
children 39ae3dee27b9
line wrap: on
line diff
--- a/base/Command.h	Thu Mar 16 18:46:00 2006 +0000
+++ b/base/Command.h	Fri Mar 17 17:38:28 2006 +0000
@@ -31,13 +31,13 @@
 
     virtual void addCommand(Command *command);
     virtual void deleteCommand(Command *command);
-    virtual bool haveCommands() const { return !m_commands.empty(); }
+    virtual bool haveCommands() const;
 
     virtual void execute();
     virtual void unexecute();
 
-    virtual QString getName() const { return m_name; }
-    virtual void setName(QString name) { m_name = name; }
+    virtual QString getName() const;
+    virtual void setName(QString name);
 
 protected:
     QString m_name;