26 #ifndef ACTION_EXTENSION_H
27 #define ACTION_EXTENSION_H
33 #include <QTranslator>
40 #define registerNewAction(X) registerAction(new X(this))
80 void setLocation(
const QString loc);
83 QString getLocation()
const;
90 void registerAction(
Action*);
#define CAMITK_API
Definition: CamiTKAPI.h:49
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
QTranslator * translator
Provide internationalization support for text output.
Definition: ActionExtension.h:100
virtual QString getName()=0
returns the action extension name (to be overriden in your ActionExtension)
ActionList actions
the list of actions
Definition: ActionExtension.h:93
virtual void init()=0
this method should just call registerNewAction(MyAction) for any MyAction class you need to register ...
virtual QString getDescription()=0
returns the action extension small description (to be overriden in your ActionExtension)
QString dynamicLibraryFileName
the shared lib (.so, .dll or .dylib) used to instantiate the ComponentExtension subclass instance
Definition: ActionExtension.h:97
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:208
Definition: Action.cpp:35
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:136