TQIconDragItem(3qt)

NAME
TQIconDragItem - Encapsulates a drag item

SYNOPSIS
#include <tqiconview.h>

  Public Members
TQIconDragItem ()
virtual ~TQIconDragItem ()
virtual TQByteArray data () const
virtual void setData ( const TQByteArray & d )

DESCRIPTION
The TQIconDragItem class encapsulates a drag item.

The TQIconDrag class uses a list of TQIconDragItems to support drag and drop operations.

In practice a TQIconDragItem object (or an object of a class derived from TQIconDragItem) is created for each icon view item which is dragged. Each of these TQIconDragItems is stored in a TQIconDrag object.

See TQIconView::dragObject() for more information.

See the fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp examples.

See also Drag And Drop Classes.

MEMBER FUNCTION DOCUMENTATION

TQIconDragItem::TQIconDragItem ()
Constructs a TQIconDragItem with no data.

TQIconDragItem::~TQIconDragItem () [virtual]
Destructor.

TQByteArray TQIconDragItem::data () const [virtual]
Returns the data contained in the TQIconDragItem.

void TQIconDragItem::setData ( const TQByteArray & d ) [virtual]
Sets the data for the TQIconDragItem to the data stored in the TQByteArray d.

Example: fileiconview/tqfileiconview.cpp.

SEE ALSO
http://doc.trolltech.com/tqicondragitem.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive TQt documentation is provided in HTML format; it is located at $TQTDIR/doc/html and can be read using TQt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (tqicondragitem.3qt) and the Qt version (3.3.8).