Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QList< QTreeWidgetItem * > QTreeWidget::items ( const QMimeData data  )  const [protected]

Returns a list of pointers to the items contained in the data object. If the object was not created by a QTreeWidget in the same process, the list is empty.

Definition at line 2446 of file qtreewidget.cpp.

References QObject::qobject_cast().

    const QTreeWidgetMimeData *twd = qobject_cast<const QTreeWidgetMimeData*>(data);
    if (twd)
        return twd->items;
    return QList<QTreeWidgetItem*>();

Generated by  Doxygen 1.6.0   Back to index