DeviceTrashCan Class 

The DeviceTrashCan class is derived from VObject. It overrides the isDataDropable and dropData functions defined in VObject. When visualized DeviceController objects from the DeviceList can be dragged and dropped onto the it and it will handle removing the items from the list and deleting them.

Defined in: trash can.hpp and trash can.cpp

Class Members

Data Members

Member Functions

public

DeviceTrashCan (void)

Constructs a DeviceTrashCan object.

DeviceTrashCan (const DeviceTrashCan & that)

Constructs a DeviceTrashCan object that is a copy of the specified DeviceTrashCan .

virtual ~DeviceTrashCan (void)

Destructor of class DeviceTrashCan

DeviceTrashCan & operator= (const DeviceTrashCan & that)

None Description.

virtual unsigned short isDataDropable (VObject * & drop_target, VObject * & drag_parent, VObject * & drag_object, unsigned short drop_type, unsigned short src_drag_drop_flags)

None Description.

virtual bool dropData (VObject * & drop_target, VObject * drag_parent, VObject * drag_object, unsigned short drop_type, unsigned short src_dragdrop_flags, float x_origin, float y_origin, float object_x, float object_y, unsigned short coord_type)

None Description.

Copyright 2002-2007 Outerface Technologies, Inc.