Logo Search packages:      
Sourcecode: unity-2d version File versions  Download package

Signals | Public Member Functions | Protected Member Functions | Properties | Static Private Member Functions | Private Attributes

DeclarativeDragItemWithUrl Class Reference

Inheritance diagram for DeclarativeDragItemWithUrl:
Inheritance graph
Collaboration diagram for DeclarativeDragItemWithUrl:
Collaboration graph

List of all members.


void defaultActionChanged ()
void delegateChanged ()
void drop (int action)
void pressed ()
void released ()
void supportedActionsChanged ()
void urlChanged (const QString &)

Public Member Functions

 DeclarativeDragItemWithUrl (QDeclarativeItem *parent=0)
Qt::DropAction defaultAction () const
QDeclarativeComponent * delegate () const
void resetDelegate ()
void setDefaultAction (Qt::DropAction action)
void setDelegate (QDeclarativeComponent *delegate)
void setSupportedActions (Qt::DropActions actions)
void setUrl (const QString &url)
Qt::DropActions supportedActions () const
const QString & url () const

Protected Member Functions

QMimeData * mimeData () const
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
void mousePressEvent (QGraphicsSceneMouseEvent *event)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)


Qt::DropAction defaultAction
QDeclarativeComponent delegate
Qt::DropActions supportedActions
QString url

Static Private Member Functions

static QUrl decodeUri (const QString &uri)

Private Attributes

QString m_url

Detailed Description

Definition at line 31 of file dragitemwithurl.h.

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

Generated by  Doxygen 1.6.0   Back to index