+ QString myParentEntry;
+ QPixmap myIcon;
+ bool myIsInOperation; ///< indicates if the object is used within an active operation
+};
+
+/**
+ * \brief Module data object, used for dropping items in the object browser.
+ *
+ * It inherits NamedObject with only difference - it accepts dropping.
+ */
+class HYDROGUI_DropTargetObject : public HYDROGUI_NamedObject
+{
+public:
+ /**
+ * Constructor.
+ * \param theParent parent data object
+ * \param theName displayed name
+ * \param theIsInOperation if true then the tree is used for a browser within an operation, it is false by default
+ */
+ HYDROGUI_DropTargetObject( SUIT_DataObject* theParent,
+ const QString& theName,
+ const QString& theParentEntry,
+ const bool theIsInOperation = false );
+
+ bool isDropAccepted() const { return true; }