Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TreeObserver Class Reference

#include <TreeObserver.hxx>

Inheritance diagram for TreeObserver:
Inheritance graph

Public Slots

virtual void processItemList (QStringList itemNameIdList, int actionId)
 

Public Member Functions

 TreeObserver ()
 
void observe (TreeView *treeView)
 

Constructor & Destructor Documentation

TreeObserver::TreeObserver ( )

Member Function Documentation

void TreeObserver::observe ( TreeView treeView)

This declares the TreeView to be observed by this tree events listener.

References TreeView::itemListToProcess(), and processItemList().

void TreeObserver::processItemList ( QStringList  itemNameIdList,
int  actionId 
)
virtualslot

This slot should be implemented in a specialized version of TreeObserver to process the signal emitted from the TreeView. The parameters are:

  • itemNameIdList: the list of name identifiers of model objects associated to the selected qt items in the TreeView (ids for requesting directly the data model).
  • actionId: the identifier of the action selected in the popup menu that triggered this signal.

References LOG.


The documentation for this class was generated from the following files: