20 #ifndef INTERACTORCOMPOSITE_H 
   21 #define INTERACTORCOMPOSITE_H 
   23 #include <tulip/Interactor.h> 
   37 class TLP_QT_SCOPE InteractorComponent: 
public QObject {
 
   53   virtual bool eventFilter(QObject*, QEvent*);
 
   58   virtual void clear() {}
 
   64   void setView(View* view);
 
   74   virtual void viewChanged(View *) {}
 
   94   QList<tlp::InteractorComponent*> _components;
 
   99   void setLastTarget(QObject*);
 
  105   QObject* lastTarget() 
const;
 
  108   void lastTargetDestroyed();
 
  111   typedef QList<InteractorComponent*>::iterator iterator;
 
  112   typedef QList<InteractorComponent*>::const_iterator const_iterator;
 
  123   virtual QAction* action() 
const;
 
  124   virtual QCursor cursor() 
const;
 
  137   const_iterator begin() 
const;
 
  141   const_iterator end() 
const;
 
  146   void push_back(InteractorComponent* component);
 
  151   void push_front(InteractorComponent* component);
 
  154   virtual void undoIsDone();
 
  156   virtual void install(QObject* target);
 
  157   virtual void uninstall();
 
  161 #endif // INTERACTORCOMPOSITE_H